1 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
3 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
4 Declare specializations for char, wchar_t.
6 2001-10-19 Andreas Jaeger <aj@suse.de>
8 * config/cpu/x86-64/bits/limits.h: New file.
9 * config/cpu/x86-64/bits/atomicity.h: New file.
10 * configure.target: Add x86-64.
12 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
14 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
15 why). Add link to recent message.
16 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
18 * docs/html/faq/index.txt: Regenerate.
20 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
22 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
23 based on Nathan's review. Use Nathan's words.
25 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
27 * docs/html/configopts.html: Quote StyleSheet attribute values.
28 * docs/html/documentation.html: Likewise.
29 * docs/html/explanations.html: Likewise.
30 * docs/html/install.html: Likewise.
31 * docs/html/17_intro/howto.html: Likewise.
32 * docs/html/17_intro/license.html: Likewise.
33 * docs/html/18_support/howto.html: Likewise.
34 * docs/html/19_diagnostics/howto.html: Likewise.
35 * docs/html/20_util/howto.html: Likewise.
36 * docs/html/21_strings/howto.html: Likewise.
37 * docs/html/22_locale/howto.html: Likewise.
38 * docs/html/23_containers/howto.html: Likewise.
39 * docs/html/24_iterators/howto.html: Likewise.
40 * docs/html/25_algorithms/howto.html: Likewise.
41 * docs/html/26_numerics/howto.html: Likewise.
42 * docs/html/27_io/howto.html: Likewise.
43 * docs/html/ext/howto.html: Likewise.
44 * docs/html/ext/sgiexts.html: Likewise.
45 * docs/html/faq/index.html: Likewise.
47 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
49 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
50 * docs/html/23_containers/howto.html (Containers and multithreading):
53 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
55 * docs/html/17_intro/howto.html: Tweak markup and value type.
56 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
57 nonzero arguments, add new note on threading.
58 * docs/html/faq/index.html: Update.
59 * docs/html/faq/index.txt: Regenerate.
61 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
63 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
64 * docs/html/documentation.html: Likewise.
65 * docs/html/explanations.html: Likewise.
66 * docs/html/install.html: Likewise.
67 * docs/html/17_intro/howto.html: Likewise.
68 * docs/html/17_intro/license.html: Likewise. Tighten up language.
69 * docs/html/18_support/howto.html: Likewise.
70 * docs/html/19_diagnostics/howto.html: Likewise.
71 * docs/html/20_util/howto.html: Likewise.
72 * docs/html/21_strings/howto.html: Likewise.
73 * docs/html/22_locale/howto.html: Likewise.
74 * docs/html/23_containers/howto.html: Likewise.
75 * docs/html/24_iterators/howto.html: Likewise.
76 * docs/html/25_algorithms/howto.html: Likewise.
77 * docs/html/26_numerics/howto.html: Likewise.
78 * docs/html/27_io/howto.html: Likewise.
79 * docs/html/ext/howto.html: Likewise.
80 * docs/html/ext/sgiexts.html: Likewise.
81 * docs/html/faq/index.html: Likewise. Not so many absolute links.
82 * docs/html/faq/index.txt: Regenerate.
84 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
86 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
87 spelling errors of "separate" as "seperate", and corresponding
88 spelling errors of related words.
89 * docs/html/faq/index.txt: Regenerate.
91 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
93 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
95 * config/cpu/arm/bits/atomicity.h: Likewise.
96 * config/cpu/generic/bits/atomicity.h: Likewise.
97 * config/cpu/i486/bits/atomicity.h: Likewise.
98 * config/cpu/ia64/bits/atomicity.h: Likewise.
99 * config/cpu/mips/bits/atomicity.h: Likewise.
100 * config/cpu/powerpc/bits/atomicity.h: Likewise.
101 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
102 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
104 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
106 * docs/html/faq/index.html: Describe DR #22, and a workaround.
107 * docs/html/faq/index.txt: Regenerate.
109 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
111 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
112 * docs/html/17_intro/license.html: New file. Explain the licenses
115 * docs/html/configopts.html: Link to license.html.
116 * docs/html/documentation.html: Likewise.
117 * docs/html/explanations.html: Likewise.
118 * docs/html/install.html: Likewise.
119 * docs/html/17_intro/howto.html: Likewise.
120 * docs/html/18_support/howto.html: Likewise.
121 * docs/html/19_diagnostics/howto.html: Likewise.
122 * docs/html/20_util/howto.html: Likewise.
123 * docs/html/21_strings/howto.html: Likewise.
124 * docs/html/22_locale/howto.html: Likewise.
125 * docs/html/23_containers/howto.html: Likewise.
126 * docs/html/24_iterators/howto.html: Likewise.
127 * docs/html/25_algorithms/howto.html: Likewise.
128 * docs/html/26_numerics/howto.html: Likewise.
129 * docs/html/27_io/howto.html: Likewise.
130 * docs/html/ext/howto.html: Likewise.
131 * docs/html/ext/sgiexts.html: Likewise.
132 * docs/html/faq/index.html: Likewise. New question, linking to
133 the new license.html.
135 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
137 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
138 * docs/html/18_support/howto.html: Likewise.
139 * docs/html/19_diagnostics/howto.html: Likewise.
140 * docs/html/20_util/howto.html: Likewise.
141 * docs/html/21_strings/howto.html: Likewise.
142 * docs/html/22_locale/howto.html: Likewise.
143 * docs/html/23_containers/howto.html: Likewise.
144 * docs/html/24_iterators/howto.html: Likewise.
145 * docs/html/25_algorithms/howto.html: Likewise.
146 * docs/html/26_numerics/howto.html: Likewise.
147 * docs/html/27_io/howto.html: Likewise.
148 * docs/html/ext/howto.html: Likewise.
149 * docs/html/faq/index.html: Likewise. Spacing fix.
151 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
153 * include/bits/stl_threads.h (_Atomic_swap): New function.
154 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
155 * testsuite/ext/rope.cc: New file.
157 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
159 * config/locale/time_members_gnu.h: Remove.
160 * config/locale/time_members_generic.h: Remove.
161 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
162 * config/locale/time_members_generic.cc: Same.
163 * include/bits/locale_facets.h: Add data members.
164 (__timepunct::_M_put_helper): Change signature.
165 (__timepunct::_M_date_formats): Same.
166 (__timepunct::_M_time_formats): Same.
167 (__timepunct::_M_ampm): Add.
168 (__timepunct::_M_date_time_formats): Add.
169 (time_get::_M_extract_via_format): Add.
170 (time_get::_M_extract_time): Change to...
171 (time_get::_M_extract_num): ... this, modify signature.
172 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
173 (time_get::do_get_time): Fix.
174 (time_get::do_get_date): Fix.
176 * acinclude.m4: Remove CTIME_H.
177 * aclocal.m4: Regenerate.
178 * include/Makefile.am: Same.
179 * include/Makefile.in: Regenerate.
180 * configure: Regenerate.
182 * testsuite/22_locale/time_get_members_char.cc: Fix.
183 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
184 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
186 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
188 * config/cpu/cris/bits/atomicity.h: Correct file header.
190 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
192 * configure.target (LIMITSH): Set for cris.
193 (cpu_include_dir): Set for cris-*-*.
194 * config/cpu/cris/bits/atomicity.h: New file.
195 * config/cpu/cris/bits/limits.h: New file.
197 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
199 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
200 (__timepunct::_M_put_helper): Add.
201 * config/locale/time_members_generic.h: Same.
202 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
203 (__timepunct): Add data members.
204 (__timepunct::_M_days): Add.
205 (__timepunct::_M_days_abbreviated): Add.
206 (__timepunct::_M_months): Add.
207 (__timepunct::_M_months_abbreviated): Add.
208 (__timepunct::_M_initialize_timepunct): Add.
209 * include/bits/locale_facets.tcc: Same.
210 * src/locale-inst.cc: Remove instantiations for __match_parallel.
211 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
212 * aclocal.m4: Regenerate.
213 * configure: Regenerate.
214 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
215 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
216 * testsuite/22_locale/time_get.cc: New file.
218 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
220 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
221 correct multilib builddir.
222 Properly locate libgcc_s.
224 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
226 * include/std/*: Add Doxygen hooks.
227 * docs/doxygen/Intro.3: New file, general intro to the man pages.
228 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
229 rather than using a generated index.
230 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
231 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
232 * docs/doxygen/stdheader.cc: ...this new file.
234 2001-09-26 Stan Shebs <shebs@apple.com>
236 * include/Makefile.am: Remove RCS Id strings.
237 * src/Makefile.am: Ditto.
238 * docs/doxygen/run_doxygen: Ditto.
239 * docs/html/configopts.html: Ditto.
240 * docs/html/documentation.html: Ditto.
241 * docs/html/explanations.html: Ditto.
242 * docs/html/install.html: Ditto.
243 * docs/html/17_intro/howto.html: Ditto.
244 * docs/html/18_support/howto.html: Ditto.
245 * docs/html/19_diagnostics/howto.html: Ditto.
246 * docs/html/20_util/howto.html: Ditto.
247 * docs/html/21_strings/howto.html: Ditto.
248 * docs/html/22_locale/howto.html: Ditto.
249 * docs/html/23_containers/howto.html: Ditto.
250 * docs/html/24_iterators/howto.html: Ditto.
251 * docs/html/25_algorithms/howto.html: Ditto.
252 * docs/html/26_numerics/howto.html: Ditto.
253 * docs/html/27_io/howto.html: Ditto.
254 * docs/html/ext/howto.html: Ditto.
255 * docs/html/ext/sgiexts.html: Ditto.
256 * docs/html/faq/index.html: Ditto.
257 * docs/html/faq/index.txt: Ditto.
259 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
261 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
264 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
266 * docs/html/20_util/howto.html: Add anchor name.
267 * docs/html/23_containers/howto.html: Line wrapping, another link.
268 * docs/html/25_algorithms/howto.html: Another note.
270 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
272 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
273 * docs/html/ext/lwg-defects.html: and this new file (from R19).
274 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
275 carried over to libstdc++-v3.
276 * docs/html/faq/index.html: Link to SGI extensions. Mention the
277 "missing .." pseudobug.
278 * docs/html/faq/index.txt: Regenerate.
280 * include/bits/ios_base.h: DR-related comment cleanup.
281 * include/bits/istream.tcc: Likewise.
282 * include/bits/locale_facets.h: Likewise.
283 * include/bits/locale_facets.tcc: Likewise.
284 * include/bits/ostream.tcc: Likewise.
285 * include/bits/std_bitset.h: Likewise.
286 * include/bits/std_iosfwd.h: Likewise.
287 * include/bits/std_istream.h: Likewise.
288 * include/bits/std_ostream.h: Likewise.
289 * include/bits/std_streambuf.h: Likewise.
290 * include/bits/stl_pair.h: Likewise.
291 * include/bits/streambuf_iterator.h: Likewise.
293 * include/bits/std_map.h: Remove unused header inclusion guard
294 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
295 * include/bits/std_set.h: Likewise.
297 * include/bits/stl_function.h: Doxygen markup.
298 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
299 * libsupc++/typeinfo: Doxygen markup tweak.
301 2001-09-20 Scott Johnston <scott@accom.com>
302 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
304 * include/backward/alloc.h: Conditionally define malloc_alloc
305 * testsuite/backward/header_deque_h.cc: New file.
307 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
309 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
310 change variable name so that it works with -fno-for-scope.
312 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
314 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
315 redundant sanity checks.
316 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
318 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
320 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
321 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
322 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
324 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
327 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
329 Implement std::time_put.
330 * include/bits/locale_facets.h: Include time_members.h.
332 (time_put): Implement.
333 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
334 * include/bits/localefwd.h: Bump number of facets.
335 * config/locale/time_members_generic.h: New file.
336 * config/locale/time_members_gnu.h: New file.
337 * config/locale/c_locale_generic.h: Include clocale.
338 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
339 * src/locale.cc: Add __timepunct initializations.
340 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
341 * include/Makefile.am (stamp-target): Add time_members.h.
342 * include/Makefile.in: Regenerate.
343 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
344 * aclocal.m4: Regenerate.
345 * configure: Regenerate.
346 * testsuite/22_locale/time_put.cc: New file.
347 * testsuite/22_locale/time_put_members_char.cc: New file.
349 * docs/html/22_locale/locale.html: Add note.
351 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
353 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
354 * docs/html/documentation.html: Likewise.
355 * docs/html/explanations.html: Likewise.
356 * docs/html/install.html: Likewise.
357 * docs/html/17_intro/howto.html: Likewise.
358 * docs/html/18_support/howto.html: Likewise.
359 * docs/html/19_diagnostics/howto.html: Likewise.
360 * docs/html/20_util/howto.html: Likewise.
361 * docs/html/21_strings/howto.html: Likewise.
362 * docs/html/22_locale/codecvt.html: Likewise.
363 * docs/html/22_locale/ctype.html: Likewise.
364 * docs/html/22_locale/howto.html: Likewise.
365 * docs/html/22_locale/locale.html: Likewise.
366 * docs/html/22_locale/messages.html: Likewise.
367 * docs/html/23_containers/howto.html: Likewise.
368 * docs/html/24_iterators/howto.html: Likewise.
369 * docs/html/25_algorithms/howto.html: Likewise.
370 * docs/html/26_numerics/howto.html: Likewise.
371 * docs/html/27_io/howto.html: Likewise.
372 * docs/html/ext/howto.html: Likewise.
373 * docs/html/faq/index.html: Likewise.
374 * docs/html/faq/index.txt: Regenerated.
376 2001-09-14 Phil Edwards <pme@sources.redhat.com>
378 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
379 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
380 * docs/html/18_support/howto.html: It won't compile; it's not code.
381 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
383 * docs/html/22_locale/howto.html: Comment for future work.
384 * docs/html/23_containers/howto.html: More comments.
385 * docs/html/25_algorithms/howto.html: It's a comment, not a
386 blunt command to the reader. (English grammar.)
388 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
390 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
392 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
393 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
395 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
397 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
399 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
401 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
402 * testsuite/22_locale/money_put_members_char.cc: Likewise.
403 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
405 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
407 Implement std::money_get.
408 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
409 * include/bits/locale_facets.h (money_get): Correct signatures.
410 * testsuite/22_locale/money_get.cc: New file.
411 * testsuite/22_locale/money_get_members_char.cc: New file.
413 * include/bits/locale_facets.tcc (__verify_grouping): New
414 function. Consolidate num_get and money_get group checking into
417 * src/locale.cc (num_get::_M_extract): Use it.
418 * src/locale-inst.cc: Add instantiation.
420 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
422 * include/bits/std_limits.h (numeric_limits<float>::radix,
423 numeric_limits<float>::epsilon: Fix thinko.
425 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
427 * configure.in: Fix cross compiling math routines. Correct
428 comments for cross compiling and limits. Add floating point math
429 routines found in newlib.
430 * configure: Regenerate.
431 * acconfig.h: Add macros.
432 * config.h.in: Regenerate.
434 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
436 * config/locale/moneypunct_members_generic.cc
437 (money_base::_S_construct_pattern): Remove unused parameters.
439 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
441 * include/Makefile.am (stamp-target): Remove link to self.
442 * inclulde/Makefile.in: Regenerate.
444 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
446 Implement std::money_put.
447 * include/bits/locale_facets.h
448 (moneypunct::_M_initialize_moneypunct): Split up specializations
449 to account for _Intl. More grody hacking to get around the
450 ill-considered use of const bool as a template parameter.
451 * config/locale/moneypunct_members_gnu.cc: And here.
452 * config/locale/moneypunct_members_generic.cc: And here.
453 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
454 * testsuite/22_locale/moneypunct.cc: Add tests.
455 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
456 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
458 * src/locale.cc (money_base::_S_construct_pattern): Move into
460 * config/locale/moneypunct_members_gnu.cc: Add here.
461 * config/locale/moneypunct_members_generic.cc: Add generic version
464 * include/bits/locale_facets.tcc (money_put::do_put): Move member
465 function definitions here.
466 * include/bits/locale_facets.h (money_put): Implement.
467 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
468 Correct money_get, money_put instantiations.
469 * src/locale.cc (money_base::_S_construct_pattern): Handle case
471 * testsuite/22_locale/money_put_members_char.cc: Add tests.
473 2001-09-05 Phil Edwards <pme@sources.redhat.com>
475 * testsuite_flags.in: No longer need to search testsuite builddir.
476 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
477 * Makefile.am: The testsuite directory never needs to be made here.
478 * Makefile.in: Regenerate.
479 * include/Makefile.in: Regenerate.
480 * libio/Makefile.in: Regenerate.
481 * libmath/Makefile.in: Regenerate.
482 * libsupc++/Makefile.in: Regenerate.
483 * po/Makefile.in: Regenerate.
484 * src/Makefile.in: Regenerate.
485 * testsuite/Makefile.in: Regenerate.
487 2001-09-04 Scott Johnston <scott@accom.com>
488 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
490 * include/backward/iterator.h: Include <bits/std_iterator.h>,
491 remove reverse_bidirectional_iterator.
492 * testsuite/backward: New directory.
493 * testsuite/backward/header_iterator_h.cc: New file.
495 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
497 * include/c_std/bits/std_c*.h: Don't use include_next.
499 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
501 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
502 tmp from _Unwind_Ptr to _Unwind_Word.
504 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
506 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
509 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
511 * include/Makefile.am: Use toplevel_srcdir to refer to src files
512 outside this component.
513 * include/Makefile.in: Regenerate.
515 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
517 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
518 * config/locale/c_locale_generic.cc: Same.
519 * config/locale/moneypunct_members_gnu.cc: New file.
520 * config/locale/moneypunct_members_generic.cc: New file.
521 * config/locale/numpunct_members_gnu.cc: New file.
522 * config/locale/numpunct_members_generic.cc: New file.
523 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
525 * aclocal.m4: Regenerate.
526 * configure: Regenerate.
527 * src/Makefile.am (sources): And here.
528 * src/Makefile.in: Regenerate.
530 Rename for consistency with rest of testsuite.
531 * testsuite/22_locale/codecvt.cc: New file.
532 * testsuite/22_locale/money_put.cc: New file.
533 * testsuite/22_locale/money_put_members_char.cc: New file.
535 2001-08-27 Phil Edwards <pme@sources.redhat.com>
538 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
539 correctly for version-specific-runtime-libs.
540 * aclocal.m4: Regenerate.
541 * configure: Regenerate.
543 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
545 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
546 define if not already provided by per-OS file.
547 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
550 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
552 * docs/html/17_intro/C++STYLE: Fix typo.
554 2001-08-24 Phil Edwards <pme@sources.redhat.com>
556 * docs/html/23_containers/howto.html: Describe implementation of
557 insertion with hints.
559 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
562 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
564 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
565 Phil Edwards <pme@sources.redhat.com>
568 * include/bits/stl_tree.h (insert_unique): Revert last change.
569 Values inserted at begin() must be less, not greater, than *begin()'s.
570 * testsuite/23_containers/map_insert.cc: New file.
572 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
574 * config/locale/c_locale_gnu.cc: Minor tweaks.
575 (moneypunct<wchar_t>): Implement.
576 * include/bits/locale_facets.h: Same.
577 * testsuite/22_locale/moneypunct.cc: New file.
578 * testsuite/22_locale/moneypunct_byname.cc: New file.
579 * testsuite/22_locale/moneypunct_char_members.cc: New file.
581 2001-08-23 David Edelsohn <edelsohn@gnu.org>
583 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
584 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
586 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
588 * testsuite_flags.in (build-includes): Re-add backward.
590 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
592 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
593 with _GLIBCPP_USE_WCHAR_T.
595 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
597 * testsuite/22_locale/collate_byname.cc (test01): Fix.
599 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
601 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
603 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
605 * testsuite/22_locale/operators.cc: Add test.
607 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
609 Implement std::collate.
610 * config/locale/collate_specializations_gnu.cc: Add here, implement in
612 * config/locale/collate_specializations_generic.cc: Add here, but
613 in a less sophisticated manner.
614 * include/bits/locale_facets.tcc (collate): Add generic definition.
615 * include/bits/locale_facets.h (~collate): Mark virtual.
616 (collate::_M_compare_helper): New.
617 (collate::_M_transform_helper): New.
618 * src/locale.cc: Remove unnecessary specializations.
619 * src/string-inst.cc: Tweak instantiation of ctors.
621 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
622 * aclocal.m4: Regenerate.
623 * configure: Regenerate.
624 * src/Makefile.am (sources): Add collate.cc.
625 * src/Makefile.in: Regenerate.
627 * testsuite/22_locale/collate_byname.cc: New.
628 * testsuite/22_locale/collate.cc: New file.
629 * testsuite/22_locale/collate_char_members.cc: New file.
630 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
632 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
634 * configure.target: Set LIMITSH for powerpc-*-*.
635 * config/cpu/powerpc/bits/limits.h: New file.
637 2001-08-16 Marc Espie <espie@openbsd.org>
639 * configure.in: Check for <sys/types.h>.
640 * configure: Rebuild.
641 * config.h.in: Rebuild.
642 * libmath/mathconf.h: Include <sys/types.h> prior to
643 <machine/endian.h> if available.
645 2001-08-15 Andreas Schwab <schwab@suse.de>
647 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
649 * config/cpu/m68k/bits/atomicity.h: New file.
651 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
652 Define appropriate long double limits for m68k extended floating
654 (__glibcpp_f32_digits10): Corrected, off by one.
655 (__glibcpp_f80_digits10): Likewise.
656 (__glibcpp_f128_digits10): Likewise.
657 * config/os/gnu-linux/bits/os_defines.h
658 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
660 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
662 * testsuite/18_support/numeric_limits.cc: Add more tests.
663 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
666 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
668 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
671 * config/cpu/s390/bits/atomicity.h: New.
673 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
675 * include/bits/std_limits.h: Fix thinko.
677 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
679 * include/Makefile.am: Consolidate target rules. Don't clean stamp
680 files. Tweak target build directory stamp.
681 * include/Makefile.in: Regenerate.
683 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
685 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
686 _GBLICPP_HAVE_LOGL with HAVE_LOGL
688 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
690 * configure.in (libtool_VERSION): Add.
692 (release_VERSION): This.
693 * configure: Regenerate.
694 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
696 * src/Makefile.in: Regenerate.
698 * intl/Makefile.am: Remove.
699 * intl/Makefile.in: Remove.
701 * Makefile.am (SUBDIRS): Remove intl.
702 * po/Makefile.am (DISTFILES): Add string_literals.cc
704 * po/string_literals.cc: Add.
705 * po/POTFILES.in: Fix path.
706 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
707 * aclocal.m4: Regenerate.
708 * configure.in: Remove AC_OUTPUT of intl/Makefile.
710 * include/backward/backward_warning.h: Clarify message.
712 * testsuite_flags.in (--cxxflags): Use same debug flags for
713 library and testsuite.
715 * include/Makefile.am (c_compatibility): Remove.
716 * include/Makefile.in: Regenerate.
718 2001-08-13 Mark Mitchell <mark@codesourcery.com>
720 * configure.in (LIMITS_INC_SRCDIR): New variable.
721 * configure.target (LIMITSH): New variable.
722 * porting.texi: Discuss numeric limits.
723 * config/cpu/generic/bits/limits.h: New file.
724 * config/cpu/i386/bits/limits.h: New file.
725 * include/Makefile.am: Install bits/limits.h.
726 * include/bits/c++config: Include bits/limits.h.
728 2001-08-13 H.J. Lu (hjl@gnu.org)
730 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
732 (libstdc++-v3-init ): Use it.
734 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
736 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
737 to '__adjust' to avoid shadowing in nested scope.
739 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
741 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
744 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
746 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
749 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
751 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
752 dummy default argument to the non-limit implementation.
755 * include/Makefile.am: Use relative file path in rule to allow
757 * include/Makefile.in: Rebuilt.
759 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
761 * include/bits/std_complex.h (complex<long double>::operator*=,
762 complex<long double>::operator/=): Fix thinko.
764 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
766 * include/bits/std_limits.h: New file.
767 * include/Makefile.am (bits_headers): Add std_limits.h
768 (all-local): std_limits.h is no longer built.
769 (${target_builddir}/std_limits.h): Remove.
770 * include/Makefile.in: Regenerate.
771 * src/limits.cc: New file.
772 * src/Makefile.am (sources): Add limits.cc in replacement of
774 * src/Makefile.in: Regenerate.
776 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
778 * src/gen-num-limits.cc (digits10): Fix thinko.
780 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
782 * po/Makefile.am (check-no): Add.
784 * po/Makefile.in: Regenerate.
786 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
788 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
789 * config.h.in: Regenerate.
790 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
792 * aclocal.m4: Regenerate.
793 * configure.in: Remove duplicate AM_CONFIG_HEADER.
794 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
795 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
796 * configure: Regenerate.
797 * testsuite_hooks.h.in: Move to...
798 * testsuite_hooks.h: Here, include c++config.h. Use it.
800 * Makefile.am (SUBDIRS): Move testsuite to last directory.
801 * Makefile.in: Regenerate.
802 * po/Makefile.am (stamp-po): Add.
804 2001-08-09 David Edelsohn <edelsohn@gnu.org>
806 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
807 * config/os/generic/bits/os_defines.h: Likewise.
808 * config/os/gnu-linux/bits/os_defines.h: Likewise.
809 * config/os/hpux/bits/os_defines.h: Likewise.
810 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
811 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
813 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
815 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
816 -version-info, use substituted VERSION info.
817 * src/Makefile.in: Regenerate.
819 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
821 Implement std::messages.
822 Make config a fully-nested directory.
823 * config/locale: New directory.
824 * config/c_locale_generic.cc: Move into locale subdirectory.
825 * config/c_locale_generic.h: Same.
826 * config/c_locale_gnu.cc: Same.
827 * config/c_locale_gnu.h: Same.
828 * config/c_locale_ieee_1003.1-200x.cc: Same.
829 * config/c_locale_ieee_1003.1-200x_.h: Same.
830 * config/codecvt_specializations_generic.h: Same.
831 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
832 * config/messages_members_gnu.h: Same.
833 * config/messaages_members_gnu.cc: Same.
834 * config/messages_members_generic.h: Same.
835 * config/messaages_members_generic.cc: Same.
836 * config/messages_members_ieee_1003.1-200x.h: Same.
837 * config/messaages_members_ieee_1003.1-200x.cc: Same.
838 * config/io: New directory.
839 * config/basic_file_libio.h: Move into io subdirectory.
840 * config/basic_file_libio.cc: Same.
841 * config/c_io_libio.h: Same.
842 * config/c_io_libio_codecvt.c: Same.
843 * config/basic_file_stdio.h: Same.
844 * config/basic_file_stdio.cc: Same.
845 * config/c_io_stdio.h: Same.
848 * po/POTFILES.in: New file.
849 * po/Makefile.am: New file.
850 * po/Makefile.in: New file.
851 * po/libstdc++.pot: Generic translation file.
852 * po/fr.po: Preliminary French translation.
853 * po/de.po: Preliminary German translation.
854 * intl: New directory.
855 * intl/Makefile.am: New file.
856 * intl/Makefile.in: New file.
857 * intl/string_literals.cc: New file.
858 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
859 requisite setup for gettext. Re-arrange.
860 * aclocal.m4: Regenerate.
861 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
862 Output Makefile bits for po and intl.
863 * configure: Regenerate.
864 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
865 * Makefile.in: Regenerate.
866 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
867 * config.h.in: Regenerate.
869 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
871 * include/Makefile.am (install-data-local): Don't install Makefile.
872 * include/Makefile.in: Regenerate.
874 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
876 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
877 * config/locale/c_locale_generic.cc: Same.
878 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
880 * include/bits/codecvt.h: Excise non-standard, non-required
881 bits. This includes __enc_traits, and partial specializations of
882 codecvt for __enc_traits.
883 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
884 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
885 * config/codecvt_partials_generic.h: New file.
886 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
887 (stamp-codecvt_model): Add.
888 * include/Makefile.in: Regenerate.
889 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
890 * aclocal.m4: Regenerate.
891 * configure: Regenerate.
892 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
893 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
894 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
896 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
897 as a friend for _S_*_c_locale functions.
898 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
899 argument to default constructor so that CODESET information can be
901 * include/bits/locale_facets.h (messages_byname):
902 Re-implement. Remove specializations.
903 * src/locale.cc (messages_byname<char>): Remove specialization.
904 (messages_byname<wchar_t>): Same.
905 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
906 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
907 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
908 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
909 * config/locale/messages_members_gnu.cc: New file.
910 * config/locale/messages_members_gnu.h: New file.
911 * config/locale/messages_members_generic.cc: New file.
912 * config/locale/messages_members_generic.h: New file.
914 * docs/html/configopts.html: Add documentation for new locale
915 model, ieee_1003.1. Adjust other flags for current defaults.
916 * docs/html/22_locale/locale.html: Update.
917 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
918 * docs/html/22_locale/messages.html: New.
920 * src/Makefile.am (sources): Add messages_virtuals.cc.
921 * src/Makefile.in: Regenerate.
922 * include/Makefile.am (allstamps): Add stamp-messages_model.
923 (stamp-messages_model): Add.
924 * include/Makefile.in: Regenerate.
925 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
926 * aclocal.m4: Regenerate.
927 * configure: Regenerate.
929 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
930 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
932 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
933 build directories message catalog base directory, and export.
934 Eventually this should probably be made to deal with build and
935 install directories. For now, punt on this as the library itself
936 doesn't use message catalogs (yet).
937 * testsuite/22_locale/messages.cc: New file.
938 * testsuite/22_locale/messages_char_members.cc: New file.
939 * testsuite/22_locale/messages_byname.cc: New file.
941 2001-08-06 Phil Edwards <pme@sources.redhat.com>
943 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
944 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
945 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
946 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
947 Call GLIBCPP_CONFIGURE_TESTSUITE.
948 * aclocal.m4: Regenerate.
949 * config.h.in: Regenerate.
950 * configure: Regenerate.
952 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
955 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
956 * testsuite/debug_assert.h: Removed; contents merged into...
957 * testsuite/testsuite_hooks.h.in: ...here. New file.
958 * testsuite/17_intro/header_ciso646.cc: No longer include
959 debug_assert.h, include testsuite_hooks.h instead.
960 * testsuite/17_intro/header_fstream.cc: Likewise.
961 * testsuite/17_intro/header_iomanip.cc: Likewise.
962 * testsuite/17_intro/header_ios.cc: Likewise.
963 * testsuite/17_intro/header_iosfwd.cc: Likewise.
964 * testsuite/17_intro/header_iostream.cc: Likewise.
965 * testsuite/17_intro/header_istream.cc: Likewise.
966 * testsuite/17_intro/header_ostream.cc: Likewise.
967 * testsuite/17_intro/header_sstream.cc: Likewise.
968 * testsuite/17_intro/header_streambuf.cc: Likewise.
969 * testsuite/18_support/numeric_limits.cc: Likewise.
970 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
971 * testsuite/20_util/allocator_members.cc: Likewise.
972 * testsuite/20_util/auto_ptr.cc: Likewise.
973 * testsuite/20_util/pairs.cc: Likewise.
974 * testsuite/21_strings/append.cc: Likewise.
975 * testsuite/21_strings/capacity.cc: Likewise.
976 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
977 * testsuite/21_strings/compare.cc: Likewise.
978 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
979 call to (disabled) __set_testsuite_memlimit() wrapper.
980 * testsuite/21_strings/element_access.cc: Likewise.
981 * testsuite/21_strings/find.cc: Likewise.
982 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
983 (disabled) __set_testsuite_memlimit() wrapper.
984 * testsuite/21_strings/inserters_extractors.cc: Likewise.
985 * testsuite/21_strings/invariants.cc: Likewise.
986 * testsuite/21_strings/nonmember.cc: Likewise.
987 * testsuite/21_strings/operations.cc: Likewise.
988 * testsuite/21_strings/replace.cc: Likewise.
989 * testsuite/21_strings/rfind.cc: Likewise.
990 * testsuite/21_strings/substr.cc: Likewise.
991 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
992 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
993 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
994 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
995 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
996 * testsuite/22_locale/ctype_char_members.cc: Likewise.
997 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
998 * testsuite/22_locale/facet.cc: Likewise.
999 * testsuite/22_locale/global_templates.cc: Likewise.
1000 * testsuite/22_locale/members.cc: Likewise.
1001 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1002 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1003 * testsuite/22_locale/operators.cc: Likewise.
1004 * testsuite/22_locale/static_members.cc: Likewise.
1005 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1006 * testsuite/23_containers/bitset_members.cc: Likewise.
1007 * testsuite/23_containers/bitset_shift.cc: Likewise.
1008 * testsuite/23_containers/vector_capacity.cc: Likewise.
1009 * testsuite/23_containers/vector_ctor.cc: Likewise.
1010 * testsuite/23_containers/vector_element_access.cc: Likewise.
1011 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1012 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1013 * testsuite/24_iterators/iterator.cc: Likewise.
1014 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1015 * testsuite/25_algorithms/binary_search.cc: Likewise.
1016 * testsuite/25_algorithms/copy.cc: Likewise.
1017 * testsuite/25_algorithms/heap.cc: Likewise.
1018 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1019 * testsuite/25_algorithms/min_max.cc: Likewise.
1020 * testsuite/25_algorithms/partition.cc: Likewise.
1021 * testsuite/25_algorithms/rotate.cc: Likewise.
1022 * testsuite/25_algorithms/sort.cc: Likewise.
1023 * testsuite/26_numerics/c_math.cc: Likewise.
1024 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1025 * testsuite/26_numerics/complex_value.cc: Likewise.
1026 * testsuite/27_io/filebuf.cc: Likewise.
1027 * testsuite/27_io/filebuf_members.cc: Likewise.
1028 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1029 * testsuite/27_io/fpos.cc: Likewise.
1030 * testsuite/27_io/fstream_members.cc: Likewise.
1031 * testsuite/27_io/ifstream_members.cc: Likewise.
1032 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1033 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1034 * testsuite/27_io/ios_base_storage.cc: Likewise.
1035 * testsuite/27_io/ios_ctor.cc: Likewise.
1036 * testsuite/27_io/ios_init.cc: Likewise.
1037 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1038 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1039 * testsuite/27_io/ios_members.cc: Likewise.
1040 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1041 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1042 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1043 * testsuite/27_io/istream_manip.cc: Likewise.
1044 * testsuite/27_io/istream_seeks.cc: Likewise.
1045 * testsuite/27_io/istream_sentry.cc: Likewise.
1046 * testsuite/27_io/istream_unformatted.cc: Likewise.
1047 * testsuite/27_io/istringstream_members.cc: Likewise.
1048 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1049 * testsuite/27_io/ofstream_members.cc: Likewise.
1050 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1051 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1052 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1053 * testsuite/27_io/ostream_manip.cc: Likewise.
1054 * testsuite/27_io/ostream_seeks.cc: Likewise.
1055 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1056 * testsuite/27_io/ostringstream_members.cc: Likewise.
1057 * testsuite/27_io/streambuf.cc: Likewise.
1058 * testsuite/27_io/stringbuf.cc: Likewise.
1059 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1060 * testsuite/27_io/stringstream.cc: Likewise.
1061 * testsuite/27_io/stringstream_members.cc: Likewise.
1062 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1064 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1066 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1068 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1070 * configure.target: Remove mips from cpu table.
1071 * config/cpu/mips/bits/atomicity.h: Remove generic
1072 versions. Comment sgidefs include.
1074 2001-07-25 H.J. Lu <hjl@gnu.org>
1076 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1079 * config/cpu/mips/bits/atomicity.h: New.
1081 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1083 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1084 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1085 * aclocal.m4: Regenerate.
1086 * config.h.in: Likewise.
1087 * configure: Likewise.
1088 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1089 (EXTRA_DIST): Remove hypot.c hypotf.c.
1090 * libmath/Makefile.am: Regenerate.
1091 * libmath/hypotf.c: Remove.
1092 * libmath/hypot.c: Likewise.
1093 * libmath/hypotl.c: Likewise.
1094 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1095 _GLIBCPP_HAVE_xxx. Add long double versions.
1097 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1099 * include/bits/limits_generic.h (int): Set digits and digits10
1100 appropriately for word size.
1101 (unsigned int,long,unsigned long): Likewise.
1103 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1105 * include/bits/stl_algo.h : Fix typos.
1106 * testsuite/25_algorithms/unique.cc: New file.
1108 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1109 Mark Mitchell <mark@codesourcery.com>
1111 Merge from cp-parser-branch.
1112 * include/bits/basic_string.h: Qualify symbols with 'template'.
1113 * include/bits/basic_string.tcc: Likewise.
1114 * include/bits/fstream.tcc: Likewise.
1115 * include/bits/istream.tcc: Likewise.
1116 * include/bits/sstream.tcc: Likewise.
1117 * include/bits/std_istream.h: Likewise.
1118 * include/bits/stl_iterator.h: Likewise.
1119 * include/bits/streambuf.tcc: Likewise.
1120 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1121 * src/locale.cc: Likewise.
1123 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1124 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1126 * src/gen-num-limits.cc (set_signals_handler): New function.
1127 Factor out signals setting. Set signal handler for SIGILL.
1129 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1131 * docs/html/27_io/howto.html: Fix typo.
1132 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1133 * docs/html/faq/index.txt: Regenerated.
1135 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1136 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1139 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1140 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1142 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1144 All occurrences of the __value_type() and __distance_type()
1145 functions, which were required to support the HP STL, have been
1146 removed along with all the auxiliary forwarding functions that
1147 were required to support their use.
1149 The __iterator_category() function was pretty much left alone
1150 because there was no benefit to removing it and its use made code
1151 just a little more readable.
1153 Incidences of distance() with nonstandard argument list were
1154 replaced by calls to the standard function (only in the files
1155 affected by the removal of the other HP functions).
1157 The signature of the rotate() algorithm was changed to match the
1160 Headers were reformatted under C++STYLE guidelines (indentation,
1161 linebreaks, typename keyword).
1163 * include/bits/stl_algo.h: replaced __value_type() and
1164 __distance_type() with iterator_traits, eliminated auxiliary
1165 support functions required to support said function usage.
1166 Changed nonstandard distance() call to standard call.
1168 * include/bits/stl_algobase.h: Same.
1169 * include/bits/stl_heap.h: Same.
1170 * include/bits/stl_numeric.h: Same.
1171 * include/bits/stl_uninitialized.h: Same.
1172 * include/bits/stl_iterator_base_types.h (__value_type()):
1174 (__distance_type()): Removed.
1175 (value_type()): Gone.
1176 (distance_type()): Done in.
1177 (iterator_category()): Hasta la vista, baby.
1179 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1180 Replaced with __iterator_category().
1181 * include/backward/iterator.h: moved definition of value_type(),
1182 distance_type(), and iterator_category() out of std:: and into
1184 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1185 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1186 * testsuite/25_algorithms/rotate.cc: New testcase.
1187 * testsuite/25_algorithms/copy.cc: New testcase.
1188 * testsuite/25_algorithms/sort.cc: Same.
1189 * testsuite/25_algorithms/heap.cc: Same.
1190 * testsuite/25_algorithms/partition.cc: Same.
1191 * testsuite/25_algorithms/binary_search.cc: Same.
1192 * testsuite/26_numerics/sum_diff.cc: Ditto.
1194 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1196 * testsuite/README: Add notes on naming test cases.
1197 * testsuite/22_locale/members.cc: Mark as xfail.
1198 * testsuite/22_locale/numpunct_char_members.cc: Same.
1200 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1202 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1203 setting C_INCLUDE_DIR.
1204 * configure.in: Revert yesterday's LN_S change.
1205 * aclocal.m4: Regenerate.
1206 * configure: Regenerate.
1208 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1210 * configure.in: Temporarily force LN_S to copy instead of symlink.
1211 * configure: Regenerate.
1213 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1215 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1216 Initialize _M_string with pointer-and-size constructor, not just
1217 pointer. Fix some comments.
1218 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1219 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1220 (test03): Add embedded-NUL tests.
1222 * mkcheck.in: When printing totals, match the order of the tests.
1223 * include/bits/stringfwd.h: Use same declaration keywords.
1224 * include/bits/std_iosfwd.h: Cosmetic spacing.
1226 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1227 Loren J. Rittle <ljrittle@acm.org>
1228 Phil Edwards <pme@sources.redhat.com>
1230 * include/Makefile.am: New file encapsulating header generation rules.
1231 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1232 * acinclude.m4: Moved/removed rules for building various headers.
1233 * configure.in (AC_OUTPUT): Add include/Makefile.
1234 * mkc++config: Removed.
1236 * testsuite_flags.in: Changed build-includes to match new scheme.
1237 * mknumeric_limits: Likewise.
1238 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1239 * libmath/Makefile.am: Likewise.
1240 * libsupc++/Makefile.am: Likewise.
1241 * src/Makefile.am: Likewise; removed rules to build headers.
1242 * libmath/mathconf.h: Changed #include'd header names to match.
1243 * libmath/stubs.c: Likewise.
1244 * src/gen-num-limits.cc: Likewise.
1246 * configure: Regenerated.
1247 * config.h.in: Regenerated.
1248 * aclocal.m4: Regenerated.
1249 * Makefile.in: Regenerated.
1250 * include/Makefile.in: Regenerated.
1251 * libio/Makefile.in: Regenerated.
1252 * libmath/Makefile.in: Regenerated.
1253 * libsupc++/Makefile.in: Regenerated.
1254 * src/Makefile.in: Regenerated.
1255 * testsuite/Makefile.in: Regenerated.
1257 2001-07-11 Felix Natter <fnatter@gmx.net>
1259 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1261 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1263 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1265 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1266 * docs/doxygen/user.cfg.in: Tweaks.
1267 * include/bits/c++config: Documentation comments for Doxygen.
1268 * include/bits/char_traits.h: Likewise.
1269 * include/bits/limits_generic.h: Likewise.
1270 * include/bits/std_stdexcept.h: Likewise.
1271 * include/bits/stl_pair.h: Likewise.
1272 * libsupc++/exception: Likewise.
1273 * libsupc++/new: Likewise.
1274 * libsupc++/typeinfo: Likewise.
1275 * libmath/Makefile.am: Update and correct copyright.
1277 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1279 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1280 * aclocal.m4: Regenerate.
1283 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1285 * docs/html/configopts.html: Fix thinko.
1286 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1287 * include/bits/stl_iterator.h: Fix typo.
1289 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1291 * docs/html/explanations.html: New file.
1292 * docs/html/configopts.html: Link to it to provide more notes
1293 on cstdio. Minor markup and spacing fixes.
1294 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1296 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1298 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1299 for _Expr template template argument.
1300 (_Expr::operator-): Likewise.
1301 (_Expr::operator~): Likewise.
1302 (_Expr::operator!): Likewise.
1303 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1305 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1307 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1308 * libmath/Makefile.in: Regenerate.
1309 * libmath/expf.c: Remove.
1310 * libmath/atan2f.c: Likewise.
1312 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1314 * configure.in: Remove NATIVE, NULL_TARGET.
1315 Set CANADIAN only for Canadian crosses. Set xcompiling
1316 for both Canadian crosses and host-x-host crosses.
1317 * configure: Regenerated.
1319 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1321 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1323 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1325 * testsuite_flags.in (--build-includes): backward, not backwards.
1327 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1329 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1330 Replace destroy by _Destroy.
1331 (_Rope_RopeRep::_S_free_string): Likewise.
1332 (rope::c_str()): Likewise.
1333 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1334 (_Slist_base::_M_erase_after): Likewise.
1335 (slist::_M_create_node): Replace construct by _Construct.
1336 (slist::pop_front): Replace destroy by _Destroy.
1337 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1338 construct by _Construct.
1339 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1340 * include/ext/stl_rope.h (rope::rope): Replace construct by
1342 (rope::copy): Replace destroy by _Destroy.
1344 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1346 * include/bits/localefwd.h: Format.
1347 * include/bits/locale_facts.tcc (locale::combine): Adjust.
1348 * src/locale.cc (locale::locale::(_Impl)): Don't call
1350 (locale::facet::_M_remove_reference): Simplify.
1351 * src/globals.cc (locale_impl_c): New. Format.
1353 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1355 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1357 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1358 expansion (thanks to Alexandre Oliva).
1359 * aclocal.m4: Regenerate.
1360 * configure: Regenerate.
1362 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
1364 * src/locale.cc (locale::locale(const char*)): Make sure global
1365 locales are initialized.
1366 * include/bits/locale_facets.tcc (locale::combine): Refcout should
1367 be zero, not one as it's return-by-value.
1368 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1370 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1373 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1375 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1378 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1379 * aclocal.m4: Regenerate.
1380 * configure: Regenerate.
1382 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1385 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1386 staged/installed area to support -I-. Document.
1387 * aclocal.m4: Regenerate.
1388 * configure: Regenerate.
1390 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1393 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
1394 __out_bufsize. Add __in_bufsize, document it and use it.
1396 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
1398 * include/bits/stl_construct.h (construct): Remove.
1400 (__destroy): Replaced by use of iterator_traits.
1401 * include/bits/stl_deque.h: replaced HP iterator functions with
1403 (construct): changed to _Construct.
1404 (destroy): changed to _Destroy.
1405 * include/bits/stl_tempbuf.h: Same.
1406 * include/bits/stl_tree.h: Same.
1407 * include/bits/stl_vector.h: Same.
1408 * include/backward/iterator.h (construct): moved definition to here.
1411 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
1413 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
1414 before replacing facet.
1415 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
1417 * src/localename.cc (locale::_Impl): Correct ctor initialization
1418 lists. Initialize ref count with one. Simplify.
1419 * src/locale.cc: Add comment.
1420 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
1421 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
1422 * testsuite/22_locale/members.cc (test02): Fix.
1424 2001-06-27 Phil Edwards <pme@sources.redhat.com>
1426 * include/backward/algo.h: Add "GPL plus runtime exception" comment
1427 block, this time for real.
1428 * include/backward/algobase.h: Likewise.
1429 * include/backward/alloc.h: Likewise.
1430 * include/backward/bvector.h: Likewise.
1431 * include/backward/defalloc.h: Likewise.
1432 * include/backward/deque.h: Likewise.
1433 * include/backward/function.h: Likewise.
1434 * include/backward/hash_map.h: Likewise.
1435 * include/backward/hash_set.h: Likewise.
1436 * include/backward/hashtable.h: Likewise.
1437 * include/backward/heap.h: Likewise.
1438 * include/backward/iterator.h: Likewise.
1439 * include/backward/list.h: Likewise.
1440 * include/backward/map.h: Likewise.
1441 * include/backward/multimap.h: Likewise.
1442 * include/backward/multiset.h: Likewise.
1443 * include/backward/pair.h: Likewise.
1444 * include/backward/rope.h: Likewise.
1445 * include/backward/set.h: Likewise.
1446 * include/backward/slist.h: Likewise.
1447 * include/backward/stack.h: Likewise.
1448 * include/backward/strstream: Likewise.
1449 * include/backward/tempbuf.h: Likewise.
1450 * include/backward/tree.h: Likewise.
1451 * include/backward/vector.h: Likewise.
1452 * include/bits/pthread_allocimpl.h: Likewise.
1453 * include/bits/std_algorithm.h: Likewise.
1454 * include/bits/std_bitset.h: Likewise.
1455 * include/bits/std_deque.h: Likewise.
1456 * include/bits/std_functional.h: Likewise.
1457 * include/bits/std_iterator.h: Likewise.
1458 * include/bits/std_list.h: Likewise.
1459 * include/bits/std_map.h: Likewise.
1460 * include/bits/std_memory.h: Likewise.
1461 * include/bits/std_numeric.h: Likewise.
1462 * include/bits/std_queue.h: Likewise.
1463 * include/bits/std_set.h: Likewise.
1464 * include/bits/std_stack.h: Likewise.
1465 * include/bits/std_utility.h: Likewise.
1466 * include/bits/std_vector.h: Likewise.
1467 * include/bits/stl_algo.h: Likewise.
1468 * include/bits/stl_algobase.h: Likewise.
1469 * include/bits/stl_alloc.h: Likewise.
1470 * include/bits/stl_bvector.h: Likewise.
1471 * include/bits/stl_construct.h: Likewise.
1472 * include/bits/stl_deque.h: Likewise.
1473 * include/bits/stl_function.h: Likewise.
1474 * include/bits/stl_heap.h: Likewise.
1475 * include/bits/stl_iterator.h: Likewise.
1476 * include/bits/stl_iterator_base_funcs.h: Likewise.
1477 * include/bits/stl_iterator_base_types.h: Likewise.
1478 * include/bits/stl_list.h: Likewise.
1479 * include/bits/stl_map.h: Likewise.
1480 * include/bits/stl_multimap.h: Likewise.
1481 * include/bits/stl_multiset.h: Likewise.
1482 * include/bits/stl_numeric.h: Likewise.
1483 * include/bits/stl_pair.h: Likewise.
1484 * include/bits/stl_pthread_alloc.h: Likewise.
1485 * include/bits/stl_queue.h: Likewise.
1486 * include/bits/stl_raw_storage_iter.h: Likewise.
1487 * include/bits/stl_relops.h: Likewise.
1488 * include/bits/stl_set.h: Likewise.
1489 * include/bits/stl_stack.h: Likewise.
1490 * include/bits/stl_tempbuf.h: Likewise.
1491 * include/bits/stl_threads.h: Likewise.
1492 * include/bits/stl_tree.h: Likewise.
1493 * include/bits/stl_uninitialized.h: Likewise.
1494 * include/bits/stl_vector.h: Likewise.
1495 * include/bits/type_traits.h: Likewise.
1496 * include/ext/hash_map: Likewise.
1497 * include/ext/hash_set: Likewise.
1498 * include/ext/rope: Likewise.
1499 * include/ext/ropeimpl.h: Likewise.
1500 * include/ext/slist: Likewise.
1501 * include/ext/stl_hash_fun.h: Likewise.
1502 * include/ext/stl_hashtable.h: Likewise.
1503 * include/ext/stl_rope.h: Likewise.
1504 * src/bitset.cc: Likewise.
1505 * src/strstream.cc: Likewise.
1507 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1508 <vakatov@ncbi.nlm.nih.gov>
1511 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1512 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1513 * testsuite/27_io/istream_extractor_other.cc: Fix.
1515 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
1517 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1518 * aclocal.m4: Regenerate.
1519 * configure: Regenerate.
1521 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1523 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1524 (ostream_iterator): Same.
1525 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1526 Change argument to const_reference.
1527 (back_insert_iterator): Same.
1529 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1531 * include/bits/sbuf_iter.h: Change to..
1532 * include/bits/streambuf_iterator.h: This.
1533 * include/bits/stl_iterator.h: Take out of here...
1534 * include/bits/stream_iterator.h: Add.
1535 * src/Makefile.am (base_headers): Add streambuf_iterator,
1537 * src/Makefile.in: Regenerate.
1538 * include/bits/std_string.h: Adjust includes.
1539 * include/bits/basic_ios.h: Same.
1540 * include/bits/locale_facets.tcc: Same.
1541 * include/bits/std_iosfwd.h: Same.
1543 * include/bits/std_iterator.h: Add istream, ostream includes.
1544 * include/bits/stl_iterator.h: Tweak.
1545 * testsuite/24_iterators/ostream_iterator.cc: Add test.
1546 * testsuite/24_iterators/istream_iterator.cc: Same.
1547 * testsuite/23_containers/multiset.cc: Add iterator include.
1549 2001-06-26 Phil Edwards <pme@sources.redhat.com>
1551 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
1552 * aclocal.m4: Regenerate.
1553 * configure: Regenerate.
1555 2001-06-26 Felix Natter <f.natter@ndh.net>
1557 * docs/html/17_intro/porting-howto.html: Fixed some errors.
1559 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1561 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1563 (istream_iterator::operator*): Same.
1565 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1566 Alexandre Petit-Bianco <apbianco@redhat.com>
1568 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1569 is on 41st, not 14th.
1571 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1573 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1575 * include/bits/stl_iterator.h (istream_iterator): Inherit from
1577 (ostream_iterator): Same.
1578 * testsuite/24_iterators/istream_iterator.cc: New file.
1579 * testsuite/24_iterators/ostream_iterator.cc: New file.
1581 * include/bits/sbuf_iter.h: Remove self typedef.
1582 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1583 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1585 * include/bits/stl_iterator.h (reverse_iterator): Remove
1586 extraneous typedefs. Add typename.
1587 (__normal_iterator): Remove typedefs referring to self. Add typename.
1588 (reverse_bidiretional_iterator): Remove, not longer required.
1590 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1592 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1593 dependent names with `typename'. Bring in various required
1594 iterator_traits members. Can't imagine why that used to work.
1596 2001-06-25 Phil Edwards <pme@sources.redhat.com>
1597 Kurt Garloff <garloff@suse.de>
1600 * src/cmath.cc: New [version of an old] file; instantiate
1601 __cmath_power to start with.
1602 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
1603 * Makefile.in: Regenerate.
1604 * libio/Makefile.in: Regenerate.
1605 * libmath/Makefile.in: Regenerate.
1606 * libsupc++/Makefile.in: Regenerate.
1607 * src/Makefile.in: Regenerate.
1608 * testsuite/Makefile.in: Regenerate.
1610 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1612 * libmath/stubs.c: Fix thinko.
1614 2001-06-24 David Edelsohn <dje@watson.ibm.com>
1616 * libmath/stubs.c (sqrtf): Define.
1617 (tanf): Correct typo.
1619 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
1621 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1623 (back_insert_iterator): Same.
1624 (front_insert_iterator): Same.
1625 (insert_iterator): Same.
1627 * testsuite/20_util/raw_storage_iterator.cc: Modify.
1628 * testsuite/24_iterators/reverse_iterator.cc: New file.
1629 * testsuite/24_iterators/back_insert_iterator.cc: New file.
1630 * testsuite/24_iterators/front_insert_iterator.cc: New file.
1631 * testsuite/24_iterators/insert_iterator.cc: New file.
1633 2001-06-22 Phil Edwards <pme@sources.redhat.com>
1635 * include/*: Revert comment/license change from yesterday for all
1636 except libsupc++/unwind-cxx.h.
1637 * src/bitset.cc: Likewise.
1638 * src/strstream.cc: Likewise.
1640 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1642 * libmath/stubs.c: New file.
1646 * libmath/Makefile.am (libmath_la_SOURCES): Add.
1647 * libmath/Makefile.in. Regenerate.
1649 2001-06-21 Phil Edwards <pme@sources.redhat.com>
1651 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
1652 * include/backward/algobase.h: Likewise.
1653 * include/backward/alloc.h: Likewise.
1654 * include/backward/bvector.h: Likewise.
1655 * include/backward/defalloc.h: Likewise.
1656 * include/backward/deque.h: Likewise.
1657 * include/backward/function.h: Likewise.
1658 * include/backward/hash_map.h: Likewise.
1659 * include/backward/hash_set.h: Likewise.
1660 * include/backward/hashtable.h: Likewise.
1661 * include/backward/heap.h: Likewise.
1662 * include/backward/iterator.h: Likewise.
1663 * include/backward/list.h: Likewise.
1664 * include/backward/map.h: Likewise.
1665 * include/backward/multimap.h: Likewise.
1666 * include/backward/multiset.h: Likewise.
1667 * include/backward/pair.h: Likewise.
1668 * include/backward/rope.h: Likewise.
1669 * include/backward/set.h: Likewise.
1670 * include/backward/slist.h: Likewise.
1671 * include/backward/stack.h: Likewise.
1672 * include/backward/strstream: Likewise.
1673 * include/backward/tempbuf.h: Likewise.
1674 * include/backward/tree.h: Likewise.
1675 * include/backward/vector.h: Likewise.
1676 * include/bits/pthread_allocimpl.h: Likewise.
1677 * include/bits/std_algorithm.h: Likewise.
1678 * include/bits/std_bitset.h: Likewise.
1679 * include/bits/std_deque.h: Likewise.
1680 * include/bits/std_functional.h: Likewise.
1681 * include/bits/std_iterator.h: Likewise.
1682 * include/bits/std_list.h: Likewise.
1683 * include/bits/std_map.h: Likewise.
1684 * include/bits/std_memory.h: Likewise.
1685 * include/bits/std_numeric.h: Likewise.
1686 * include/bits/std_queue.h: Likewise.
1687 * include/bits/std_set.h: Likewise.
1688 * include/bits/std_stack.h: Likewise.
1689 * include/bits/std_utility.h: Likewise.
1690 * include/bits/std_vector.h: Likewise.
1691 * include/bits/stl_algo.h: Likewise.
1692 * include/bits/stl_algobase.h: Likewise.
1693 * include/bits/stl_alloc.h: Likewise.
1694 * include/bits/stl_bvector.h: Likewise.
1695 * include/bits/stl_construct.h: Likewise.
1696 * include/bits/stl_deque.h: Likewise.
1697 * include/bits/stl_function.h: Likewise.
1698 * include/bits/stl_heap.h: Likewise.
1699 * include/bits/stl_iterator.h: Likewise.
1700 * include/bits/stl_iterator_base_funcs.h: Likewise.
1701 * include/bits/stl_iterator_base_types.h: Likewise.
1702 * include/bits/stl_list.h: Likewise.
1703 * include/bits/stl_map.h: Likewise.
1704 * include/bits/stl_multimap.h: Likewise.
1705 * include/bits/stl_multiset.h: Likewise.
1706 * include/bits/stl_numeric.h: Likewise.
1707 * include/bits/stl_pair.h: Likewise.
1708 * include/bits/stl_pthread_alloc.h: Likewise.
1709 * include/bits/stl_queue.h: Likewise.
1710 * include/bits/stl_raw_storage_iter.h: Likewise.
1711 * include/bits/stl_relops.h: Likewise.
1712 * include/bits/stl_set.h: Likewise.
1713 * include/bits/stl_stack.h: Likewise.
1714 * include/bits/stl_tempbuf.h: Likewise.
1715 * include/bits/stl_threads.h: Likewise.
1716 * include/bits/stl_tree.h: Likewise.
1717 * include/bits/stl_uninitialized.h: Likewise.
1718 * include/bits/stl_vector.h: Likewise.
1719 * include/bits/type_traits.h: Likewise.
1720 * include/ext/hash_map: Likewise.
1721 * include/ext/hash_set: Likewise.
1722 * include/ext/rope: Likewise.
1723 * include/ext/ropeimpl.h: Likewise.
1724 * include/ext/slist: Likewise.
1725 * include/ext/stl_hash_fun.h: Likewise.
1726 * include/ext/stl_hashtable.h: Likewise.
1727 * include/ext/stl_rope.h: Likewise.
1728 * libsupc++/unwind-cxx.h: Likewise.
1729 * src/bitset.cc: Likewise.
1730 * src/strstream.cc: Likewise.
1732 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1734 * include/bits/indirect_array.h (indirect_array<>::operator=):
1735 Make copy and assignment operator public. Implement. Format.
1737 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1738 for copy between index arrays. Format.
1740 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1742 * mknumeric_limits: Add static definitions, format.
1743 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1745 * include/c_std/bits/std_cwchar.h: Include ctime.
1746 * testsuite/17_intro/header_cwchar.cc : Check.
1748 * include/c_std/bits/std_cwctype.h: Inject wctype.
1749 * testsuite/17_intro/header_cwctype.cc: Update.
1751 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1753 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1754 * testsuite/20_util/raw_storage_iterator.cc: Same.
1756 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1758 (__mem_interface): New typedef for switching between malloc and new.
1759 * testsuite/20_util/allocator_members.cc: New file.
1761 * testsuite/20_util/comparisons.cc: New file.
1762 * testsuite/20_util/pairs.cc: New file.
1764 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1766 * docs/html/documentation.html: Point to new doxygen'ed collection.
1768 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1770 * configure.in (auxdir): Replace by ...
1771 (toprel): ... new variable.
1772 (toplevel_srcdir): Construct from $toprel.
1773 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1774 rather than .. to locate gcc source directory.
1775 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1776 * aclocal.m4, configure: Rebuilt.
1778 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1780 (Approved by Mark and Benjamin. Applied by Loren.)
1782 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1783 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1784 and _GLIBCPP_mutex_address.
1785 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1786 once-only runtime initialization of _M_lock mutex when
1787 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1788 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1789 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1791 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1793 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1795 * include/bits/slice_array.h (slice_array<>::operator=): Make
1796 public and implement.
1797 (slice_array<>::slice_array): Make copy-constructor public.
1799 * include/bits/valarray_array.h (__valarray_copy): Add another
1800 overload to copy between strided arrays.
1802 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1804 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1805 * aclocal.m4: Regenerate.
1806 * configure: Regenerate.
1807 * include/bits/c++config (__GLIBCPP__): Update date.
1809 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1811 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1812 return original, non-modified version.
1813 (fpos::operator+): Same.
1814 * testsuite/27_io/fpos.cc: Add test.
1816 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1819 * porting.texi: Add documentation about libstdc++-v3-specific
1820 macros that are currently included in os_defines.h files.
1822 * config/basic_file_stdio.h (sys_getc): New method.
1823 (sys_ungetc): New method.
1824 * include/bits/basic_file.h: (sys_getc): New method signature.
1825 (sys_ungetc): New method signature.
1827 * include/bits/fstream.tcc (underflow): Add conditional code
1828 paths which avoid using short seeks on streams (especially
1829 useful when the stream might be interactive or a pipe). At
1830 the moment, this alternate path only avoids seeking when the
1831 ``buffer size'' of underflow() is 1 since the C standard only
1832 guarantees buffer space for one ungetc (this technique could
1833 be extended since *-*-solaris* supports buffering for 4 calls
1834 to ungetc and *-*-*bsd* supports buffering limited only by
1835 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1836 in a port's os_defines.h file for this alternate path to even
1837 be considered. As a bonus, the idiom of using getc/ungetc
1838 requires no system calls whereas fseek maps to one or two
1839 system call(s) on many platforms.
1841 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1843 * config/os/solaris/solaris2.5/bits/os_defines.h
1844 (_GLIBCPP_AVOID_FSEEK): Likewise.
1845 * config/os/solaris/solaris2.6/bits/os_defines.h
1846 (_GLIBCPP_AVOID_FSEEK): Likewise.
1847 * config/os/solaris/solaris2.7/bits/os_defines.h
1848 (_GLIBCPP_AVOID_FSEEK): Likewise.
1850 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1852 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1853 AC_TRY_COMPILE, so that the built compiler is checked, and
1854 bootstraps or cross compiles with an older compile still work.
1855 * aclocal.m4: Regenerate.
1856 * configure: Regenerate.
1858 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1861 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1864 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1867 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1870 * include/bits/limits_generic.h: Fix as per DR 184.
1872 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1875 * include/bits/basic_string.h (string::compare): Adjust signatures
1877 * include/bits/basic_string.tcc: And here.
1880 * config/c_io_stdio.h: Remove whitespace.
1881 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1882 (test02): Add regression.
1883 * testsuite/27_io/istream_seeks-3.tst: New file.
1885 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1887 * README: Update to reflect reality.
1888 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1889 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1890 * aclocal.m4: Regenerate.
1891 * configure: Regenerate (with 2.13).
1893 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1896 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1898 * include/bits/istream.tcc (istream::seekg): Same.
1899 * testsuite/27_io/istream_seeks.cc: Fix.
1902 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1904 * include/bits/std_queue.h: Add c++config.h.
1905 * testsuite/20_util/binders.cc: New test.
1907 2001-06-11 Matthias Klose <doko@debian.org>
1908 Phil Edwards <pme@sources.redhat.com>
1910 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1911 (main script): Echo more information.
1913 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1915 * include/c_std/bits/std_cwchar.h: Alphabetize.
1916 * include/bits/char_traits.h: Tweak.
1917 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1918 everything used by std_cwchar.h.
1919 * aclocal.m4: Regenerate.
1920 * configure.in: Regenerate.
1921 * config.h.in: Regenerate.
1923 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1925 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1926 Add checking for strtof, _Exit in stdlib.h
1927 * aclocal.m4: Regenerate.
1928 * configure.in: Regenerate.
1929 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1930 (snprintf): Put C99 functions into __gnu_cxx namespace.
1935 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1936 for C99 functions within _GLIBCPP_USE_C99 guard.
1940 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1941 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1943 * include/c_std/bits/cmath.tcc: Formatting tweak.
1944 * include/c_std/bits/std_cmath.h: Same.
1946 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1948 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1950 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1951 Stephen L Moshier <moshier@mediaone.net>
1953 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1954 nothing, as in autoconf 2.50.
1955 * configure: Rebuilt.
1957 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1959 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1960 include std_cstddef.
1961 * include/c_std/bits/std_ctime.h: Same.
1962 * include/c_std/bits/std_cstring.h: Same.
1963 * include/c_std/bits/std_cstdlib.h: Same.
1965 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1966 * include/c_std/bits/std_cctype.h: Remove isblank.
1968 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1970 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1972 * aclocal.m4: Regenerate.
1973 * configure: Regenerate.
1974 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1975 injection, guard fgetwc, fgetws.
1976 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1977 * include/c_std/bits/std_clocale.h: And here.
1978 * include/c_std/bits/std_cctype.h: And here.
1979 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1981 * config/basic_file_stdio.h: Don't include unistd.h.
1982 * config/c_io_stdio.h: Don't use compatibility headers.
1983 * libsupc++/eh_terminate.cc: Qualify abort.
1984 (__terminate): And here.
1985 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1987 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1989 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1991 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1996 * include/std/*: Add copyright notice.
1997 * include/c_std/bits/*: Use using statements instead of extern "C".
1998 * include/c_std/bits/std_cmath.h: Don't overload double versions
1999 of math functions with __buitin versions, use global version to
2000 prevent ambiguities. Remove define hacks.
2001 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2002 functions that have changed signatures and std::
2003 declarations. Remove define hacks.
2004 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2005 __builtins in std::. Remove define hacks.
2006 * testsuite/17_intro/headers_c.cc: Add tests.
2007 * testsuite/17_intro/headers_c++.cc: Add test.
2009 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2010 John David Anglin <dave@hiauly1.hia.nrc.ca>
2013 * libsupc++/eh_alloc.cc: Ensure that required macros are
2014 defined before including gthr.h. Ensure that we get the
2015 version of gthr.h for which we know how to provide a
2017 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2018 code path into line with the current EH model. Use std, where
2021 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2022 John David Anglin <dave@hiauly1.hia.nrc.ca>
2024 * config/threads-no.h: Remove file.
2025 * config/threads-posix.h: Remove file.
2027 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2028 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2029 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2030 * config.h.in: Regenerate.
2032 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2033 setup and use gthr*.h files. In particular, make gthr.h files
2034 namespace-clean in the staging area (they don't have to be for
2036 * aclocal.m4: Regenerate.
2037 * configure: Regenerate.
2039 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2040 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2041 * src/Makefile.in: Regenerate.
2043 * include/bits/c++config: Cleanup threading configuration macros.
2044 In particular, define __STL_GTHREADS macro which controls...
2045 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2048 * config/c_io_stdio.h: Include staged gthr.h instead of local
2049 thread configuration file. Always use __gthread_mutex_t
2050 instead of __mutext_type (or int).
2051 * include/bits/std_fstream.h: Likewise.
2053 * docs/html/17_intro/howto.html: Remove placeholder comment in
2054 case this configuration patch didn't make it. Add advice that
2055 section only applies if configured with --enable-threads.
2056 * docs/html/23_containers/howto.html: Reword to make clear
2057 that _PTHREADS is no longer required for any port to be
2058 correctly using STL with threads. Add advice that section
2059 only applies if configured with --enable-threads.
2061 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2063 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2065 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2068 * include/bits/basic_ios.tcc: Formatting tweaks.
2069 * include/bits/ios_base.h: Formatting tweaks.
2070 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2071 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2072 * src/globals.cc: Allocate filebufs for standard streams here.
2073 (buf_cout, buf_cin, buf_cerr): Like so.
2074 (buf_wcout, buf_wcin, buf_wcerr): And so.
2075 * testsuite/27_io/ios_init.cc: Add.
2077 2001-06-04 Brendan Kehoe <brendan@zen.org>
2078 Benjamin Kosnik <bkoz@redhat.com>
2081 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2082 for generic ctype virtuals.
2083 * src/locale.cc: Minor tweaks, naming consistency.
2084 * testsuite/22_locale/ctype.cc: Add test.
2086 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2087 Phil Edwards <pme@sources.redhat.com>
2089 PR libstdc++/3035 and PR libstdc++/3036
2090 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2091 to LWG DR 181 and 265.
2093 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2096 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2097 equal_range): Add const overloads as per LWG DR 214.
2098 * include/bits/stl_set.h: Likewise.
2100 2001-06-04 Brendan Kehoe <brendan@zen.org>
2101 Phil Edwards <pme@sources.redhat.com>
2104 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2105 comparison; all positions must be < _Nb.
2106 * testsuite/23_containers/bitset_members.cc: New file.
2108 2001-06-04 Brendan Kehoe <brendan@zen.org>
2111 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2112 ctors to match the standard.
2114 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2116 * include/bits/char_traits.h (move): Reverse qualification of
2118 (copy): Reverse qualification of memcpy with std::.
2120 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2122 * include/bits/char_traits.h (move): Qualify memmove with std::.
2123 (copy): Qualify memcpy with std::.
2124 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2127 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2129 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2131 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2132 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2133 SUN make VPATH peculiarities.
2134 * libsupc++/Makefile.in: Regenerate.
2136 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2138 * src/Makefile.am (VPATH): Delimit with ":", not space.
2139 * src/Makefile.in: Regenerate.
2141 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2143 * configure: Regenerate.
2145 2001-05-31 scott snyder <snyder@fnal.gov>
2148 * include/bits/istream.tcc: Include std_ostream.h.
2150 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2153 * src/bitset.cc: Qualify size_t with std::.
2155 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2157 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2158 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2159 * config.h.in: Regenerate.
2160 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2161 * aclocal.m4: Regenerate.
2162 * configure.in: Don't call it.
2163 * configure: Regenerate.
2166 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2167 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2171 * include/bits/std_complex.h: Include sstream. Put definitions for
2172 complex inserters and extractors here, and remove them from...
2173 * src/complex_io.cc: ...here.
2174 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2176 (basic_ios::__numget_type): Same.
2177 * include/bits/std_istream.h: Same.
2178 * include/bits/std_ostream.h: Same.
2179 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2180 class iterator template arguments.
2181 * src/locale-inst.cc: Add explicit has_facet instantiations.
2182 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2183 (_M_get_fnumput): Remove.
2184 (_M_get_fnumget): Remove.
2185 (basic_ios::_M_check_facet): New function.
2186 (basic_ios::_M_cache_facets): New function.
2187 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2188 (basic_ios::imbue): Call _M_cache_facets.
2189 (basic_ios::init): Same.
2190 * include/bits/istream.tcc: Format, use _M_check_facet.
2191 * include/bits/ostream.tcc: Same.
2192 * include/bits/locale_facets.tcc (__output_float): Change
2193 signature, add _Traits.
2194 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2197 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2199 * include/bits/c++config (__USE_MALLOC): Do not define it.
2200 Document why not and give pointers to more information.
2202 * docs/html/23_containers/howto.html: Update documentation
2203 to reflect recent understanding of problem.
2204 * docs/html/17_intro/howto.html: Likewise.
2206 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2208 * docs/doxygen/user.cfg.in: Minor addition.
2209 * docs/html/documentation.html: Reorganize. Put most-looked-at
2211 * docs/html/install.html: Update for 3.0. HTML fixups.
2212 * docs/html/17_intro/howto.html: Likewise.
2213 * docs/html/18_support/howto.html: Likewise.
2214 * docs/html/19_diagnostics/howto.html: Likewise.
2215 * docs/html/20_util/howto.html: Likewise.
2216 * docs/html/23_containers/howto.html: Likewise.
2217 * docs/html/24_iterators/howto.html: Likewise. More notes.
2218 * docs/html/25_algorithms/howto.html: Likewise.
2219 * docs/html/26_numerics/howto.html: Likewise. More notes.
2220 * docs/html/27_io/howto.html: Likewise.
2221 * docs/html/ext/howto.html: Likewise.
2222 * docs/html/faq/index.html: Likewise.
2223 * docs/html/faq/index.txt: Regenerate.
2224 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2225 Doxygen-created documentation.
2227 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2229 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2230 get_multilibs to find gcc.
2232 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2234 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2235 * aclocal.m4: Regenerate.
2236 * configure: Regenerate.
2238 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2240 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2241 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2243 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2245 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2246 * include/c_std/bits/std_cstdlib.h: Same.
2247 * include/c_std/bits/std_cwchar.h: Same.
2249 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2251 * docs/html/17_intro/howto.html: Update link.
2252 * docs/html/23_containers/howto.html: Likewise. Add new link.
2254 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2256 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2258 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2260 * mknumeric_limits: Stop if gen-num-limits dies.
2262 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2265 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2266 * aclocal.m4: Regenerate.
2269 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2270 Phil Edwards <pme@sources.redhat.com>
2271 Alexandre Oliva <aoliva@redhat.com>
2273 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2274 in an amd-safe manner. Revert glibcpp_prefixdir.
2276 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2278 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2279 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2282 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2285 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2286 * include/bits/ostream.tcc: Format to match istream.tcc.
2287 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2289 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2291 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2293 (__cxa_free_exception): Likewise with free.
2295 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2297 * include/c_std/bin/std_cstring.h: #define away all global
2298 functions we will redeclare in namespace `std'.
2299 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2300 std::memset, instead of memset.
2301 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2303 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2306 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2309 * include/bits/basic_ios.tcc: Small tweak.
2310 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2311 ctors and dtors, and rdbuf settings.
2314 * include/bits/std_sstream.h: Same, but for stringstream classes.
2315 * testsuite/27_io/ostringstream_members.cc: New.
2316 * testsuite/27_io/stringstream_members.cc: New.
2317 * testsuite/27_io/fstream_members.cc: New.
2318 * testsuite/27_io/ifstream_members.cc: Add test.
2319 * testsuite/27_io/istringstream_members.cc: Add test.
2320 * testsuite/27_io/ofstream_members.cc: Add test.
2322 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2324 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2325 * config/os/gnu-linux/bits/os_defines.h: ...here.
2327 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2329 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2330 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2332 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2335 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2337 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2338 (libstdc++-v3-finish): Remove.
2339 (libstdc++-v3_exit): Remove.
2341 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2343 * docs/html/documentation.html: Point to doxygen output.
2345 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2347 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2349 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2350 arguments to be non-null.
2351 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2352 try allocations if allocated size is greater than zero.
2353 (filebuf::_M_filebuf_init): Change to
2354 (filebuf::_M_allocate_file): Which is what it does now.
2355 (filebuf::_M_allocate_bufers): Change to
2356 (filebuf::_M_allocate_internal_buffer): This, and create
2357 (filebuf::_M_allocate_pback_buffer): New.
2358 (filebuf::_M_destroy_internal_buffer): New.
2359 (filebuf::_M_buf_allocated): New data member.
2360 (filebuf::setbuf): Use new logic, allow use of external buffer.
2361 * testsuite/27_io/stringbuf_virtuals.cc: New file.
2362 * testsuite/27_io/filebuf_virtuals.cc: New file.
2364 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
2366 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2368 (strchr): Same, but to __glibcpp_strchr.
2372 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2378 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2380 * testsuite/21_strings/c_strings.cc (main): Fix.
2382 2001-05-19 Phil Edwards <pme@sources.redhat.com>
2384 * acinclude.m4: Fix --help spacing, correct comments.
2385 * aclocal.m4: Regenerate.
2386 * configure: Regenerate.
2387 * mkcheck.in: Add usage comments.
2388 * docs/html/documentation.html: Point to doxygen'd tarball.
2390 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2392 * testsuite/README: Add notes.
2394 * src/Makefile.am (libstdc++.INC): Remove.
2395 * src/Makefile.in: Regenerate.
2397 Phil Edwards <pedwards@disaster.jaj.com>
2398 * mkcheck.in: Add missing '#'.
2400 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2402 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
2403 appropriately for remote testing and testing installed files without
2406 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2408 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2409 amd glibcpp_prefixdir with absolute paths.
2411 * include/bits/c++config (__GLIBCPP__): Bump.
2412 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
2414 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
2416 * include/bits/std_valarray.h (valarray<>::operator[] const):
2417 Return a const reference.
2418 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
2420 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2422 * configure.target (ATOMICITYH): Actually use AIX-specific code on
2423 earlier versions of AIX 4.*.
2425 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2427 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
2428 output_file based on the name of the testcase.
2430 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2432 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
2433 gluefile and use it if needs_status_wrapper is set.
2435 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2437 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
2440 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
2442 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
2443 on earlier versions of AIX.
2445 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
2447 * testsuite_flags.in (query): Add backwards, ext directories.
2449 2001-05-15 Mark Mitchell <mark@codesourcery.com>
2451 * porting.texi: Correct documentation about handling
2452 _LARRGEFILE_SOURCE and its ilk.
2453 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2454 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
2456 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
2457 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2459 2001-05-15 Zack Weinberg <zackw@stanford.edu>
2461 * testsuite/21_strings/inserters_extractors.cc,
2462 testsuite/27_io/istream_unformatted.cc,
2463 testsuite/27_io/stringstream.cc:
2464 Replace multi-line string constants with C89-style
2465 concatenated string constants.
2467 2001-05-14 Richard Henderson <rth@redhat.com>
2469 * mknumeric_limits: Build with -fno-exceptions.
2471 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
2473 Switch over to new harness.
2474 * testsuite_flags.in: Tweaks via Gaby.
2475 * testsuite/Makefile.am: Change tool to libstdc++-v3.
2476 (EXPECT): Quote directly.
2478 * configure.in: Output testsuite_flags.
2479 * acinclude.m4: Substitute src, bld, and prefix dirs.
2480 Remove glibcpp_expect, glibcpp_runtestflags.
2481 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
2482 * mkcheck.in: Port to new interface.
2484 * aclocal.m4: Regerate.
2485 * configure: Regnerate.
2486 * Makefile.in: Regnerate.
2487 * */Makefile.in: Regenerate.
2489 * tests_flags.in: Remove.
2490 * testsuite/lib/libstdc++.exp: Remove.
2491 * testsuite/libstdc++.tests/tests.exp: Remove.
2493 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
2495 * configure.target: Remove detection of AIX pthread multilib, now
2496 obtained from `gcc -v'.
2498 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2500 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
2501 size. Add hpux case for HP size.
2503 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2505 * testsuite_flags.in: New, simplified interface.
2506 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
2507 * testsuite/libstdc++-v3.dg: Add.
2508 * testsuite/libstdc++-v3.dg/dg.exp: Add.
2510 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2512 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2513 * testsuite/config/default.exp: Update bugs email address.
2515 2001-05-11 Richard Henderson <rth@redhat.com>
2517 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
2518 all pointer encoding logic.
2519 (struct lsda_header_info): Add ttype_base.
2520 (get_ttype_entry): Use it instead of a context.
2521 (check_exception_spec): Likewise.
2522 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
2523 the c++ exception header for __cxa_call_unexpected.
2524 (__cxa_call_unexpected): Use it.
2526 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
2528 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2529 libgloss_link_flags to find crt0.o for targets that use libgloss
2531 Change LDFLAGS to LIBS.
2532 Consistently name procedures libstdc++-XXX.
2533 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2535 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
2537 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2542 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2547 * testsuite/21_strings/c_strings.cc: Add tests.
2549 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
2552 * include/bits/std_fstream.h (basic_filebuf): Change signature.
2553 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2554 to int_type, pass in buffer size info.
2555 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2556 unbuffered situation.
2557 (underflow): Remove codecvt bits for the time being.
2558 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2559 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2560 values from iterators, clean.
2561 * src/locale.cc: Ditto.
2562 * include/bits/sbuf_iter.h: Format.
2563 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2564 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2565 * testsuite/27_io/filebuf.cc: Tweaks.
2566 * testsuite/27_io/filebuf_members.cc: Tweaks.
2568 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2570 * config/os/solaris/solaris2.7/bits/os_defines.h
2571 (_LARGEFILE_SOURCE): Define it.
2573 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
2575 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2576 -prefer-non-pic depending on whether libtool has shared libraries
2577 enabled or disabled.
2578 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2579 $(LIBSUPCXX_PICFLAGS).
2580 * configure, */Makefile.in: Rebuilt.
2582 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
2584 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2585 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2587 * include/bits/std_sstream.h (stringbuf): Leak
2589 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2591 2001-05-01 Tom Browder <tbrowder@home.com>
2593 * docs/html/ext/howto.html: Fix typo.
2595 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2597 * testsuite/libstdc++.tests/tests.exp: Add comment.
2599 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2601 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2603 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2605 * porting.texi: Use the GFDL.
2607 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2610 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2611 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2614 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2617 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2619 2001-04-28 Phil Edwards <pme@sources.redhat.com>
2621 * docs/doxygen/run_doxygen: Minor tweaks.
2622 * docs/doxygen/style.css: New file.
2623 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
2624 latest parameters available. Use style.css.
2626 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
2628 * docs/doxygen/mainpage.doxy: New.
2629 * docs/doxygen/user.cfg.in: Change default configuration. Single
2630 frame, other tweaks.
2632 2001-04-26 Mark Mitchell <mark@codesourcery.com>
2634 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2635 Indicate obsolete nature of thelist for G++ 3.0.
2637 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
2639 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2640 target_thread_file with `gcc -v'.
2641 * aclocal.m4, configure: Rebuilt.
2643 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
2645 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2646 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2647 * include/c_std/bits/std_cwchar.h (std): Same.
2648 * acconfig.h (std): Remove c99 injection into std.
2649 * config.h.in: Regenerate.
2651 * testsuite/README: Fix typo.
2653 * include/bits/codecvt.h: Remove warnings.
2655 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2657 * include/ext/slist: Include required header files.
2659 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
2661 * include/c_std/bits/std_cerrno.h (errno): Define macro from
2662 identifier declared with external linkage, if needed.
2663 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2664 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2666 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
2668 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2669 re-configures find the build compiler.
2670 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2672 * aclocal.m4: Regenerate.
2673 * configure: Regenerate.
2675 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
2677 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2678 support is enabled correctly before long long is activated.
2679 * aclocal.m4: Regenerate.
2680 * configure: Regenerate.
2682 * include/backward/backward_warning.h: Format correctly.
2684 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2685 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2686 * testsuite/26_numerics/c99_macros.cc: Remove.
2688 2001-04-20 Phil Edwards <pme@sources.redhat.com>
2690 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
2691 __iterator_category.
2693 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
2695 * acconfig.h (_GLIBCPP_USE_C99): Add.
2696 * config.h.in: Regenerate.
2697 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2699 * aclocal.m4: Regenerate.
2700 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2701 * configure: Regenerate.
2702 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2703 * configure: Regenerate.
2704 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2706 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2708 * include/c_std/bits/std_cstdlib.h: Same.
2709 * docs/html/configopts.html: Update.
2710 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2712 (test_c99_classify): Add.
2713 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2714 (_ISOC99_SOURCE): Remove.
2716 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2717 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2718 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2719 * aclocal.m4: Regenerate.
2720 * configure: Regenerate.
2722 2001-04-19 Phil Edwards <pme@sources.redhat.com>
2724 * Makefile.am (doxygen): Assume script is missing execute perms.
2725 * Makefile.in: Regenerated.
2726 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
2728 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
2730 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2732 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2734 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2735 * testsuite/23_containers/set_operators.cc: Same.
2737 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2739 (__GLIBCPP__): Bump from value of last release.
2740 * include/bits/concept_check.h: Default to off, edit comments.
2741 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2742 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2743 * src/Makefile.in: Regenerate.
2745 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2747 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2748 Properly uglify member.
2750 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2752 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2756 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2758 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2759 * include/bits/concept_check.h: Uglify.
2760 * include/bits/stl_algo.h: Likewise.
2761 * include/bits/stl_algobase.h: Likewise.
2762 * include/bits/stl_deque.h: Likewise.
2763 * include/bits/stl_heap.h: Likewise.
2764 * include/bits/stl_iterator_base_funcs.h: Likewise.
2765 * include/bits/stl_list.h: Likewise.
2766 * include/bits/stl_map.h: Likewise.
2767 * include/bits/stl_multimap.h: Likewise.
2768 * include/bits/stl_multiset.h: Likewise.
2769 * include/bits/stl_numeric.h: Likewise.
2770 * include/bits/stl_queue.h: Likewise.
2771 * include/bits/stl_set.h: Likewise.
2772 * include/bits/stl_stack.h: Likewise.
2773 * include/bits/stl_vector.h: Likewise.
2774 * include/ext/hash_map: Likewise.
2775 * include/ext/hash_set: Likewise.
2776 * include/ext/slist: Likewise.
2778 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2780 * testsuite/23_containers/set_operators.cc: Just try to compile.
2782 * testsuite/23_containers/map_operators.cc: Same.
2784 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2786 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2788 (dg-test): Revert rth's change.
2790 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2792 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2793 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2795 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2797 * testsuite/README: Add DejaGnu specific documentation.
2799 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2801 * acinclude.m4: AC_CHECK_TOOL for expect.
2802 * aclocal.m4: Regenerate.
2803 * configure: Regenerate.
2804 * testsuite/Makefile.am (RUNTEST): Use substituted.
2807 * configure.in: Remove xcompiling substitution.
2808 * tests_flags.in (CROSS_LIB_PATH): Remove.
2809 (xcompiling): Remove.
2810 (CXX): Use substituted CXX.
2812 2001-04-11 Richard Henderson <rth@redhat.com>
2814 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2816 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2818 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2821 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2823 * testsuite/25_algorithms/equal.cc: New test.
2825 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2827 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2828 operator != (one line patch).
2830 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2832 * include/backward/backward_warning.h: Re-enable.
2834 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2835 Alexandre Oliva <aoliva@redhat.com>
2837 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2839 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2841 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2842 * testsuite/26_numerics/c99_macros.cc: Add test.
2844 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2846 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2847 * docs/html/faq/index.txt: Regenerated.
2849 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2851 * include/backward/backward_warning.h: Temporarily disable until
2852 g++ testsuite changes go in.
2853 * tests_flags.in (CROSS_LIB_PATH): Add.
2855 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2857 Warn when using backward headers.
2858 * include/backward/algo.h: Include warning file.
2859 * include/backward/vector.h: Same.
2860 * include/backward/tree.h: Same.
2861 * include/backward/tempbuf.h: Same.
2862 * include/backward/strstream: Same.
2863 * include/backward/streambuf.h: Same.
2864 * include/backward/stream.h: Same.
2865 * include/backward/stack.h: Same.
2866 * include/backward/slist.h: Same.
2867 * include/backward/set.h: Same.
2868 * include/backward/rope.h:
2869 * include/backward/queue.h: Same.
2870 * include/backward/pair.h: Same.
2871 * include/backward/ostream.h: Same.
2872 * include/backward/new.h: Same.
2873 * include/backward/multiset.h: Same.
2874 * include/backward/multimap.h: Same.
2875 * include/backward/map.h: Same.
2876 * include/backward/list.h: Same.
2877 * include/backward/iterator.h: Same.
2878 * include/backward/istream.h: Same.
2879 * include/backward/iostream.h:
2880 * include/backward/iomanip.h:
2881 * include/backward/heap.h: Same.
2882 * include/backward/hashtable.h:
2883 * include/backward/hash_set.h:
2884 * include/backward/hash_map.h:
2885 * include/backward/function.h:
2886 * include/backward/fstream.h:
2887 * include/backward/deque.h:
2888 * include/backward/defalloc.h: Same.
2889 * include/backward/complex.h: Same.
2890 * include/backward/bvector.h:
2891 * include/backward/alloc.h:
2892 * include/backward/algobase.h: Same.
2894 * include/backward/backward_warning.h: New file.
2895 * src/Makefile.am (backward_headers): Add backward_warning.h
2896 * src/Makefile.in: Regenerate.
2898 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2900 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2902 (myinstallheaders): Install backward headers in backward directory.
2903 * src/Makefile.in: Regenerate.
2905 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2907 Prepare for libstdc++-2.92.
2908 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2909 * docs/html/configopts.html: Fix formatting.
2910 * README (file): Updates.
2911 * include/bits/c++config (__GLIBCPP__): Update.
2913 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2915 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2917 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2919 * docs/doxygen/user.cfg.in: Extract all non-private members;
2920 reduce confusing documentation output.
2922 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2924 * include/backward/fstream.h: Add missing semicolons.
2926 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2928 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2929 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2930 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2931 (ios_base::Init::_S_ios_create): New.
2932 (ios_base::Init::_S_ios_destroy): New.
2933 * include/bits/std_fstream.h: Change ctor args.
2934 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2935 (ios_base::Init::~Init): Use _S_ios_destroy.
2936 (ios_base::sync_with_stdio): Use new members.
2937 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2940 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2942 * include/backward/fstream.h: Expose streampos to global
2945 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2947 * include/bits/stl_iterator_base_types.h: Fix typo
2949 2001-04-03 Andreas Schwab <schwab@suse.de>
2951 * include/backward/fstream.h: Define filebuf and wfilebuf.
2953 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2955 New concept checking implementation.
2956 * docs/html/19_diagnostics/howto.html: Document.
2957 * docs/html/17_intro/concept_check.diff: New file, for reference.
2958 * include/bits/boost_concept_check.h: New file from Boost.
2959 * include/bits/c++config: Update comments.
2961 * include/bits/concept_check.h: New file.
2962 * include/bits/concept_checks.h: Removed.
2963 * include/bits/container_concepts.h: Removed.
2964 * include/bits/sequence_concepts.h: Removed.
2965 * include/bits/stl_iterator_base.h: Removed; split into...
2966 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2967 * include/bits/stl_iterator_base_types.h: ...and this new file.
2969 * include/bits/sbuf_iter.h: Update to use new implementation.
2970 * include/bits/std_iterator.h: Likewise.
2971 * include/bits/std_memory.h: Likewise.
2972 * include/bits/stl_algo.h: Likewise.
2973 * include/bits/stl_algobase.h: Likewise.
2974 * include/bits/stl_construct.h: Likewise.
2975 * include/bits/stl_deque.h: Likewise.
2976 * include/bits/stl_heap.h: Likewise.
2977 * include/bits/stl_list.h: Likewise.
2978 * include/bits/stl_map.h: Likewise.
2979 * include/bits/stl_multimap.h: Likewise.
2980 * include/bits/stl_multiset.h: Likewise.
2981 * include/bits/stl_numeric.h: Likewise.
2982 * include/bits/stl_queue.h: Likewise.
2983 * include/bits/stl_set.h: Likewise.
2984 * include/bits/stl_stack.h: Likewise.
2985 * include/bits/stl_uninitialized.h: Likewise.
2986 * include/bits/stl_vector.h: Likewise.
2987 * include/ext/hash_map: Likewise.
2988 * include/ext/hash_set: Likewise.
2989 * include/ext/slist: Likewise.
2990 * include/ext/stl_hashtable.h: Likewise.
2992 * src/Makefile.am (base_headers): Update list of headers.
2993 * Makefile.in: Regenerated.
2994 * src/Makefile.in: Regenerated.
2995 * libio/Makefile.in: Regenerated.
2996 * libmath/Makefile.in: Regenerated.
2997 * libsupc++/Makefile.in: Regenerated.
2998 * testsuite/Makefile.in: Regenerated.
3000 * docs/html/install.html: Update contact information.
3001 * docs/html/17_intro/howto.html: Ditto.
3002 * docs/html/18_support/howto.html: Ditto.
3003 * docs/html/20_util/howto.html: Ditto.
3004 * docs/html/21_strings/howto.html: Ditto.
3005 * docs/html/22_locale/howto.html: Ditto.
3006 * docs/html/23_containers/howto.html: Ditto.
3007 * docs/html/24_iterators/howto.html: Ditto.
3008 * docs/html/25_algorithms/howto.html: Ditto.
3009 * docs/html/26_numerics/howto.html: Ditto.
3010 * docs/html/27_io/howto.html: Ditto.
3011 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3012 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3013 * docs/html/faq/index.txt: Regenerated.
3015 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3017 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3018 messages with $which_library as well as $tool_flags and
3019 ${dg-extra-tool-flags}. Factor out annotation text into
3022 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3024 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3025 * include/c_std/bits/std_cwchar.h: Same.
3026 * testsuite/21_strings/c_strings.cc: Add.
3028 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3030 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3032 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3034 * tests_flags.in: Use test a = b, not test a == b which is not
3037 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3039 * configure.target: Remove duplicate aix entry.
3041 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3043 * include/ext/stl_bvector.h: Move to...
3044 * include/bits/stl_vector.h: ...here.
3045 * include/ext/bvector: Move to...
3046 * include/backward/bvector.h: ...here.
3047 * include/bits/std_vector.h: Change stl_bvector include.
3048 * include/bits/std_queue.h: Remove bvector include.
3049 * include/ext/tree: Insert using rb_tree, move to...
3050 * include/backward/tree.h: ...here.
3051 * include/backward/hash_map.h: Include ext/hash_map.
3052 * include/backward/hash_set.h: Include ext/hash_set.
3053 * include/backward/queue.h: New file.
3054 * include/backward/stack.h: Edit.
3055 * include/backward/algo.h: Same.
3056 * include/backward/algobase.h: Same.
3057 * include/backward/alloc.h: Same.
3058 * include/backward/function.h: Same.
3059 * include/backward/iomanip.h: Same.
3060 * include/backward/istream.h: Same.
3061 * include/backward/iterator.h: Same.
3062 * include/backward/list.h: Same.
3063 * include/backward/map.h: Same.
3064 * include/backward/multimap.h: Same.
3065 * include/backward/multiset.h: Same.
3066 * include/backward/ostream.h: Same.
3067 * include/backward/pair.h: Same
3068 * include/backward/rope.h: Same.
3069 * include/backward/set.h: Same.
3070 * include/backward/stream.h: Same.
3071 * include/backward/strstream.h: Same.
3072 * include/backward/tempbuf.h: Same.
3073 * src/Makefile.am (ext_headers): Edit.
3074 * src/Makefile.in: Regenerate.
3075 * testsuite/ext/headers.cc (main): Fix.
3078 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3080 * tests_flags.in (LIBS): Pass correct path for installed testing.
3082 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3084 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3085 * tests_flags.in (CXX): Construct here.
3086 (static_fail): Don't remove compile.out. Format with spaces.
3087 (INCLUDES): Deal with xcompiling.
3088 * configure.in (xcompiling): Substitute.
3089 * testsuite/Makefile.am: Snake libjava configury.
3090 * testsuite/Makefile.in: Regenerate.
3091 * testsuite/23_containers/map_operators.cc: Tweaks.
3092 * testsuite/23_containers/set_operators.cc: Tweaks.
3094 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3096 Enable dejagnu testing framework.
3097 * configure.in: Generate testsuite/Makefile.
3098 * configure: Regenerate.
3099 * Makefile.am (check-install): Change rule from this...
3100 (check-script-install): ...to this.
3101 (check): Change rule from this...
3102 (check-script):...to this.
3103 * Makefile.in: Regenerate.
3105 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3107 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3109 (LIBTOOL): Let automake take care of its definition.
3110 * libsupc++/Makefile.in: Rebuilt.
3112 2001-03-28 Richard Henderson <rth@redhat.com>
3114 IA-64 ABI Exception Handling:
3115 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3116 * configure.in: Use it.
3117 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3118 * libsupc++/Makefile.am (sources): Update files list.
3119 * libsupc++/Makefile.in: Regenerate.
3120 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3121 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3122 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3123 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3124 * libsupc++/exception_support.cc: Remove.
3125 * libsupc++/exception_support.h: Remove.
3126 * libsupc++/pure.cc: Use std::terminate.
3127 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3128 (__is_pointer): Remove.
3129 * libsupc++/unwind-cxx.h: New file.
3130 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3132 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3134 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3136 * src/Makefile.am (CXXLINK): Likewise.
3137 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3139 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3141 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3143 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3145 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3148 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3150 * include/bits/basic_file.h (get_fileno): Remove.
3151 (_M_fileno): Remove.
3152 (_M_cfile_created): Add.
3153 (basic_file::basic_file(__c_file_type*, openmode): Add.
3154 (basic_file::basic_file(int, const char*, openmode): Remove.
3155 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3156 const char*, ios_base::openmode): Don't allocate
3157 internal buffers. Turn off internal buffers.
3158 (basic_filebuf::overflow): Remove test for null buffer.
3159 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3160 * include/bits/streambuf.cc: Tweak.
3161 * include/bits/std_ostream.h: Tweak.
3162 * config/basic_file_libio.h: Same.
3163 * config/basic_file_stdio.h: Same.
3164 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3165 * testsuite/27_io/filebuf_members.cc: Tweaks.
3166 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3168 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3170 * Makefile.am: New targets, doxygen and doxygen-maint.
3171 * Makefile.in: Regenerated.
3172 * docs/doxygen/run_doxygen: Finally implemented.
3173 * docs/doxygen/maint.cfg.in: New file.
3174 * docs/doxygen/user.cfg.in: New file.
3176 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3178 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3179 * src/Makefile.am: Replace leading spaces with tabs on continuation
3181 * aclocal.m4: Regenerated.
3183 * Makefile.in: Ditto.
3184 * src/Makefile.in: Ditto.
3185 * libio/Makefile.in: Ditto.
3186 * libmath/Makefile.in: Ditto.
3187 * libsupc++/Makefile.in: Ditto.
3189 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3191 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
3192 concept-checking code and current status of same.
3193 * docs/html/ext/howto.html: Ditto.
3194 * docs/html/faq/index.html: Ditto.
3195 * docs/html/faq/index.txt: Regenerated.
3197 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3199 * include/bits/std_bitset.h: Include ostream and istream headers
3200 instead of iostream.
3202 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
3204 * include/bits/ostream.tcc: Use __builtin_alloca.
3206 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
3208 * src/misc-inst.cc (__sink_unused_warning): Move to...
3209 * src/locale-inst.cc (__sink_unused_warning): Move to...
3210 * src/stl-inst.cc: Here.
3211 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3214 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3216 * intclude/bits/basic_file.h: Fix typos in comments.
3218 2001-03-20 Richard Henderson <rth@redhat.com>
3220 * src/gen-num-limits.cc: Instantiate for wchar_t.
3221 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3223 2001-03-20 Jason Merrill <jason@redhat.com>
3225 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3226 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3227 * libsupc++/cxxabi.h: Declare it.
3229 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3231 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3232 signal_func with an unspecified argument list.
3234 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
3236 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3238 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3240 * include/bits/basic_string.tcc (operator+): Fix thinko.
3242 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
3245 * include/bits/std_streambuf.h: Remove cached locale facets.
3246 (basic_streambuf::_M_buf_fctype): Remove.
3247 (basic_streambuf::~basic_streambuf): Remove here.
3248 (basic_streambuf::basic_streambuf): Same.
3249 (basic_streambuf::imbue): Same.
3250 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3251 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3252 (basic_filebuf::~basic_filebuf()): Remove here.
3253 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3254 (basic_filebuf::imbue): Same.
3255 * include/bits/localefwd.h (_Count_ones): Remove.
3256 (locale::_S_num_categories): Just use 6, since this doesn't
3257 actually change, ever.
3258 * include/bits/locale_facets.tcc (has_facet): Simplify.
3260 * testsuite/27_io/filebuf.cc (test06): Add tests.
3262 2001-03-13 Steve Ellcey <sje@cup.hp.com>
3264 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3265 match HP-UX ctype.h header file.
3267 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
3269 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3270 duplicate definitions of __dj_ctype_*
3272 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
3274 * libsupc++/new: Remove pragma interface.
3275 * libsupc++/typeinfo: Same.
3276 * libsupc++/exception: Same.
3277 * libsupc++/new_handler.cc: Remove pragma implementation.
3278 (bad_alloc::~bad_alloc()): Add.
3279 * libsupc++/exception_support.cc: Same.
3280 (exception::~exception): Add.
3281 (bad_exception::~bad_exception): Add.
3282 * libsupc++/tinfo.cc: Same.
3283 (bad_cast::~bad_cast): Add.
3284 (bad_typeid::~bad_typeid): Add.
3286 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3288 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
3290 2001-03-12 Felix Lee <flee@redhat.com>
3292 * mkcheck.in: workaround for bash 2.01 IFS bug.
3294 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3296 Fixups for -fno-for-scope
3297 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3298 * src/valarray-inst.cc (__gslice_to_index): Same.
3300 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
3302 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3303 prior to trapping signal (UnixWare 7 workaround).
3305 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
3307 * include/backward/hashtable.h: Same.
3308 * include/backward/rope.h: Fix include.
3310 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3312 * include/backward/vector.h: Include std_vector.h.
3314 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3315 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3318 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3320 * include/ext/stl_hashtable.h: Change type of __n to size_t
3321 * include/backward/bvector.h: Include <ext/stl_bvector.h>
3323 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3325 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3326 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3327 Use streamsize, not int_type.
3329 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
3331 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3334 2001-03-08 Andreas Schwab <schwab@suse.de>
3336 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3338 * aclocal.m4, configure: Regenerated.
3340 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
3342 * include/bits/std_iosfwd.h: Remove string forward decls here.
3343 * include/bits/stringfwd.h: Add forward decls for char_traits
3345 * config/c_io_libio.h (wstreamoff): Delete.
3346 * config/c_io_stdio.h (wstreamoff): Same.
3347 * include/bits/char_traits.h: Use streamoff not wstreamoff for
3348 char_traits<wchar_t>::off_type.
3349 Remove duplicate typedefs.
3350 * include/bits/fpos.h: Define streampos/wstreampos here.
3351 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3354 Changeup output files.
3355 * testsuite/27_io/istream_unformatted.cc: Change output files.
3356 * testsuite/27_io/istream_seeks-1.txt: Add.
3357 * testsuite/27_io/istream_seeks-2.tst: Add.
3358 * testsuite/27_io/istream_seeks-1.tst: Add.
3359 * testsuite/27_io/istream_unformatted-2.tst: Delete.
3360 * testsuite/27_io/istream_unformatted-3.tst: Delete.
3361 * testsuite/27_io/istream_unformatted-3.txt: Delete.
3363 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
3365 Add Irix 5.2, 6.3 support.
3366 * config/os/irix/bits: Renamed to...
3367 * config/os/irix/irix6.5/bits: this.
3368 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3369 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3370 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3371 * config/os/irix/irix5.2/bits/ctype_noninline.h
3372 (ctype<char>::ctype): Initialize _M_table with __ctype.
3373 * configure.target: Adjust.
3375 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
3378 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3379 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3381 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3382 (*__pf)(__ios_type&)): Same.
3383 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3384 (*__pf)(ios_base&))): Same.
3385 * testsuite/27_io/istream_extractor_other.cc: Add tests.
3386 * testsuite/27_io/istream_manip.cc (test01): Fix.
3388 2001-03-06 Nathan Myers <ncm@cantrip.org>
3389 Benjamin Kosnik <bkoz@redhat.com>
3391 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
3392 * testsuite/17_intro/header_cerrno.cc (test01): New file.
3393 * testsuite/17_intro/header_cassert.cc (test01): New file.
3394 * testsuite/17_intro/header_cstddef.cc (test01): New file.
3395 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
3396 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
3398 2001-03-05 scott snyder <snyder@fnal.gov>
3401 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
3403 * include/c_std/bits/std_cstdlib.h: ... to here.
3404 * testsuite/17_intro/header_cstdlib.cc: Add test.
3406 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
3408 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
3410 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
3412 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
3413 definition. Replace enum with static const variables.
3415 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
3416 throw specification, fix typos, use <static_cast>.
3417 (ctype<char>::scan_is): remove throw specification.
3418 (ctype<char>::scan_not): likewise.
3420 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
3421 (ctype<char>::do_toupper(char)): use <static_cast>.
3422 (ctype<char>::do_toupper(char *, const char *)): likewise.
3423 (ctype<char>::do_tolower(char)): likewise.
3424 (ctype<char>::do_tolower(char *, const char *)): likewise.
3426 2001-03-04 Phil Edwards <pme@sources.redhat.com>
3428 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
3429 * include/backward/algo.h: Use std not __STD. Remove unneeded
3430 macros and "never happens" code. Adjust to C++STYLE guidelines.
3431 * include/backward/algobase.h: Likewise.
3432 * include/backward/alloc.h: Likewise.
3433 * include/backward/bvector.h: Likewise.
3434 * include/backward/deque.h: Likewise.
3435 * include/backward/function.h: Likewise.
3436 * include/backward/hash_map.h: Likewise.
3437 * include/backward/hash_set.h: Likewise.
3438 * include/backward/hashtable.h: Likewise.
3439 * include/backward/heap.h: Likewise.
3440 * include/backward/iterator.h: Likewise.
3441 * include/backward/list.h: Likewise.
3442 * include/backward/map.h: Likewise.
3443 * include/backward/multimap.h: Likewise.
3444 * include/backward/multiset.h: Likewise.
3445 * include/backward/pair.h: Likewise.
3446 * include/backward/rope.h: Likewise.
3447 * include/backward/set.h: Likewise.
3448 * include/backward/slist.h: Likewise.
3449 * include/backward/stack.h: Likewise.
3450 * include/backward/strstream: Likewise.
3451 * include/backward/tempbuf.h: Likewise.
3452 * include/backward/tree.h: Likewise.
3453 * include/backward/vector.h: Likewise.
3454 * include/bits/basic_ios.h: Likewise.
3455 * include/bits/basic_ios.tcc: Likewise.
3456 * include/bits/basic_string.h: Likewise.
3457 * include/bits/c++config: Likewise.
3458 * include/bits/concept_checks.h: Likewise.
3459 * include/bits/fpos.h: Likewise.
3460 * include/bits/fstream.tcc: Likewise.
3461 * include/bits/functexcept.h: Likewise.
3462 * include/bits/ios_base.h: Likewise.
3463 * include/bits/istream.tcc: Likewise.
3464 * include/bits/mask_array.h: Likewise.
3465 * include/bits/ostream.tcc: Likewise.
3466 * include/bits/pthread_allocimpl.h: Likewise.
3467 * include/bits/sbuf_iter.h: Likewise.
3468 * include/bits/slice.h: Likewise.
3469 * include/bits/slice_array.h: Likewise.
3470 * include/bits/sstream.tcc: Likewise.
3471 * include/bits/std_bitset.h: Likewise.
3472 * include/bits/std_fstream.h: Likewise.
3473 * include/bits/std_iomanip.h: Likewise.
3474 * include/bits/std_ios.h: Likewise.
3475 * include/bits/std_istream.h: Likewise.
3476 * include/bits/std_iterator.h: Likewise.
3477 * include/bits/std_memory.h: Likewise.
3478 * include/bits/std_ostream.h: Likewise.
3479 * include/bits/std_sstream.h: Likewise.
3480 * include/bits/std_streambuf.h: Likewise.
3481 * include/bits/std_string.h: Likewise.
3482 * include/bits/std_valarray.h: Likewise.
3483 * include/bits/stl_algo.h: Likewise.
3484 * include/bits/stl_algobase.h: Likewise.
3485 * include/bits/stl_alloc.h: Likewise.
3486 * include/bits/stl_construct.h: Likewise.
3487 * include/bits/stl_deque.h: Likewise.
3488 * include/bits/stl_function.h: Likewise.
3489 * include/bits/stl_heap.h: Likewise.
3490 * include/bits/stl_iterator.h: Likewise.
3491 * include/bits/stl_iterator_base.h: Likewise.
3492 * include/bits/stl_list.h: Likewise.
3493 * include/bits/stl_map.h: Likewise.
3494 * include/bits/stl_multimap.h: Likewise.
3495 * include/bits/stl_multiset.h: Likewise.
3496 * include/bits/stl_numeric.h: Likewise.
3497 * include/bits/stl_pair.h: Likewise.
3498 * include/bits/stl_pthread_alloc.h: Likewise.
3499 * include/bits/stl_queue.h: Likewise.
3500 * include/bits/stl_raw_storage_iter.h: Likewise.
3501 * include/bits/stl_relops.h: Likewise.
3502 * include/bits/stl_set.h: Likewise.
3503 * include/bits/stl_stack.h: Likewise.
3504 * include/bits/stl_tempbuf.h: Likewise.
3505 * include/bits/stl_threads.h: Likewise.
3506 * include/bits/stl_tree.h: Likewise.
3507 * include/bits/stl_uninitialized.h: Likewise.
3508 * include/bits/stl_vector.h: Likewise.
3509 * include/bits/streambuf.tcc: Likewise.
3510 * include/bits/type_traits.h: Likewise.
3511 * include/bits/valarray_meta.h: Likewise.
3512 * include/ext/bvector: Likewise.
3513 * include/ext/hash_map: Likewise.
3514 * include/ext/hash_set: Likewise.
3515 * include/ext/ropeimpl.h: Likewise.
3516 * include/ext/slist: Likewise.
3517 * include/ext/stl_bvector.h: Likewise.
3518 * include/ext/stl_hash_fun.h: Likewise.
3519 * include/ext/stl_hashtable.h: Likewise.
3520 * include/ext/stl_rope.h: Likewise.
3521 * src/complex_io.cc: Likewise.
3522 * src/ios.cc: Likewise.
3523 * src/locale-inst.cc: Likewise.
3524 * src/locale.cc: Likewise.
3525 * src/localename.cc: Likewise.
3526 * src/misc-inst.cc: Likewise.
3527 * src/stdexcept.cc: Likewise.
3528 * src/stl-inst.cc: Likewise.
3529 * src/strstream.cc: Likewise.
3530 * src/valarray-inst.cc: Likewise.
3532 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
3534 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3536 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3538 * include/bits/istream.tcc: change type of __extracted to __size_type
3540 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
3542 * src/wstring-inst.cc: New file.
3543 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3544 (libinst_wstring_la_SOURCES): Remove.
3545 (libstdc___la_LIBADD): Remove libinst_wstring_la.
3546 (sources): Add wstring-inst.cc
3547 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3550 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3552 * src/locale.cc: initialise __ret with zero
3553 * src/strstream.cc:cast gptr to int_type
3555 2001-03-01 Phil Edwards <pme@sources.redhat.com>
3557 * docs/html/faq/index.html: Update broken links.
3558 * docs/html/faq/index.txt: Regenerated.
3560 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3563 * configure.target: Change irix* to irix6.5* in target_os table.
3565 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3568 * include/bits/c++config (__GLIBCPP__): Bump number in
3569 anticipation of 2.92.
3571 * include/bits/codecvt.h: Fix typo.
3572 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3574 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3575 instantiations for stdio model.
3577 2001-02-28 Phil Edwards <pme@sources.redhat.com>
3579 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
3580 and GLIBCPP_CXXFLAGS as unused variables.
3581 * configure.host: Likewise.
3582 * configure.target: Likewise.
3583 * aclocal.m4: Regenerated.
3584 * configure: Regenerated.
3585 * Makefile.in: Regenerated.
3586 * libio/Makefile.in: Regenerated.
3587 * libmath/Makefile.in: Regenerated.
3588 * libsupc++/Makefile.in: Regenerated.
3589 * src/Makefile.in: Regenerated.
3591 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3594 * include/bits/basic_file.h: Include basic_file_model.h.
3595 * config/c_io_libio.cc: Move to...
3596 * config/basic_file_libio.cc: Here.
3597 * config/basic_file_libio.h: New file.
3598 * config/c_io_stdio.cc: Move to...
3599 * config/basic_file_stdio.cc: Here.
3600 * config/basic_file_stdio.h: New file.
3601 * config/c_io_libio.h: Tweak.
3602 * config/c_io_stdio.h: Tweak.
3603 * src/Makefile.am (build_headers): Add basic_file_model.h.
3604 (sources): Add basic_file.cc, remove c++io.cc.
3605 * src/Makefile.in: Regenerate.
3606 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3607 basic_file_model.h and basic_file.cc.
3608 * aclocal.m4: Regenerate.
3609 * configure: Regenerate.
3610 * testsuite/27_io/filebuf.cc (test05): Add regression.
3612 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3615 * config/cpu/alpha/bits/atomicity.h: Change.
3616 * config/cpu/arm/bits/atomicit3y.h
3617 * config/cpu/generic/bits/atomicity.h
3618 * config/cpu/i386/bits/atomicity.h
3619 * config/cpu/i486/bits/atomicity.h
3620 * config/cpu/ia64/bits/atomicity.h
3621 * config/cpu/powerpc/bits/atomicity.h
3622 * config/cpu/sparc/sparc32/bits/atomicity.h
3623 * config/cpu/sparc/sparc64/bits/atomicity.h
3624 * config/os/aix/bits/atomicity.h
3625 * config/os/irix/bits/atomicity.h
3627 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3629 * include/bits/std_stdexcept.h (runtime_error): Make string
3631 (logic_error): Same.
3632 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3635 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
3639 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3640 string object, not reference.
3641 (runtime_error::runtime_error): Same.
3642 * testsuite/19_diagnostics/stdexceptions.cc: New file.
3644 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3646 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
3647 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
3648 diagnostics. Remove WFMT_FLAGS.
3649 * configure.in: Replace WFMT_FLAGS with diagnostics options.
3650 * libsupc++/Makefile.am: Likewise.
3651 * src/Makefile.am: Likewise.
3652 * aclocal.m4: Regenerated.
3653 * configure: Regenerated.
3654 * Makefile.in: Regenerated.
3655 * libio/Makefile.in: Regenerated.
3656 * libmath/Makefile.in: Regenerated.
3657 * libsupc++/Makefile.in: Regenerated.
3658 * src/Makefile.in: Regenerated.
3660 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3662 Fixes libstdc++/2079
3663 * include/backward/iomanip.h: Expose <ios> manipulators to global
3665 * include/backward/iostream.h: Also expose std::ws.
3667 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
3669 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3671 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
3673 * include/bits/codecvt.h: Use __builtin_alloca.
3674 * include/bits/ostream.tcc: Same.
3675 * include/bits/fstream.tcc: Same.
3677 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
3679 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3681 2001-02-23 David Edelsohn <dje@watson.ibm.com>
3683 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3685 2001-02-23 Phil Edwards <pme@sources.redhat.com>
3688 * include/backward/iostream.h: Expose std::flush in old headers.
3690 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3692 * mknumeric_limits: Remove special-casing on target. Use gcc
3693 instead of g++ to build gen-num-limits.cc
3695 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
3697 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3699 * include/bits/codecvt.h: Use alloca instead of __extension__ for
3701 * include/bits/ostream.tcc: Same.
3702 * include/bits/std_ostream.h: Same.
3703 * include/bits/fstream.tcc: Same.
3704 * include/bits/locale_facets.tcc: Add typename.
3705 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3707 2001-02-21 Phil Edwards <pme@sources.redhat.com>
3709 * tests_flags.in: Remove -n flag from call to echo.
3711 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
3713 * config/c_locale_gnu.h: Add clocale include.
3715 2001-02-20 Phil Edwards <pme@sources.redhat.com>
3717 * include/bits/stl_config.h: Remove file.
3718 * src/Makefile.am (base_headers): Remove from list.
3719 * configure: Regenerate.
3720 * Makefile.in: Ditto.
3721 * libio/Makefile.in: Ditto.
3722 * libmath/Makefile.in: Ditto.
3723 * libsupc++/Makefile.in: Ditto.
3724 * src/Makefile.in: Ditto.
3726 * include/bits/c++config: Move relevant macros to here.
3727 * include/backward/alloc.h: Include c++config.h instead.
3728 * include/backward/function.h: Ditto.
3729 * include/backward/heap.h: Ditto.
3730 * include/backward/pair.h: Ditto.
3731 * include/bits/pthread_allocimpl.h: Ditto.
3732 * include/bits/std_functional.h: Ditto.
3733 * include/bits/std_iterator.h: Ditto.
3734 * include/bits/std_numeric.h: Ditto.
3735 * include/bits/std_utility.h: Ditto.
3736 * include/bits/stl_algobase.h: Ditto.
3737 * include/bits/type_traits.h: Ditto.
3738 * src/stl-inst.cc: Ditto.
3740 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3742 * include/bits/basic_file.h: Add #pragma system_header
3743 * include/bits/basic_ios.h: Ditto.
3744 * include/bits/basic_string.h: Ditto.
3745 * include/bits/char_traits.h: Ditto.
3746 * include/bits/codecvt.h: Ditto.
3747 * include/bits/cpp_type_traits.h: Ditto.
3748 * include/bits/fpos.h: Ditto.
3749 * include/bits/gslice.h: Ditto.
3750 * include/bits/gslice_array.h: Ditto.
3751 * include/bits/indirect_array.h: Ditto.
3752 * include/bits/ios_base.h: Ditto.
3753 * include/bits/limits_generic.h: Ditto.
3754 * include/bits/locale_facets.h: Ditto.
3755 * include/bits/localefwd.h: Ditto.
3756 * include/bits/mask_array.h: Ditto.
3757 * include/bits/sbuf_iter.h: Ditto.
3758 * include/bits/sequence_concepts.h: Ditto.
3759 * include/bits/slice.h: Ditto.
3760 * include/bits/slice_array.h: Ditto.
3761 * include/bits/std_algorithm.h: Likewise.
3762 * include/bits/std_bitset.h: Likewise.
3763 * include/bits/std_complex.h: Likewise.
3764 * include/bits/std_deque.h: Likewise.
3765 * include/bits/std_fstream.h: Likewise.
3766 * include/bits/std_functional.h: Likewise.
3767 * include/bits/std_iomanip.h: Likewise.
3768 * include/bits/std_ios.h: Likewise.
3769 * include/bits/std_iosfwd.h: Likewise.
3770 * include/bits/std_iostream.h: Likewise.
3771 * include/bits/std_istream.h: Likewise.
3772 * include/bits/std_iterator.h: Likewise.
3773 * include/bits/std_list.h: Likewise.
3774 * include/bits/std_locale.h: Likewise.
3775 * include/bits/std_map.h: Likewise.
3776 * include/bits/std_memory.h: Likewise.
3777 * include/bits/std_numeric.h: Likewise.
3778 * include/bits/std_ostream.h: Likewise.
3779 * include/bits/std_queue.h: Likewise.
3780 * include/bits/std_set.h: Likewise.
3781 * include/bits/std_sstream.h: Likewise.
3782 * include/bits/std_stack.h: Likewise.
3783 * include/bits/std_stdexcept.h: Likewise.
3784 * include/bits/std_streambuf.h: Likewise.
3785 * include/bits/std_string.h: Likewise.
3786 * include/bits/std_utility.h: Likewise.
3787 * include/bits/std_valarray.h: Likewise.
3788 * include/bits/std_vector.h: Likewise.
3789 * include/bits/stringfwd.h: Likewise.
3790 * include/bits/type_traits.h: Likewise.
3791 * include/bits/valarray_array.h: Likewise.
3792 * include/bits/valarray_meta.h: Likewise.
3794 2001-02-19 Andreas Jaeger <aj@suse.de>
3796 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3799 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3802 * include/bits/std_ostream.h: Replaced usage of
3803 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3804 * include/bits/char_traits.h: Removed non-standard
3805 methods that cannot be used elsewhere.
3808 * include/bits/basic_ios.h: Uncommented #include of
3812 * include/bits/codecvt.h: See next...
3813 * include/bits/fstream.tcc: See next...
3814 * include/bits/ostream.tcc: Add __extension__
3815 to variable-length arrays.
3818 * include/bits/localefwd.h: Changed int counter type to size_t.
3821 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3823 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3825 * testsuite/21_strings/char_traits.cc: Move to ...
3826 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3827 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3828 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3830 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3832 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3835 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3837 * include/bits/c++config: Revert.
3839 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3841 * include/bits/istream.tcc: Use ios_base::iostate in place of
3842 iostate throughout. Insert `typename' keyword where necessary.
3843 * include/bits/ostream.tcc: Insert `typename' keyword where
3846 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3848 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3849 Define so library is compliant.
3851 2001-02-15 Anthony Green <green@redhat.com>
3853 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3855 * aclocal.m4: Regenerate.
3856 * configure: Regenerate.
3858 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3860 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3861 Include ieeefp.h for fpclass on UnixWare{2,7}.
3862 * aclocal.m4: Regenerate.
3863 * configure: Regenerate.
3864 * mkcheck.in (size_command): Do without GNU-grep when using
3867 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3869 Remove old ABI support from libsupc++.
3870 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3871 * libsupc++/exception_support.cc: Likewise.
3872 * libsupc++/pure.cc: Likewise.
3873 * libsupc++/tinfo.cc: Likewise.
3874 * libsupc++/tinfo.h: Likewise.
3875 * libsupc++/tinfo2.cc: Likewise.
3876 * libsupc++/typeinfo: Likewise.
3877 * libsupc++/vec.cc: Likewise.
3879 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3881 Add support for -fno-exceptions.
3882 * include/bits/exception_support.h: Remove.
3883 * include/bits/basic_string.h: Remove exception_support.
3884 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3886 (string::substr): Same.
3887 * include/bits/basic_string.tcc (string::reserve): Replace
3888 __LENGTHERROR with __throw_length_error.
3889 (string::_S_create): Same.
3890 (string::resize): Same.
3891 (string::_M_replace): Same.
3892 (string::replace): Same.
3893 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3894 (string::compare): Same.
3895 * include/bits/stl_vector.h: Remove exception_support.
3896 * src/Makefile.am (base_headers): Remove here.
3897 * src/Makefile.in: Regenerate.
3899 * include/bits/stl_range_errors.h: Remove.
3900 * include/bits/stl_deque.h: Use __throw_range_error.
3901 * include/bits/std_deque.h: Include functexcept.h.
3902 * include/bits/std_vector.h: Same.
3903 * src/Makefile.am (base_headers): Remove here.
3904 * src/Makefile.in: Regenerate.
3905 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3906 * include/ext/bvector: Remove stl_range_errors.h
3908 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3910 * include/bits/functexcept.h: New file.
3911 * src/functexcept.cc: New file. Definitions for function-based
3913 * src/Makefile.am (sources): Add functexcept.cc.
3914 * src/Makefile.in: Regenerate.
3916 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3919 * include/bits/localefwd.h: Include functexcept.h.
3920 * include/bits/std_iosfwd.h: Same.
3922 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3923 throw basic_ios::failure.
3924 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3925 Use __throw_exception_again.
3926 (filebuf::_M_filebuf_init): Same.
3927 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3928 * include/bits/ostream.tcc (ostream::operator<<): Same.
3929 * include/bits/istream.tcc (istream::operator>>): Same.
3930 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3931 (string::_S_construct): Same.
3932 (string::_M_clone): Same.
3933 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3935 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3936 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3937 __throw_exception_again.
3938 (locale::_Imp::_Imp(string, size_t): Same.
3939 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3940 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3941 (locale::locale(const char*)): Use __throw_runtime_error.
3942 (locale::classic): Use __throw_exception_again.
3943 (locale::_S_normalize_category): Use __throw_runtime_error.
3945 * src/stdexcept.cc: Remove cruft.
3947 * libsupc++/exception_defines.h: New file.
3948 * libsupc++/new_opnt.cc: Include exception_defines.h.
3949 * libsupc++/vec.cc: Same.
3950 (__cxa_vec_new2): Use __throw_exception_again.
3951 (__cxa_vec_new3): Same.
3952 (__cxa_vec_ctor): Same.
3953 (__cxa_vec_delete3): Same.
3954 (__cxa_vec_cctor): Same.
3955 (__cxa_vec_delete2): Same.
3956 (__cxa_vec_dtor): Same.
3957 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3958 compile exception-handling bits if __EXCEPTIONS is defined.
3959 Remove old ABI support.
3960 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3961 std::__throw_bad_alloc() instead of throw bad_alloc.
3962 * libsupc++/Makefile.am: Add exception_defines.h.
3963 * libsupc++/Makefile.in: Reformat.
3964 * libsupc++/*: Format.
3966 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3968 * docs/html/configopts.html: Minor updates and typo fixes.
3969 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3970 * docs/html/faq/index.txt: Regenerated.
3972 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3974 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3975 dejagnu/dg.exp. Adapt to log options used to run testcases.
3977 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3979 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3982 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3983 Phil Edwards <pme@sources.redhat.com>
3985 * include/backward/function.h: Do not use rel_ops for older
3987 * include/backward/pair.h: Likewise.
3989 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3991 * src/locale.cc: Remove bogus locale::id definitions.
3993 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3995 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3996 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3998 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3999 thinko in member initialisation.
4001 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4003 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4004 comparaison between signed and unsigned integer types.
4005 (valarray<>::cshift): Reformat.
4007 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4009 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4010 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4011 * configure.in: Test for sigsetjmp.
4012 * configure, config.h.in: Rebuilt.
4014 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4016 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4017 lengths and strides.
4018 (__gslice_to_index): Document.
4020 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4022 * include/bits/char_traits.h char_traits<char>::int_type: Change
4023 to `int' to match 21.1.3.1/2.
4025 * testsuite/21_strings/char_traits-int_type.C: New test.
4027 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4029 * testsuite/Makefile.am: New file.
4031 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4033 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4035 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4037 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4039 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4041 * configure.target (aix4*): Remove extra set of brackets.
4043 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4046 * include/bits/stringfwd.h: New file.
4047 * include/bits/stl_string_fwd.h: Remove.
4048 * include/bits/localefwd.h: Remove declaration for allocator.
4049 * include/bits/std_iosfwd: Same.
4050 * include/bits/std_string.h: Include it.
4051 * include/bits/std_ios.h: Remove include.
4052 * include/bits/basic_string.h: Tweak.
4053 * libsupc++/new: Format.
4054 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4056 * src/Makefile.in: Regenerate.
4057 * include/bits/std_stdexcept.h: Rewrite.
4058 * src/stdexcept.cc: Same.
4060 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4062 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4063 install locations too.
4064 * aclocal.m4: Regenerate.
4065 * configure.in: Remove USE_LIBDIR.
4066 * configure: Regenerate.
4067 * src/Makefile.am (toolexecdir): Simplify, use
4068 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4069 * src/Makefile.in: Regenerate.
4070 * libsupc++/Makefile.am: Same.
4071 * libsupc++/Makefile.in: Regenerate.
4073 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4074 misc-inst.cc as no longer necessary.
4076 Follow C++STYLE for naming non-static functions.
4077 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4079 * include/bits/streambuf.tcc: Same.
4080 * include/bits/ostream.tcc: Same.
4081 * include/bits/istream.tcc: Same.
4082 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4083 (_S_output_float): To __output_float.
4084 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4086 * include/bits/locale_facets.tcc (_S_build_float_format): To
4087 __build_float_format.
4088 (_S_format): To __output_integer.
4089 (_S_fill): To __pad.
4090 * src/locale.cc: Same.
4091 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4093 * include/bits/locale_facets.tcc (_S_group_digits): To
4095 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4096 for collate, numpunct.
4098 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4100 * docs/html/configopts.html: Fix HTML markup.
4101 * docs/html/install.html: Bring up to date.
4102 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4103 * docs/html/21_strings/howto.html: More notes.
4104 * docs/html/22_locale/howto.html: Fix HTML markup.
4105 * docs/html/27_io/howto.html: More notes.
4106 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4107 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4109 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4111 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4112 to match header files.
4113 (_S_output_float): Likewise.
4114 (_S_copy_streambufs): Likewise.
4116 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4117 Phil Edwards <pme@sources.redhat.com>
4119 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4120 use reinterpret_cast, not static_cast.
4122 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4124 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4125 * aclocal.m4: Regenerate.
4126 * configure: Regenerate.
4128 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4130 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4131 * libsupc++/pure.cc: Revert.
4133 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4135 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4136 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4137 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4138 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4139 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4140 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4141 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4142 * aclocal.m4: Regenerate.
4143 * configure: Regenerate.
4145 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4147 * include/bits/locale_facets.tcc: Remove `static' keyword on
4148 function definitions.
4149 * include/bits/std_streambuf.h: Likewise.
4150 * src/Makefile.am: Remove use of -fimplicit-templates.
4151 * src/Makefile.in: Regenerated.
4152 * src/locale-inst.cc: Explicitly instantiate more functions.
4153 * src/misc-inst.cc: Likewise.
4154 * src/string-inst.cc: Likewise.
4156 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4158 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4159 macro. Consolidate all the bits to do with where includes might be
4161 * aclocal.m4: Regenerate.
4162 * configure.in: Use it.
4163 * configure: Regenerate.
4164 * src/Makefile.am (targetincludep): Use simplified rules.
4165 (targetincludep): Rename gxx_target_include_dir.
4166 (myincludep): Rename gxx_include_dir.
4167 * src/Makefile.in: Regenerate.
4168 * libsupc++/Makefile.am: Use simplified rules.
4169 * libsupc++/Makefile.in: Regenerate.
4171 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4173 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4174 * include/c_std/bits/std_cctype.h: Same.
4175 * include/c_std/bits/std_cassert.h: Same.
4176 * include/c_std/bits/std_cstdarg.h: Same.
4177 * include/c_std/bits/std_cstddef.h: Same.
4179 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4181 * include/c_std/bits/std_ctime.h: Same.
4182 * include/c_std/bits/std_clocale.h: Same.
4183 * include/c_std/bits/std_cmath.h: Same.
4184 * include/c_std/bits/std_csetjmp.h: Same.
4185 * include/c_std/bits/std_csignal.h: Same.
4186 * include/c_std/bits/std_cstring.h: Same.
4187 * include/c_std/bits/std_cstdlib.h: Same.
4188 * include/c_std/bits/std_cwchar.h: Same.
4190 2001-02-05 Phil Edwards <pme@sources.redhat.com>
4192 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
4194 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4196 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4197 (string::_S_construct): Likewise.
4199 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
4201 * testsuite/config/default.exp: New file.
4202 * testsuite/config: New directory.
4204 2001-02-04 Mark Mitchell <mark@codesourcery.com>
4206 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4207 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4208 whenever !__GXX_MERGED_TYPEINFO_NAMES.
4209 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4211 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4212 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4214 * Makefile.am (mkinstalldirs): Set.
4215 * src/Makefile.am (mkinstalldirs): Set.
4216 * libmath/Makefile.am (mkinstalldirs): Set.
4217 * libsup++/Makefile.am (mkinstalldirs): Set.
4218 * libio/Makefile.am (mkinstalldirs): Set.
4219 * */Makefile.in: Regenerate.
4221 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
4223 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4224 * include/bits/localefwd.h: More initialization cleanups.
4226 2001-02-03 Jeffrey A Law <law@cygnus.com>
4228 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4229 correctly targets with 16bit ints.
4230 (_S_ios_openmode_end): Similarly.
4231 (_S_ios_iostate_end): Similarly.
4232 (_S_ios_Seekdir_end): Similarly.
4234 2001-02-02 Phil Edwards <pme@sources.redhat.com>
4236 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
4238 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4240 * configure.in (toplevel_srcdir, auxdir): Set.
4241 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4242 * aclocal.m4, configure, Makefile.in: Rebuilt.
4243 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4244 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4245 * libsupc++-v3/Makefile.in: Rebuilt.
4246 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4247 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4249 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
4251 * config/c_locale_generic.cc: Remove langinfo include.
4253 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
4255 Preliminary named locales.
4256 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4257 * aclocal.m4: Regenerate.
4258 * configure.in: Use it.
4259 * configure: Regerate.
4260 * src/Makefile.am (sources): Add c++locale.cc.
4261 (build_headers): Add c++locale.h.
4262 * src/Makefile.in: Regenerate.
4263 * config/c_locale_gnu.h: New file.
4264 * config/c_locale_gnu.cc: New file. Non-inline member functions
4265 for named locales, gnu-specific.
4266 * config/c_locale_generic.h: New file.
4267 * config/c_locale_generic.cc: New file. Non-inline member
4268 functions for named locales, generic version.
4269 * docs/html/configopts.html: Add documentation on new options.
4271 * include/bits/locale_facets.h (class _Messages): Remove.
4272 (class _Moneypunct): Remove.
4273 * src/locale-inst.cc: Remove.
4275 * include/bits/locale_facets.h (class _Collate): Remove.
4276 * src/locale-inst.cc (std): Remove.
4277 * src/locale.cc: And here.
4279 * include/bits/localefwd.h (locale::_M_coalesce): New
4280 function. Correctly put together multi-name locales.
4281 (_Impl(const _Impl&, category, size_t)): Remove.
4283 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4285 (_M_normalize_category_names): Remove.
4286 (_M_replace_categories): Fix.
4288 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4289 (locale::_Impl::_M_construct_ctype): Remove.
4290 (locale::_Impl::_M_construct_monetary): Remove.
4291 (locale::_Impl::_M_construct_numeric): Remove.
4292 (locale::_Impl::_M_construct_time): Remove.
4293 (locale::_Impl::_M_construct_messages): Remove.
4295 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4296 (_Use_facet_failure_handle): Remove.
4297 * src/locale.cc: Remove definitions.
4298 * src/locale-inst.cc: And here.
4300 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4302 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4303 create and error-check underlying locale object.
4304 (locale::facet::_S_destroy_c_locale): Add, take care of properly
4305 tearing down underlying locale object.
4306 * include/bits/localefwd.h (locale::facet): Declare.
4307 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4308 correctness, as glibc apparently has incorrect info in it. Test
4309 with it when it works again.....
4311 * include/bits/localefwd.h (locale::_Impl::__vec_string):
4312 Remove. Number of categories is fixed at six, so just simplify and
4313 make this an array of strings.
4314 (locale::_Impl::_M_has_name): Remove.
4315 (locale::_Impl::_M_name): Remove.
4316 (locale::_Impl::_M_category_names): Turns into...
4317 (locale::_Impl::_M_names): ...this.
4318 (locale::_Impl::_M_has_same_name()): New function.
4319 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4320 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4322 * src/locale.cc (locale::name()): Construct mangled name
4323 accurately reflecting combined locale categories.
4325 * src/locale.cc (locale::classic()): Don't initialize here.
4326 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4327 __refs, bool __has_name, string __str): Do it here.
4329 * include/bits/localefwd.h: _S_categories_num to
4330 _S_num_categories. _S_facets_num to _S_num_facets.
4331 (locale::id::id()): Explicitly set _M_index to zero.
4332 * src/locale.cc: Same.
4334 * src/locale.cc: (locale::locale(const char*)): Construct named
4337 * src/locale.cc: Remove numpunct_byname ctors.
4338 * testsuite/22_locale/numpunct_byname.cc: New file.
4339 * testsuite/22_locale/numpunct.cc: New file.
4341 * include/bits/localefwd.h (class locale): Change data members to
4342 protected, from private.
4343 (_Impl::_M_get_c_locale): Add member function.
4344 (locale::facet::_M_get_global_impl()): Add member function.
4345 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4346 a __c_locale pointer.
4347 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4349 * testsuite/22_locale/members.cc: New file, test name and combine.
4351 * include/bits/locale_facets.h (class numpunct): Remove class
4352 _Punct and _Numpunct. Rewrite class numpunct to be correct for
4354 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4355 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4356 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4357 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4358 * testsuite/22_locale/numpunct_char_members.cc: New file.
4360 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
4362 * testsuite/README: Add more comment.
4363 * testsuite/lib/libstdc++.exp: Tweak comment.
4365 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
4367 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4369 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
4371 * testsuite/21_strings/inserters_extractors.cc: Remove
4372 explicit reference to 'testsuite/'.
4374 2001-01-25 Richard Henderson <rth@redhat.com>
4376 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
4377 bits. Fixes Tru64 build issues.
4379 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4381 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
4382 (use ${MAKE-make}, not ${MAKE:-make}).
4383 * aclocal.m4, configure: Regenerate.
4385 2001-01-25 Mark Mitchell <mark@codesourcery.com>
4387 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
4390 * src/Makefile.am (sources): Add globals.cc.
4391 * src/Makefile.in: Regenerated.
4392 * src/globals.cc: New file.
4393 * src/ios.cc (cin): Don't define here, just declare extern.
4402 2001-01-25 Phil Edwards <pme@sources.redhat.com>
4404 * include/bits/std_iterator.h: Do not include stl_relops.h.
4405 * include/bits/std_numeric.h: Ditto.
4406 * include/bits/stl_algobase.h: Ditto.
4407 * include/bits/stl_relops.h: Add comment warning about problems.
4409 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
4411 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
4412 in testcases. Prepare for the DejaGnu based framework.
4413 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
4414 directory -- it is now mkcheck working directory.
4415 * tests_flags.in: Remove reference to $(top_srcdir). Use
4417 * Makefile.am (check, check-install): Change mkcheck invocation
4419 * Makefile.in: Regenerate.
4421 2001-01-24 Mark Mitchell <mark@codesourcery.com>
4423 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
4424 (__always_swap): Likewise.
4426 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4428 * libsupc++/exception_support.cc (__terminate_func): Remove
4430 (__terminate_func_ptr): New typedef.
4431 (__terminate, __terminate_set_func): New extern function
4433 (std::terminate): Use __terminate function.
4434 (std::set_terminate): Use __terminate_set_func function.
4436 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
4438 * configure.target: Just use os_include_dir always.
4439 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
4440 Link atomicity files and ctype files here.
4441 * configure: Regenerate.
4442 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
4443 (GLIBCPP_ENABLE_ATOMICITY): Remove.
4444 * aclocal.m4: Regenerate.
4446 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4448 * configure.in: Place definition of MULTISUBDIR in
4449 libsupc++/Makefile as is done for src/Makefile.
4450 * configure: Regenerate.
4452 2001-01-23 Phil Edwards <pme@sources.redhat.com>
4454 * acinclude.m4: Cosmetic changes only.
4455 * aclocal.m4: Regenerated.
4456 * configure: Regenerated.
4457 * configure.target: Update documented list of changed variables.
4458 * docs/html/install.html: Fix typo.
4459 * docs/html/20_util/howto.html: More notes on auto_ptr.
4460 * docs/html/27_io/howto.html: More notes on streabufs.
4461 * docs/html/faq/index.html: Add rel_ops problem and mention the
4462 DEC as(1) .subsection difficulty.
4463 * docs/html/faq/index.txt: Regenerated.
4465 2001-01-23 Mark Mitchell <mark@codesourcery.com>
4467 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
4468 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
4469 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
4470 its already provided in config.target.
4471 * aclocal.m4: Regenerated.
4472 * configure: Likewise.
4473 * configure.target: Set ctype_include_dir for lots of systems.
4474 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
4475 * libsupc++/Makefile.in: Regenerated.
4477 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
4479 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
4482 * testsuite/README: Add comment.
4484 2001-01-21 Phil Edwards <pme@sources.redhat.com>
4486 * docs/html/configopts.html: Update for current status. Fix HTML.
4487 * docs/html/install.html: Update for current status.
4489 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4491 * testsuite/libstdc++.tests/tests.exp: New file.
4492 * testsuite/lib/libstdc++.exp: Itou.
4493 * testsuite/README: Itou.
4495 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
4497 * tests_flags.in: Just output the bare minimum to run tests.
4498 Let's the caller do its own arrangement.
4500 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
4503 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
4505 * testsuite/17_intro: Prepare testcases for new style DejaGnu
4508 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
4510 * testsuite/libstdc++.tests, testsuite/lib: New directories.
4512 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
4514 * mkcheck.in: Construct file names that match $objdir structure.
4515 * testsuite/27_io/filebuf_members-1.txt: New file.
4516 * testsuite/27_io/ifstream_members-1.txt: New file.
4517 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
4519 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
4520 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
4522 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4524 * testsuite/27_io/istream_sentry.cc (test02): Fix.
4526 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
4529 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
4530 * src/ios.cc (ios_base::failure): Make definitions match.
4531 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
4532 (class bad_cast): Same.
4533 * libsupc++/exception (class exception): Add throw specs.
4534 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4535 (set_unexpected): Same.
4536 (uncaught_exception): Same.
4539 * docs/html/17_intro/C++STYLE (classname): Fix.
4541 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4543 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4544 Use it do explicitly instantiate predicate<T> and value<T> for
4547 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
4549 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4550 uninitialized thinko in last change.
4552 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4554 * libsupc++/exception_support.cc (__cp_pop_exception): Change
4557 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
4559 * docs/html/17_intro/C++STYLE (classname): Add more existing
4560 and stylish patterns.
4563 * include/bits/istream.tcc (istream::sentry::sentry()): Set
4564 failbit if the state of the stream is not good.
4565 * testsuite/27_io/istream_sentry.cc (test02): Add test.
4566 * testsuite/27_io/istream_manip.cc (test01): Modify.
4569 reported by Paolo Carlini <pcarlini@unitus.it>
4570 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4571 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4574 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4575 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4576 (xsgetn): Same. Simplify.
4577 * testsuite/27_io/streambuf.cc (test04): Add testcases.
4579 reported by Larry Evans <jcampbell3@prodigy.net>
4580 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4581 equality with eof on returned value from overflow.
4583 2001-01-14 Andreas Jaeger <aj@suse.de>
4585 * libio/libio.h: Add test for glibc 2.0.
4587 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
4589 * config/os/djgpp/bits/*: Fix dates.
4591 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4592 _CharT* __end, _CharT __c): Remove.
4593 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4594 * include/bits/char_traits.h: Tweak.
4596 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
4598 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4599 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4601 * aclocal.m4: regenerated.
4602 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4603 * configure: regenerated.
4604 * config/os/djgpp, config/os/djgpp/bits: new directories.
4605 * config/os/djgpp/bits/ctype_base.h,
4606 config/os/djgpp/bits/ctype_inline.h,
4607 config/os/djgpp/bits/ctype_noninline.h,
4608 config/os/djgpp/bits/os_defines.h: new files.
4610 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4612 * include/c_std/bits/std_cstdio.h: Undef printf.
4614 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
4616 * src/ios.cc: Fix typo: change cout->wcout.
4618 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4619 * src/Makefile.in: Regenerate.
4621 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4623 * include/bits/std_complex.h: Fix a typo.
4625 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
4628 Fixes for libstdc++/1576
4629 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4630 file, move contents into....
4631 * src/ios.cc: ...Here. Put defines for iostreams objects and
4632 initialization routines into one file to simplify DSO interaction.
4633 * include/bits/std_iostream.h: Touch.
4634 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4635 * src/Makefile.am (sources): Remove stdstreams.cc.
4636 * src/Makefile.in: Regenerate.
4638 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4640 * tests_flags.in (check_directory): Fix typo.
4642 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4644 * include/bits/std_complex.h: Fix a typo.
4646 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
4648 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4649 code path:) Remove magic constants and restructure to handle
4650 ctype.h bit mask layout changes more gracefully. (Make fast
4651 code path:) Use __maskrune (), if available.
4652 (is): Remove special case for digit and xdigit masks.
4654 2001-01-09 Robert Lipe <robertlipe@usa.net>
4656 * include/c_std/bits/std_ctime.h: Undefine difftime.
4658 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4660 * src/gen-num-limits.cc (signal_adapter): New template function.
4661 (signal_handler): Use it, instead of signal.
4662 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
4663 require both tests to trap to set trap_flag.
4665 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4667 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4668 initialize mbstate_t member, name offset data members *off, not pos.
4669 * include/bits/fstream.tcc (filebuf::filebuf): Same.
4671 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4673 reported by Chris G. Demetriou <cgd@sibyte.com>
4674 * configure.in: Change -linux-* to -linux*.
4675 * configure: Regenerate.
4677 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
4679 Fix 27_io/filebuf_members.cc
4680 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4681 const string& __name, category __cat, size_t __refs): Set
4682 _M_has_name with _M_name.
4683 * include/bits/localefwd.h (locale::operator!=): Protect member
4684 function call with this->.
4685 * src/locale.cc (locale::operator==): Make fast checks first.
4686 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4688 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4690 * src/ios.cc (ios_base::Init::Init): Initialize here.
4691 (ios_base::sync_with_stdio): Set here.
4693 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
4695 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4696 systems that support it, call dup() before fdopen().
4698 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
4700 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4701 * testsuite/17_intro/header_cwctype.cc (main): New file.
4703 * src/Makefile.am (base_headers): Change.
4704 * include/bits/std_string.h: And here.
4705 * include/bits/string.tcc: Tweaks, move to...
4706 * include/bits/basic_string.tcc: ...Here.
4707 * src/string-inst.cc: Simplify, just instantiate the whole class,
4708 not member-by-member.
4710 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
4712 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4713 * aclocal.m4: Regenerate.
4714 * configure: Regenerate.
4716 * include/bits/c++config (__GLIBCPP__): Bump version number.
4718 * ChangeLog: Start new log for year 2001
4719 * ChangeLog-2000: New file.
4721 * docs/html/configopts.html: Make sure default values are current,
4724 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
4726 * include/c_std/bits/std_cwchar.h: Same.
4727 * testsuite/17_intro/header_cwchar.cc: Same.
4728 * include/c_std/bits/std_ctime.h: Same.
4729 * testsuite/17_intro/header_ctime.cc: Same.
4730 * include/c_std/bits/std_cstdlib.h: Same.
4731 Clean up undefs, make consistent with cwchar and cmath, etc.
4732 * testsuite/17_intro/header_cstdlib.cc: Same.
4733 * include/c_std/bits/std_cstdio.h: Same here.
4734 * testsuite/17_intro/header_cstring.cc: Same.
4735 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4736 * testsuite/17_intro/header_cstring.cc: New file. Check for
4737 size_t in namespace std.
4739 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4740 * acconfig.h (HAVE_MBSTATE_T): Add.
4741 * config.h.in: Regenerate.
4742 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4744 * aclocal.m4: Regenerate.
4745 * configure: Regenerate.
4746 * testsuite/17_intro/headers_c++.cc: New file.
4747 * testsuite/17_intro/headers_c.cc: Small changes.
4749 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4751 * tests_flags.in: Fix typo in usage.
4753 * tests_flags.in: Set target specific LIBS for cygwin.