1 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
3 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
5 * config/cpu/arm/bits/atomicity.h: Likewise.
6 * config/cpu/generic/bits/atomicity.h: Likewise.
7 * config/cpu/i486/bits/atomicity.h: Likewise.
8 * config/cpu/ia64/bits/atomicity.h: Likewise.
9 * config/cpu/mips/bits/atomicity.h: Likewise.
10 * config/cpu/powerpc/bits/atomicity.h: Likewise.
11 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
12 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
14 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
16 * docs/html/faq/index.html: Describe DR #22, and a workaround.
17 * docs/html/faq/index.txt: Regenerate.
19 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
21 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
22 * docs/html/17_intro/license.html: New file. Explain the licenses
25 * docs/html/configopts.html: Link to license.html.
26 * docs/html/documentation.html: Likewise.
27 * docs/html/explanations.html: Likewise.
28 * docs/html/install.html: Likewise.
29 * docs/html/17_intro/howto.html: Likewise.
30 * docs/html/18_support/howto.html: Likewise.
31 * docs/html/19_diagnostics/howto.html: Likewise.
32 * docs/html/20_util/howto.html: Likewise.
33 * docs/html/21_strings/howto.html: Likewise.
34 * docs/html/22_locale/howto.html: Likewise.
35 * docs/html/23_containers/howto.html: Likewise.
36 * docs/html/24_iterators/howto.html: Likewise.
37 * docs/html/25_algorithms/howto.html: Likewise.
38 * docs/html/26_numerics/howto.html: Likewise.
39 * docs/html/27_io/howto.html: Likewise.
40 * docs/html/ext/howto.html: Likewise.
41 * docs/html/ext/sgiexts.html: Likewise.
42 * docs/html/faq/index.html: Likewise. New question, linking to
45 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
47 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
48 * docs/html/18_support/howto.html: Likewise.
49 * docs/html/19_diagnostics/howto.html: Likewise.
50 * docs/html/20_util/howto.html: Likewise.
51 * docs/html/21_strings/howto.html: Likewise.
52 * docs/html/22_locale/howto.html: Likewise.
53 * docs/html/23_containers/howto.html: Likewise.
54 * docs/html/24_iterators/howto.html: Likewise.
55 * docs/html/25_algorithms/howto.html: Likewise.
56 * docs/html/26_numerics/howto.html: Likewise.
57 * docs/html/27_io/howto.html: Likewise.
58 * docs/html/ext/howto.html: Likewise.
59 * docs/html/faq/index.html: Likewise. Spacing fix.
61 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
63 * include/bits/stl_threads.h (_Atomic_swap): New function.
64 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
65 * testsuite/ext/rope.cc: New file.
67 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
69 * config/locale/time_members_gnu.h: Remove.
70 * config/locale/time_members_generic.h: Remove.
71 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
72 * config/locale/time_members_generic.cc: Same.
73 * include/bits/locale_facets.h: Add data members.
74 (__timepunct::_M_put_helper): Change signature.
75 (__timepunct::_M_date_formats): Same.
76 (__timepunct::_M_time_formats): Same.
77 (__timepunct::_M_ampm): Add.
78 (__timepunct::_M_date_time_formats): Add.
79 (time_get::_M_extract_via_format): Add.
80 (time_get::_M_extract_time): Change to...
81 (time_get::_M_extract_num): ... this, modify signature.
82 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
83 (time_get::do_get_time): Fix.
84 (time_get::do_get_date): Fix.
86 * acinclude.m4: Remove CTIME_H.
87 * aclocal.m4: Regenerate.
88 * include/Makefile.am: Same.
89 * include/Makefile.in: Regenerate.
90 * configure: Regenerate.
92 * testsuite/22_locale/time_get_members_char.cc: Fix.
93 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
94 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
96 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
98 * config/cpu/cris/bits/atomicity.h: Correct file header.
100 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
102 * configure.target (LIMITSH): Set for cris.
103 (cpu_include_dir): Set for cris-*-*.
104 * config/cpu/cris/bits/atomicity.h: New file.
105 * config/cpu/cris/bits/limits.h: New file.
107 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
109 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
110 (__timepunct::_M_put_helper): Add.
111 * config/locale/time_members_generic.h: Same.
112 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
113 (__timepunct): Add data members.
114 (__timepunct::_M_days): Add.
115 (__timepunct::_M_days_abbreviated): Add.
116 (__timepunct::_M_months): Add.
117 (__timepunct::_M_months_abbreviated): Add.
118 (__timepunct::_M_initialize_timepunct): Add.
119 * include/bits/locale_facets.tcc: Same.
120 * src/locale-inst.cc: Remove instantiations for __match_parallel.
121 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
122 * aclocal.m4: Regenerate.
123 * configure: Regenerate.
124 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
125 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
126 * testsuite/22_locale/time_get.cc: New file.
128 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
130 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
131 correct multilib builddir.
132 Properly locate libgcc_s.
134 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
136 * include/std/*: Add Doxygen hooks.
137 * docs/doxygen/Intro.3: New file, general intro to the man pages.
138 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
139 rather than using a generated index.
140 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
141 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
142 * docs/doxygen/stdheader.cc: ...this new file.
144 2001-09-26 Stan Shebs <shebs@apple.com>
146 * include/Makefile.am: Remove RCS Id strings.
147 * src/Makefile.am: Ditto.
148 * docs/doxygen/run_doxygen: Ditto.
149 * docs/html/configopts.html: Ditto.
150 * docs/html/documentation.html: Ditto.
151 * docs/html/explanations.html: Ditto.
152 * docs/html/install.html: Ditto.
153 * docs/html/17_intro/howto.html: Ditto.
154 * docs/html/18_support/howto.html: Ditto.
155 * docs/html/19_diagnostics/howto.html: Ditto.
156 * docs/html/20_util/howto.html: Ditto.
157 * docs/html/21_strings/howto.html: Ditto.
158 * docs/html/22_locale/howto.html: Ditto.
159 * docs/html/23_containers/howto.html: Ditto.
160 * docs/html/24_iterators/howto.html: Ditto.
161 * docs/html/25_algorithms/howto.html: Ditto.
162 * docs/html/26_numerics/howto.html: Ditto.
163 * docs/html/27_io/howto.html: Ditto.
164 * docs/html/ext/howto.html: Ditto.
165 * docs/html/ext/sgiexts.html: Ditto.
166 * docs/html/faq/index.html: Ditto.
167 * docs/html/faq/index.txt: Ditto.
169 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
171 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
174 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
176 * docs/html/20_util/howto.html: Add anchor name.
177 * docs/html/23_containers/howto.html: Line wrapping, another link.
178 * docs/html/25_algorithms/howto.html: Another note.
180 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
182 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
183 * docs/html/ext/lwg-defects.html: and this new file (from R19).
184 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
185 carried over to libstdc++-v3.
186 * docs/html/faq/index.html: Link to SGI extensions. Mention the
187 "missing .." pseudobug.
188 * docs/html/faq/index.txt: Regenerate.
190 * include/bits/ios_base.h: DR-related comment cleanup.
191 * include/bits/istream.tcc: Likewise.
192 * include/bits/locale_facets.h: Likewise.
193 * include/bits/locale_facets.tcc: Likewise.
194 * include/bits/ostream.tcc: Likewise.
195 * include/bits/std_bitset.h: Likewise.
196 * include/bits/std_iosfwd.h: Likewise.
197 * include/bits/std_istream.h: Likewise.
198 * include/bits/std_ostream.h: Likewise.
199 * include/bits/std_streambuf.h: Likewise.
200 * include/bits/stl_pair.h: Likewise.
201 * include/bits/streambuf_iterator.h: Likewise.
203 * include/bits/std_map.h: Remove unused header inclusion guard
204 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
205 * include/bits/std_set.h: Likewise.
207 * include/bits/stl_function.h: Doxygen markup.
208 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
209 * libsupc++/typeinfo: Doxygen markup tweak.
211 2001-09-20 Scott Johnston <scott@accom.com>
212 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
214 * include/backward/alloc.h: Conditionally define malloc_alloc
215 * testsuite/backward/header_deque_h.cc: New file.
217 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
219 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
220 change variable name so that it works with -fno-for-scope.
222 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
224 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
225 redundant sanity checks.
226 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
228 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
230 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
231 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
232 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
234 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
237 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
239 Implement std::time_put.
240 * include/bits/locale_facets.h: Include time_members.h.
242 (time_put): Implement.
243 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
244 * include/bits/localefwd.h: Bump number of facets.
245 * config/locale/time_members_generic.h: New file.
246 * config/locale/time_members_gnu.h: New file.
247 * config/locale/c_locale_generic.h: Include clocale.
248 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
249 * src/locale.cc: Add __timepunct initializations.
250 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
251 * include/Makefile.am (stamp-target): Add time_members.h.
252 * include/Makefile.in: Regenerate.
253 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
254 * aclocal.m4: Regenerate.
255 * configure: Regenerate.
256 * testsuite/22_locale/time_put.cc: New file.
257 * testsuite/22_locale/time_put_members_char.cc: New file.
259 * docs/html/22_locale/locale.html: Add note.
261 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
263 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
264 * docs/html/documentation.html: Likewise.
265 * docs/html/explanations.html: Likewise.
266 * docs/html/install.html: Likewise.
267 * docs/html/17_intro/howto.html: Likewise.
268 * docs/html/18_support/howto.html: Likewise.
269 * docs/html/19_diagnostics/howto.html: Likewise.
270 * docs/html/20_util/howto.html: Likewise.
271 * docs/html/21_strings/howto.html: Likewise.
272 * docs/html/22_locale/codecvt.html: Likewise.
273 * docs/html/22_locale/ctype.html: Likewise.
274 * docs/html/22_locale/howto.html: Likewise.
275 * docs/html/22_locale/locale.html: Likewise.
276 * docs/html/22_locale/messages.html: Likewise.
277 * docs/html/23_containers/howto.html: Likewise.
278 * docs/html/24_iterators/howto.html: Likewise.
279 * docs/html/25_algorithms/howto.html: Likewise.
280 * docs/html/26_numerics/howto.html: Likewise.
281 * docs/html/27_io/howto.html: Likewise.
282 * docs/html/ext/howto.html: Likewise.
283 * docs/html/faq/index.html: Likewise.
284 * docs/html/faq/index.txt: Regenerated.
286 2001-09-14 Phil Edwards <pme@sources.redhat.com>
288 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
289 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
290 * docs/html/18_support/howto.html: It won't compile; it's not code.
291 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
293 * docs/html/22_locale/howto.html: Comment for future work.
294 * docs/html/23_containers/howto.html: More comments.
295 * docs/html/25_algorithms/howto.html: It's a comment, not a
296 blunt command to the reader. (English grammar.)
298 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
300 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
302 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
303 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
305 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
307 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
309 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
311 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
312 * testsuite/22_locale/money_put_members_char.cc: Likewise.
313 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
315 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
317 Implement std::money_get.
318 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
319 * include/bits/locale_facets.h (money_get): Correct signatures.
320 * testsuite/22_locale/money_get.cc: New file.
321 * testsuite/22_locale/money_get_members_char.cc: New file.
323 * include/bits/locale_facets.tcc (__verify_grouping): New
324 function. Consolidate num_get and money_get group checking into
327 * src/locale.cc (num_get::_M_extract): Use it.
328 * src/locale-inst.cc: Add instantiation.
330 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
332 * include/bits/std_limits.h (numeric_limits<float>::radix,
333 numeric_limits<float>::epsilon: Fix thinko.
335 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
337 * configure.in: Fix cross compiling math routines. Correct
338 comments for cross compiling and limits. Add floating point math
339 routines found in newlib.
340 * configure: Regenerate.
341 * acconfig.h: Add macros.
342 * config.h.in: Regenerate.
344 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
346 * config/locale/moneypunct_members_generic.cc
347 (money_base::_S_construct_pattern): Remove unused parameters.
349 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
351 * include/Makefile.am (stamp-target): Remove link to self.
352 * inclulde/Makefile.in: Regenerate.
354 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
356 Implement std::money_put.
357 * include/bits/locale_facets.h
358 (moneypunct::_M_initialize_moneypunct): Split up specializations
359 to account for _Intl. More grody hacking to get around the
360 ill-considered use of const bool as a template parameter.
361 * config/locale/moneypunct_members_gnu.cc: And here.
362 * config/locale/moneypunct_members_generic.cc: And here.
363 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
364 * testsuite/22_locale/moneypunct.cc: Add tests.
365 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
366 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
368 * src/locale.cc (money_base::_S_construct_pattern): Move into
370 * config/locale/moneypunct_members_gnu.cc: Add here.
371 * config/locale/moneypunct_members_generic.cc: Add generic version
374 * include/bits/locale_facets.tcc (money_put::do_put): Move member
375 function definitions here.
376 * include/bits/locale_facets.h (money_put): Implement.
377 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
378 Correct money_get, money_put instantiations.
379 * src/locale.cc (money_base::_S_construct_pattern): Handle case
381 * testsuite/22_locale/money_put_members_char.cc: Add tests.
383 2001-09-05 Phil Edwards <pme@sources.redhat.com>
385 * testsuite_flags.in: No longer need to search testsuite builddir.
386 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
387 * Makefile.am: The testsuite directory never needs to be made here.
388 * Makefile.in: Regenerate.
389 * include/Makefile.in: Regenerate.
390 * libio/Makefile.in: Regenerate.
391 * libmath/Makefile.in: Regenerate.
392 * libsupc++/Makefile.in: Regenerate.
393 * po/Makefile.in: Regenerate.
394 * src/Makefile.in: Regenerate.
395 * testsuite/Makefile.in: Regenerate.
397 2001-09-04 Scott Johnston <scott@accom.com>
398 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
400 * include/backward/iterator.h: Include <bits/std_iterator.h>,
401 remove reverse_bidirectional_iterator.
402 * testsuite/backward: New directory.
403 * testsuite/backward/header_iterator_h.cc: New file.
405 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
407 * include/c_std/bits/std_c*.h: Don't use include_next.
409 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
411 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
412 tmp from _Unwind_Ptr to _Unwind_Word.
414 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
416 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
419 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
421 * include/Makefile.am: Use toplevel_srcdir to refer to src files
422 outside this component.
423 * include/Makefile.in: Regenerate.
425 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
427 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
428 * config/locale/c_locale_generic.cc: Same.
429 * config/locale/moneypunct_members_gnu.cc: New file.
430 * config/locale/moneypunct_members_generic.cc: New file.
431 * config/locale/numpunct_members_gnu.cc: New file.
432 * config/locale/numpunct_members_generic.cc: New file.
433 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
435 * aclocal.m4: Regenerate.
436 * configure: Regenerate.
437 * src/Makefile.am (sources): And here.
438 * src/Makefile.in: Regenerate.
440 Rename for consistency with rest of testsuite.
441 * testsuite/22_locale/codecvt.cc: New file.
442 * testsuite/22_locale/money_put.cc: New file.
443 * testsuite/22_locale/money_put_members_char.cc: New file.
445 2001-08-27 Phil Edwards <pme@sources.redhat.com>
448 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
449 correctly for version-specific-runtime-libs.
450 * aclocal.m4: Regenerate.
451 * configure: Regenerate.
453 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
455 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
456 define if not already provided by per-OS file.
457 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
460 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
462 * docs/html/17_intro/C++STYLE: Fix typo.
464 2001-08-24 Phil Edwards <pme@sources.redhat.com>
466 * docs/html/23_containers/howto.html: Describe implementation of
467 insertion with hints.
469 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
472 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
474 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
475 Phil Edwards <pme@sources.redhat.com>
478 * include/bits/stl_tree.h (insert_unique): Revert last change.
479 Values inserted at begin() must be less, not greater, than *begin()'s.
480 * testsuite/23_containers/map_insert.cc: New file.
482 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
484 * config/locale/c_locale_gnu.cc: Minor tweaks.
485 (moneypunct<wchar_t>): Implement.
486 * include/bits/locale_facets.h: Same.
487 * testsuite/22_locale/moneypunct.cc: New file.
488 * testsuite/22_locale/moneypunct_byname.cc: New file.
489 * testsuite/22_locale/moneypunct_char_members.cc: New file.
491 2001-08-23 David Edelsohn <edelsohn@gnu.org>
493 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
494 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
496 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
498 * testsuite_flags.in (build-includes): Re-add backward.
500 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
502 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
503 with _GLIBCPP_USE_WCHAR_T.
505 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
507 * testsuite/22_locale/collate_byname.cc (test01): Fix.
509 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
511 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
513 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
515 * testsuite/22_locale/operators.cc: Add test.
517 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
519 Implement std::collate.
520 * config/locale/collate_specializations_gnu.cc: Add here, implement in
522 * config/locale/collate_specializations_generic.cc: Add here, but
523 in a less sophisticated manner.
524 * include/bits/locale_facets.tcc (collate): Add generic definition.
525 * include/bits/locale_facets.h (~collate): Mark virtual.
526 (collate::_M_compare_helper): New.
527 (collate::_M_transform_helper): New.
528 * src/locale.cc: Remove unnecessary specializations.
529 * src/string-inst.cc: Tweak instantiation of ctors.
531 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
532 * aclocal.m4: Regenerate.
533 * configure: Regenerate.
534 * src/Makefile.am (sources): Add collate.cc.
535 * src/Makefile.in: Regenerate.
537 * testsuite/22_locale/collate_byname.cc: New.
538 * testsuite/22_locale/collate.cc: New file.
539 * testsuite/22_locale/collate_char_members.cc: New file.
540 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
542 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
544 * configure.target: Set LIMITSH for powerpc-*-*.
545 * config/cpu/powerpc/bits/limits.h: New file.
547 2001-08-16 Marc Espie <espie@openbsd.org>
549 * configure.in: Check for <sys/types.h>.
550 * configure: Rebuild.
551 * config.h.in: Rebuild.
552 * libmath/mathconf.h: Include <sys/types.h> prior to
553 <machine/endian.h> if available.
555 2001-08-15 Andreas Schwab <schwab@suse.de>
557 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
559 * config/cpu/m68k/bits/atomicity.h: New file.
561 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
562 Define appropriate long double limits for m68k extended floating
564 (__glibcpp_f32_digits10): Corrected, off by one.
565 (__glibcpp_f80_digits10): Likewise.
566 (__glibcpp_f128_digits10): Likewise.
567 * config/os/gnu-linux/bits/os_defines.h
568 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
570 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
572 * testsuite/18_support/numeric_limits.cc: Add more tests.
573 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
576 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
578 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
581 * config/cpu/s390/bits/atomicity.h: New.
583 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
585 * include/bits/std_limits.h: Fix thinko.
587 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
589 * include/Makefile.am: Consolidate target rules. Don't clean stamp
590 files. Tweak target build directory stamp.
591 * include/Makefile.in: Regenerate.
593 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
595 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
596 _GBLICPP_HAVE_LOGL with HAVE_LOGL
598 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
600 * configure.in (libtool_VERSION): Add.
602 (release_VERSION): This.
603 * configure: Regenerate.
604 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
606 * src/Makefile.in: Regenerate.
608 * intl/Makefile.am: Remove.
609 * intl/Makefile.in: Remove.
611 * Makefile.am (SUBDIRS): Remove intl.
612 * po/Makefile.am (DISTFILES): Add string_literals.cc
614 * po/string_literals.cc: Add.
615 * po/POTFILES.in: Fix path.
616 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
617 * aclocal.m4: Regenerate.
618 * configure.in: Remove AC_OUTPUT of intl/Makefile.
620 * include/backward/backward_warning.h: Clarify message.
622 * testsuite_flags.in (--cxxflags): Use same debug flags for
623 library and testsuite.
625 * include/Makefile.am (c_compatibility): Remove.
626 * include/Makefile.in: Regenerate.
628 2001-08-13 Mark Mitchell <mark@codesourcery.com>
630 * configure.in (LIMITS_INC_SRCDIR): New variable.
631 * configure.target (LIMITSH): New variable.
632 * porting.texi: Discuss numeric limits.
633 * config/cpu/generic/bits/limits.h: New file.
634 * config/cpu/i386/bits/limits.h: New file.
635 * include/Makefile.am: Install bits/limits.h.
636 * include/bits/c++config: Include bits/limits.h.
638 2001-08-13 H.J. Lu (hjl@gnu.org)
640 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
642 (libstdc++-v3-init ): Use it.
644 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
646 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
647 to '__adjust' to avoid shadowing in nested scope.
649 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
651 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
654 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
656 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
659 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
661 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
662 dummy default argument to the non-limit implementation.
665 * include/Makefile.am: Use relative file path in rule to allow
667 * include/Makefile.in: Rebuilt.
669 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
671 * include/bits/std_complex.h (complex<long double>::operator*=,
672 complex<long double>::operator/=): Fix thinko.
674 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
676 * include/bits/std_limits.h: New file.
677 * include/Makefile.am (bits_headers): Add std_limits.h
678 (all-local): std_limits.h is no longer built.
679 (${target_builddir}/std_limits.h): Remove.
680 * include/Makefile.in: Regenerate.
681 * src/limits.cc: New file.
682 * src/Makefile.am (sources): Add limits.cc in replacement of
684 * src/Makefile.in: Regenerate.
686 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
688 * src/gen-num-limits.cc (digits10): Fix thinko.
690 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
692 * po/Makefile.am (check-no): Add.
694 * po/Makefile.in: Regenerate.
696 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
698 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
699 * config.h.in: Regenerate.
700 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
702 * aclocal.m4: Regenerate.
703 * configure.in: Remove duplicate AM_CONFIG_HEADER.
704 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
705 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
706 * configure: Regenerate.
707 * testsuite_hooks.h.in: Move to...
708 * testsuite_hooks.h: Here, include c++config.h. Use it.
710 * Makefile.am (SUBDIRS): Move testsuite to last directory.
711 * Makefile.in: Regenerate.
712 * po/Makefile.am (stamp-po): Add.
714 2001-08-09 David Edelsohn <edelsohn@gnu.org>
716 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
717 * config/os/generic/bits/os_defines.h: Likewise.
718 * config/os/gnu-linux/bits/os_defines.h: Likewise.
719 * config/os/hpux/bits/os_defines.h: Likewise.
720 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
721 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
723 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
725 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
726 -version-info, use substituted VERSION info.
727 * src/Makefile.in: Regenerate.
729 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
731 Implement std::messages.
732 Make config a fully-nested directory.
733 * config/locale: New directory.
734 * config/c_locale_generic.cc: Move into locale subdirectory.
735 * config/c_locale_generic.h: Same.
736 * config/c_locale_gnu.cc: Same.
737 * config/c_locale_gnu.h: Same.
738 * config/c_locale_ieee_1003.1-200x.cc: Same.
739 * config/c_locale_ieee_1003.1-200x_.h: Same.
740 * config/codecvt_specializations_generic.h: Same.
741 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
742 * config/messages_members_gnu.h: Same.
743 * config/messaages_members_gnu.cc: Same.
744 * config/messages_members_generic.h: Same.
745 * config/messaages_members_generic.cc: Same.
746 * config/messages_members_ieee_1003.1-200x.h: Same.
747 * config/messaages_members_ieee_1003.1-200x.cc: Same.
748 * config/io: New directory.
749 * config/basic_file_libio.h: Move into io subdirectory.
750 * config/basic_file_libio.cc: Same.
751 * config/c_io_libio.h: Same.
752 * config/c_io_libio_codecvt.c: Same.
753 * config/basic_file_stdio.h: Same.
754 * config/basic_file_stdio.cc: Same.
755 * config/c_io_stdio.h: Same.
758 * po/POTFILES.in: New file.
759 * po/Makefile.am: New file.
760 * po/Makefile.in: New file.
761 * po/libstdc++.pot: Generic translation file.
762 * po/fr.po: Preliminary French translation.
763 * po/de.po: Preliminary German translation.
764 * intl: New directory.
765 * intl/Makefile.am: New file.
766 * intl/Makefile.in: New file.
767 * intl/string_literals.cc: New file.
768 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
769 requisite setup for gettext. Re-arrange.
770 * aclocal.m4: Regenerate.
771 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
772 Output Makefile bits for po and intl.
773 * configure: Regenerate.
774 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
775 * Makefile.in: Regenerate.
776 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
777 * config.h.in: Regenerate.
779 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
781 * include/Makefile.am (install-data-local): Don't install Makefile.
782 * include/Makefile.in: Regenerate.
784 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
786 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
787 * config/locale/c_locale_generic.cc: Same.
788 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
790 * include/bits/codecvt.h: Excise non-standard, non-required
791 bits. This includes __enc_traits, and partial specializations of
792 codecvt for __enc_traits.
793 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
794 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
795 * config/codecvt_partials_generic.h: New file.
796 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
797 (stamp-codecvt_model): Add.
798 * include/Makefile.in: Regenerate.
799 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
800 * aclocal.m4: Regenerate.
801 * configure: Regenerate.
802 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
803 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
804 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
806 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
807 as a friend for _S_*_c_locale functions.
808 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
809 argument to default constructor so that CODESET information can be
811 * include/bits/locale_facets.h (messages_byname):
812 Re-implement. Remove specializations.
813 * src/locale.cc (messages_byname<char>): Remove specialization.
814 (messages_byname<wchar_t>): Same.
815 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
816 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
817 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
818 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
819 * config/locale/messages_members_gnu.cc: New file.
820 * config/locale/messages_members_gnu.h: New file.
821 * config/locale/messages_members_generic.cc: New file.
822 * config/locale/messages_members_generic.h: New file.
824 * docs/html/configopts.html: Add documentation for new locale
825 model, ieee_1003.1. Adjust other flags for current defaults.
826 * docs/html/22_locale/locale.html: Update.
827 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
828 * docs/html/22_locale/messages.html: New.
830 * src/Makefile.am (sources): Add messages_virtuals.cc.
831 * src/Makefile.in: Regenerate.
832 * include/Makefile.am (allstamps): Add stamp-messages_model.
833 (stamp-messages_model): Add.
834 * include/Makefile.in: Regenerate.
835 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
836 * aclocal.m4: Regenerate.
837 * configure: Regenerate.
839 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
840 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
842 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
843 build directories message catalog base directory, and export.
844 Eventually this should probably be made to deal with build and
845 install directories. For now, punt on this as the library itself
846 doesn't use message catalogs (yet).
847 * testsuite/22_locale/messages.cc: New file.
848 * testsuite/22_locale/messages_char_members.cc: New file.
849 * testsuite/22_locale/messages_byname.cc: New file.
851 2001-08-06 Phil Edwards <pme@sources.redhat.com>
853 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
854 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
855 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
856 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
857 Call GLIBCPP_CONFIGURE_TESTSUITE.
858 * aclocal.m4: Regenerate.
859 * config.h.in: Regenerate.
860 * configure: Regenerate.
862 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
865 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
866 * testsuite/debug_assert.h: Removed; contents merged into...
867 * testsuite/testsuite_hooks.h.in: ...here. New file.
868 * testsuite/17_intro/header_ciso646.cc: No longer include
869 debug_assert.h, include testsuite_hooks.h instead.
870 * testsuite/17_intro/header_fstream.cc: Likewise.
871 * testsuite/17_intro/header_iomanip.cc: Likewise.
872 * testsuite/17_intro/header_ios.cc: Likewise.
873 * testsuite/17_intro/header_iosfwd.cc: Likewise.
874 * testsuite/17_intro/header_iostream.cc: Likewise.
875 * testsuite/17_intro/header_istream.cc: Likewise.
876 * testsuite/17_intro/header_ostream.cc: Likewise.
877 * testsuite/17_intro/header_sstream.cc: Likewise.
878 * testsuite/17_intro/header_streambuf.cc: Likewise.
879 * testsuite/18_support/numeric_limits.cc: Likewise.
880 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
881 * testsuite/20_util/allocator_members.cc: Likewise.
882 * testsuite/20_util/auto_ptr.cc: Likewise.
883 * testsuite/20_util/pairs.cc: Likewise.
884 * testsuite/21_strings/append.cc: Likewise.
885 * testsuite/21_strings/capacity.cc: Likewise.
886 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
887 * testsuite/21_strings/compare.cc: Likewise.
888 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
889 call to (disabled) __set_testsuite_memlimit() wrapper.
890 * testsuite/21_strings/element_access.cc: Likewise.
891 * testsuite/21_strings/find.cc: Likewise.
892 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
893 (disabled) __set_testsuite_memlimit() wrapper.
894 * testsuite/21_strings/inserters_extractors.cc: Likewise.
895 * testsuite/21_strings/invariants.cc: Likewise.
896 * testsuite/21_strings/nonmember.cc: Likewise.
897 * testsuite/21_strings/operations.cc: Likewise.
898 * testsuite/21_strings/replace.cc: Likewise.
899 * testsuite/21_strings/rfind.cc: Likewise.
900 * testsuite/21_strings/substr.cc: Likewise.
901 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
902 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
903 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
904 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
905 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
906 * testsuite/22_locale/ctype_char_members.cc: Likewise.
907 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
908 * testsuite/22_locale/facet.cc: Likewise.
909 * testsuite/22_locale/global_templates.cc: Likewise.
910 * testsuite/22_locale/members.cc: Likewise.
911 * testsuite/22_locale/numpunct_byname.cc: Likewise.
912 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
913 * testsuite/22_locale/operators.cc: Likewise.
914 * testsuite/22_locale/static_members.cc: Likewise.
915 * testsuite/23_containers/bitset_ctor.cc: Likewise.
916 * testsuite/23_containers/bitset_members.cc: Likewise.
917 * testsuite/23_containers/bitset_shift.cc: Likewise.
918 * testsuite/23_containers/vector_capacity.cc: Likewise.
919 * testsuite/23_containers/vector_ctor.cc: Likewise.
920 * testsuite/23_containers/vector_element_access.cc: Likewise.
921 * testsuite/23_containers/vector_modifiers.cc: Likewise.
922 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
923 * testsuite/24_iterators/iterator.cc: Likewise.
924 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
925 * testsuite/25_algorithms/binary_search.cc: Likewise.
926 * testsuite/25_algorithms/copy.cc: Likewise.
927 * testsuite/25_algorithms/heap.cc: Likewise.
928 * testsuite/25_algorithms/lower_bound.cc: Likewise.
929 * testsuite/25_algorithms/min_max.cc: Likewise.
930 * testsuite/25_algorithms/partition.cc: Likewise.
931 * testsuite/25_algorithms/rotate.cc: Likewise.
932 * testsuite/25_algorithms/sort.cc: Likewise.
933 * testsuite/26_numerics/c_math.cc: Likewise.
934 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
935 * testsuite/26_numerics/complex_value.cc: Likewise.
936 * testsuite/27_io/filebuf.cc: Likewise.
937 * testsuite/27_io/filebuf_members.cc: Likewise.
938 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
939 * testsuite/27_io/fpos.cc: Likewise.
940 * testsuite/27_io/fstream_members.cc: Likewise.
941 * testsuite/27_io/ifstream_members.cc: Likewise.
942 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
943 * testsuite/27_io/ios_base_members_static.cc: Likewise.
944 * testsuite/27_io/ios_base_storage.cc: Likewise.
945 * testsuite/27_io/ios_ctor.cc: Likewise.
946 * testsuite/27_io/ios_init.cc: Likewise.
947 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
948 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
949 * testsuite/27_io/ios_members.cc: Likewise.
950 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
951 * testsuite/27_io/istream_extractor_char.cc: Likewise.
952 * testsuite/27_io/istream_extractor_other.cc: Likewise.
953 * testsuite/27_io/istream_manip.cc: Likewise.
954 * testsuite/27_io/istream_seeks.cc: Likewise.
955 * testsuite/27_io/istream_sentry.cc: Likewise.
956 * testsuite/27_io/istream_unformatted.cc: Likewise.
957 * testsuite/27_io/istringstream_members.cc: Likewise.
958 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
959 * testsuite/27_io/ofstream_members.cc: Likewise.
960 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
961 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
962 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
963 * testsuite/27_io/ostream_manip.cc: Likewise.
964 * testsuite/27_io/ostream_seeks.cc: Likewise.
965 * testsuite/27_io/ostream_unformatted.cc: Likewise.
966 * testsuite/27_io/ostringstream_members.cc: Likewise.
967 * testsuite/27_io/streambuf.cc: Likewise.
968 * testsuite/27_io/stringbuf.cc: Likewise.
969 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
970 * testsuite/27_io/stringstream.cc: Likewise.
971 * testsuite/27_io/stringstream_members.cc: Likewise.
972 * testsuite/27_io/wide_stream_objects.cc: Likewise.
974 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
976 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
978 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
980 * configure.target: Remove mips from cpu table.
981 * config/cpu/mips/bits/atomicity.h: Remove generic
982 versions. Comment sgidefs include.
984 2001-07-25 H.J. Lu <hjl@gnu.org>
986 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
989 * config/cpu/mips/bits/atomicity.h: New.
991 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
993 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
994 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
995 * aclocal.m4: Regenerate.
996 * config.h.in: Likewise.
997 * configure: Likewise.
998 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
999 (EXTRA_DIST): Remove hypot.c hypotf.c.
1000 * libmath/Makefile.am: Regenerate.
1001 * libmath/hypotf.c: Remove.
1002 * libmath/hypot.c: Likewise.
1003 * libmath/hypotl.c: Likewise.
1004 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1005 _GLIBCPP_HAVE_xxx. Add long double versions.
1007 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1009 * include/bits/limits_generic.h (int): Set digits and digits10
1010 appropriately for word size.
1011 (unsigned int,long,unsigned long): Likewise.
1013 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1015 * include/bits/stl_algo.h : Fix typos.
1016 * testsuite/25_algorithms/unique.cc: New file.
1018 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1019 Mark Mitchell <mark@codesourcery.com>
1021 Merge from cp-parser-branch.
1022 * include/bits/basic_string.h: Qualify symbols with 'template'.
1023 * include/bits/basic_string.tcc: Likewise.
1024 * include/bits/fstream.tcc: Likewise.
1025 * include/bits/istream.tcc: Likewise.
1026 * include/bits/sstream.tcc: Likewise.
1027 * include/bits/std_istream.h: Likewise.
1028 * include/bits/stl_iterator.h: Likewise.
1029 * include/bits/streambuf.tcc: Likewise.
1030 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1031 * src/locale.cc: Likewise.
1033 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1034 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1036 * src/gen-num-limits.cc (set_signals_handler): New function.
1037 Factor out signals setting. Set signal handler for SIGILL.
1039 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1041 * docs/html/27_io/howto.html: Fix typo.
1042 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1043 * docs/html/faq/index.txt: Regenerated.
1045 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1046 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1049 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1050 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1052 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1054 All occurrences of the __value_type() and __distance_type()
1055 functions, which were required to support the HP STL, have been
1056 removed along with all the auxiliary forwarding functions that
1057 were required to support their use.
1059 The __iterator_category() function was pretty much left alone
1060 because there was no benefit to removing it and its use made code
1061 just a little more readable.
1063 Incidences of distance() with nonstandard argument list were
1064 replaced by calls to the standard function (only in the files
1065 affected by the removal of the other HP functions).
1067 The signature of the rotate() algorithm was changed to match the
1070 Headers were reformatted under C++STYLE guidelines (indentation,
1071 linebreaks, typename keyword).
1073 * include/bits/stl_algo.h: replaced __value_type() and
1074 __distance_type() with iterator_traits, eliminated auxiliary
1075 support functions required to support said function usage.
1076 Changed nonstandard distance() call to standard call.
1078 * include/bits/stl_algobase.h: Same.
1079 * include/bits/stl_heap.h: Same.
1080 * include/bits/stl_numeric.h: Same.
1081 * include/bits/stl_uninitialized.h: Same.
1082 * include/bits/stl_iterator_base_types.h (__value_type()):
1084 (__distance_type()): Removed.
1085 (value_type()): Gone.
1086 (distance_type()): Done in.
1087 (iterator_category()): Hasta la vista, baby.
1089 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1090 Replaced with __iterator_category().
1091 * include/backward/iterator.h: moved definition of value_type(),
1092 distance_type(), and iterator_category() out of std:: and into
1094 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1095 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1096 * testsuite/25_algorithms/rotate.cc: New testcase.
1097 * testsuite/25_algorithms/copy.cc: New testcase.
1098 * testsuite/25_algorithms/sort.cc: Same.
1099 * testsuite/25_algorithms/heap.cc: Same.
1100 * testsuite/25_algorithms/partition.cc: Same.
1101 * testsuite/25_algorithms/binary_search.cc: Same.
1102 * testsuite/26_numerics/sum_diff.cc: Ditto.
1104 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1106 * testsuite/README: Add notes on naming test cases.
1107 * testsuite/22_locale/members.cc: Mark as xfail.
1108 * testsuite/22_locale/numpunct_char_members.cc: Same.
1110 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1112 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1113 setting C_INCLUDE_DIR.
1114 * configure.in: Revert yesterday's LN_S change.
1115 * aclocal.m4: Regenerate.
1116 * configure: Regenerate.
1118 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1120 * configure.in: Temporarily force LN_S to copy instead of symlink.
1121 * configure: Regenerate.
1123 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1125 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1126 Initialize _M_string with pointer-and-size constructor, not just
1127 pointer. Fix some comments.
1128 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1129 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1130 (test03): Add embedded-NUL tests.
1132 * mkcheck.in: When printing totals, match the order of the tests.
1133 * include/bits/stringfwd.h: Use same declaration keywords.
1134 * include/bits/std_iosfwd.h: Cosmetic spacing.
1136 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1137 Loren J. Rittle <ljrittle@acm.org>
1138 Phil Edwards <pme@sources.redhat.com>
1140 * include/Makefile.am: New file encapsulating header generation rules.
1141 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1142 * acinclude.m4: Moved/removed rules for building various headers.
1143 * configure.in (AC_OUTPUT): Add include/Makefile.
1144 * mkc++config: Removed.
1146 * testsuite_flags.in: Changed build-includes to match new scheme.
1147 * mknumeric_limits: Likewise.
1148 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1149 * libmath/Makefile.am: Likewise.
1150 * libsupc++/Makefile.am: Likewise.
1151 * src/Makefile.am: Likewise; removed rules to build headers.
1152 * libmath/mathconf.h: Changed #include'd header names to match.
1153 * libmath/stubs.c: Likewise.
1154 * src/gen-num-limits.cc: Likewise.
1156 * configure: Regenerated.
1157 * config.h.in: Regenerated.
1158 * aclocal.m4: Regenerated.
1159 * Makefile.in: Regenerated.
1160 * include/Makefile.in: Regenerated.
1161 * libio/Makefile.in: Regenerated.
1162 * libmath/Makefile.in: Regenerated.
1163 * libsupc++/Makefile.in: Regenerated.
1164 * src/Makefile.in: Regenerated.
1165 * testsuite/Makefile.in: Regenerated.
1167 2001-07-11 Felix Natter <fnatter@gmx.net>
1169 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1171 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1173 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1175 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1176 * docs/doxygen/user.cfg.in: Tweaks.
1177 * include/bits/c++config: Documentation comments for Doxygen.
1178 * include/bits/char_traits.h: Likewise.
1179 * include/bits/limits_generic.h: Likewise.
1180 * include/bits/std_stdexcept.h: Likewise.
1181 * include/bits/stl_pair.h: Likewise.
1182 * libsupc++/exception: Likewise.
1183 * libsupc++/new: Likewise.
1184 * libsupc++/typeinfo: Likewise.
1185 * libmath/Makefile.am: Update and correct copyright.
1187 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1189 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1190 * aclocal.m4: Regenerate.
1193 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1195 * docs/html/configopts.html: Fix thinko.
1196 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1197 * include/bits/stl_iterator.h: Fix typo.
1199 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1201 * docs/html/explanations.html: New file.
1202 * docs/html/configopts.html: Link to it to provide more notes
1203 on cstdio. Minor markup and spacing fixes.
1204 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1206 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1208 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1209 for _Expr template template argument.
1210 (_Expr::operator-): Likewise.
1211 (_Expr::operator~): Likewise.
1212 (_Expr::operator!): Likewise.
1213 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1215 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1217 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1218 * libmath/Makefile.in: Regenerate.
1219 * libmath/expf.c: Remove.
1220 * libmath/atan2f.c: Likewise.
1222 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1224 * configure.in: Remove NATIVE, NULL_TARGET.
1225 Set CANADIAN only for Canadian crosses. Set xcompiling
1226 for both Canadian crosses and host-x-host crosses.
1227 * configure: Regenerated.
1229 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1231 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1233 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1235 * testsuite_flags.in (--build-includes): backward, not backwards.
1237 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1239 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1240 Replace destroy by _Destroy.
1241 (_Rope_RopeRep::_S_free_string): Likewise.
1242 (rope::c_str()): Likewise.
1243 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1244 (_Slist_base::_M_erase_after): Likewise.
1245 (slist::_M_create_node): Replace construct by _Construct.
1246 (slist::pop_front): Replace destroy by _Destroy.
1247 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1248 construct by _Construct.
1249 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1250 * include/ext/stl_rope.h (rope::rope): Replace construct by
1252 (rope::copy): Replace destroy by _Destroy.
1254 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1256 * include/bits/localefwd.h: Format.
1257 * include/bits/locale_facts.tcc (locale::combine): Adjust.
1258 * src/locale.cc (locale::locale::(_Impl)): Don't call
1260 (locale::facet::_M_remove_reference): Simplify.
1261 * src/globals.cc (locale_impl_c): New. Format.
1263 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1265 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1267 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1268 expansion (thanks to Alexandre Oliva).
1269 * aclocal.m4: Regenerate.
1270 * configure: Regenerate.
1272 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
1274 * src/locale.cc (locale::locale(const char*)): Make sure global
1275 locales are initialized.
1276 * include/bits/locale_facets.tcc (locale::combine): Refcout should
1277 be zero, not one as it's return-by-value.
1278 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1280 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1283 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1285 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1288 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1289 * aclocal.m4: Regenerate.
1290 * configure: Regenerate.
1292 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1295 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1296 staged/installed area to support -I-. Document.
1297 * aclocal.m4: Regenerate.
1298 * configure: Regenerate.
1300 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1303 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
1304 __out_bufsize. Add __in_bufsize, document it and use it.
1306 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
1308 * include/bits/stl_construct.h (construct): Remove.
1310 (__destroy): Replaced by use of iterator_traits.
1311 * include/bits/stl_deque.h: replaced HP iterator functions with
1313 (construct): changed to _Construct.
1314 (destroy): changed to _Destroy.
1315 * include/bits/stl_tempbuf.h: Same.
1316 * include/bits/stl_tree.h: Same.
1317 * include/bits/stl_vector.h: Same.
1318 * include/backward/iterator.h (construct): moved definition to here.
1321 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
1323 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
1324 before replacing facet.
1325 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
1327 * src/localename.cc (locale::_Impl): Correct ctor initialization
1328 lists. Initialize ref count with one. Simplify.
1329 * src/locale.cc: Add comment.
1330 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
1331 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
1332 * testsuite/22_locale/members.cc (test02): Fix.
1334 2001-06-27 Phil Edwards <pme@sources.redhat.com>
1336 * include/backward/algo.h: Add "GPL plus runtime exception" comment
1337 block, this time for real.
1338 * include/backward/algobase.h: Likewise.
1339 * include/backward/alloc.h: Likewise.
1340 * include/backward/bvector.h: Likewise.
1341 * include/backward/defalloc.h: Likewise.
1342 * include/backward/deque.h: Likewise.
1343 * include/backward/function.h: Likewise.
1344 * include/backward/hash_map.h: Likewise.
1345 * include/backward/hash_set.h: Likewise.
1346 * include/backward/hashtable.h: Likewise.
1347 * include/backward/heap.h: Likewise.
1348 * include/backward/iterator.h: Likewise.
1349 * include/backward/list.h: Likewise.
1350 * include/backward/map.h: Likewise.
1351 * include/backward/multimap.h: Likewise.
1352 * include/backward/multiset.h: Likewise.
1353 * include/backward/pair.h: Likewise.
1354 * include/backward/rope.h: Likewise.
1355 * include/backward/set.h: Likewise.
1356 * include/backward/slist.h: Likewise.
1357 * include/backward/stack.h: Likewise.
1358 * include/backward/strstream: Likewise.
1359 * include/backward/tempbuf.h: Likewise.
1360 * include/backward/tree.h: Likewise.
1361 * include/backward/vector.h: Likewise.
1362 * include/bits/pthread_allocimpl.h: Likewise.
1363 * include/bits/std_algorithm.h: Likewise.
1364 * include/bits/std_bitset.h: Likewise.
1365 * include/bits/std_deque.h: Likewise.
1366 * include/bits/std_functional.h: Likewise.
1367 * include/bits/std_iterator.h: Likewise.
1368 * include/bits/std_list.h: Likewise.
1369 * include/bits/std_map.h: Likewise.
1370 * include/bits/std_memory.h: Likewise.
1371 * include/bits/std_numeric.h: Likewise.
1372 * include/bits/std_queue.h: Likewise.
1373 * include/bits/std_set.h: Likewise.
1374 * include/bits/std_stack.h: Likewise.
1375 * include/bits/std_utility.h: Likewise.
1376 * include/bits/std_vector.h: Likewise.
1377 * include/bits/stl_algo.h: Likewise.
1378 * include/bits/stl_algobase.h: Likewise.
1379 * include/bits/stl_alloc.h: Likewise.
1380 * include/bits/stl_bvector.h: Likewise.
1381 * include/bits/stl_construct.h: Likewise.
1382 * include/bits/stl_deque.h: Likewise.
1383 * include/bits/stl_function.h: Likewise.
1384 * include/bits/stl_heap.h: Likewise.
1385 * include/bits/stl_iterator.h: Likewise.
1386 * include/bits/stl_iterator_base_funcs.h: Likewise.
1387 * include/bits/stl_iterator_base_types.h: Likewise.
1388 * include/bits/stl_list.h: Likewise.
1389 * include/bits/stl_map.h: Likewise.
1390 * include/bits/stl_multimap.h: Likewise.
1391 * include/bits/stl_multiset.h: Likewise.
1392 * include/bits/stl_numeric.h: Likewise.
1393 * include/bits/stl_pair.h: Likewise.
1394 * include/bits/stl_pthread_alloc.h: Likewise.
1395 * include/bits/stl_queue.h: Likewise.
1396 * include/bits/stl_raw_storage_iter.h: Likewise.
1397 * include/bits/stl_relops.h: Likewise.
1398 * include/bits/stl_set.h: Likewise.
1399 * include/bits/stl_stack.h: Likewise.
1400 * include/bits/stl_tempbuf.h: Likewise.
1401 * include/bits/stl_threads.h: Likewise.
1402 * include/bits/stl_tree.h: Likewise.
1403 * include/bits/stl_uninitialized.h: Likewise.
1404 * include/bits/stl_vector.h: Likewise.
1405 * include/bits/type_traits.h: Likewise.
1406 * include/ext/hash_map: Likewise.
1407 * include/ext/hash_set: Likewise.
1408 * include/ext/rope: Likewise.
1409 * include/ext/ropeimpl.h: Likewise.
1410 * include/ext/slist: Likewise.
1411 * include/ext/stl_hash_fun.h: Likewise.
1412 * include/ext/stl_hashtable.h: Likewise.
1413 * include/ext/stl_rope.h: Likewise.
1414 * src/bitset.cc: Likewise.
1415 * src/strstream.cc: Likewise.
1417 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1418 <vakatov@ncbi.nlm.nih.gov>
1421 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1422 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1423 * testsuite/27_io/istream_extractor_other.cc: Fix.
1425 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
1427 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1428 * aclocal.m4: Regenerate.
1429 * configure: Regenerate.
1431 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1433 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1434 (ostream_iterator): Same.
1435 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1436 Change argument to const_reference.
1437 (back_insert_iterator): Same.
1439 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1441 * include/bits/sbuf_iter.h: Change to..
1442 * include/bits/streambuf_iterator.h: This.
1443 * include/bits/stl_iterator.h: Take out of here...
1444 * include/bits/stream_iterator.h: Add.
1445 * src/Makefile.am (base_headers): Add streambuf_iterator,
1447 * src/Makefile.in: Regenerate.
1448 * include/bits/std_string.h: Adjust includes.
1449 * include/bits/basic_ios.h: Same.
1450 * include/bits/locale_facets.tcc: Same.
1451 * include/bits/std_iosfwd.h: Same.
1453 * include/bits/std_iterator.h: Add istream, ostream includes.
1454 * include/bits/stl_iterator.h: Tweak.
1455 * testsuite/24_iterators/ostream_iterator.cc: Add test.
1456 * testsuite/24_iterators/istream_iterator.cc: Same.
1457 * testsuite/23_containers/multiset.cc: Add iterator include.
1459 2001-06-26 Phil Edwards <pme@sources.redhat.com>
1461 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
1462 * aclocal.m4: Regenerate.
1463 * configure: Regenerate.
1465 2001-06-26 Felix Natter <f.natter@ndh.net>
1467 * docs/html/17_intro/porting-howto.html: Fixed some errors.
1469 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1471 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1473 (istream_iterator::operator*): Same.
1475 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1476 Alexandre Petit-Bianco <apbianco@redhat.com>
1478 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1479 is on 41st, not 14th.
1481 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1483 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1485 * include/bits/stl_iterator.h (istream_iterator): Inherit from
1487 (ostream_iterator): Same.
1488 * testsuite/24_iterators/istream_iterator.cc: New file.
1489 * testsuite/24_iterators/ostream_iterator.cc: New file.
1491 * include/bits/sbuf_iter.h: Remove self typedef.
1492 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1493 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1495 * include/bits/stl_iterator.h (reverse_iterator): Remove
1496 extraneous typedefs. Add typename.
1497 (__normal_iterator): Remove typedefs referring to self. Add typename.
1498 (reverse_bidiretional_iterator): Remove, not longer required.
1500 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1502 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1503 dependent names with `typename'. Bring in various required
1504 iterator_traits members. Can't imagine why that used to work.
1506 2001-06-25 Phil Edwards <pme@sources.redhat.com>
1507 Kurt Garloff <garloff@suse.de>
1510 * src/cmath.cc: New [version of an old] file; instantiate
1511 __cmath_power to start with.
1512 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
1513 * Makefile.in: Regenerate.
1514 * libio/Makefile.in: Regenerate.
1515 * libmath/Makefile.in: Regenerate.
1516 * libsupc++/Makefile.in: Regenerate.
1517 * src/Makefile.in: Regenerate.
1518 * testsuite/Makefile.in: Regenerate.
1520 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1522 * libmath/stubs.c: Fix thinko.
1524 2001-06-24 David Edelsohn <dje@watson.ibm.com>
1526 * libmath/stubs.c (sqrtf): Define.
1527 (tanf): Correct typo.
1529 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
1531 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1533 (back_insert_iterator): Same.
1534 (front_insert_iterator): Same.
1535 (insert_iterator): Same.
1537 * testsuite/20_util/raw_storage_iterator.cc: Modify.
1538 * testsuite/24_iterators/reverse_iterator.cc: New file.
1539 * testsuite/24_iterators/back_insert_iterator.cc: New file.
1540 * testsuite/24_iterators/front_insert_iterator.cc: New file.
1541 * testsuite/24_iterators/insert_iterator.cc: New file.
1543 2001-06-22 Phil Edwards <pme@sources.redhat.com>
1545 * include/*: Revert comment/license change from yesterday for all
1546 except libsupc++/unwind-cxx.h.
1547 * src/bitset.cc: Likewise.
1548 * src/strstream.cc: Likewise.
1550 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1552 * libmath/stubs.c: New file.
1556 * libmath/Makefile.am (libmath_la_SOURCES): Add.
1557 * libmath/Makefile.in. Regenerate.
1559 2001-06-21 Phil Edwards <pme@sources.redhat.com>
1561 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
1562 * include/backward/algobase.h: Likewise.
1563 * include/backward/alloc.h: Likewise.
1564 * include/backward/bvector.h: Likewise.
1565 * include/backward/defalloc.h: Likewise.
1566 * include/backward/deque.h: Likewise.
1567 * include/backward/function.h: Likewise.
1568 * include/backward/hash_map.h: Likewise.
1569 * include/backward/hash_set.h: Likewise.
1570 * include/backward/hashtable.h: Likewise.
1571 * include/backward/heap.h: Likewise.
1572 * include/backward/iterator.h: Likewise.
1573 * include/backward/list.h: Likewise.
1574 * include/backward/map.h: Likewise.
1575 * include/backward/multimap.h: Likewise.
1576 * include/backward/multiset.h: Likewise.
1577 * include/backward/pair.h: Likewise.
1578 * include/backward/rope.h: Likewise.
1579 * include/backward/set.h: Likewise.
1580 * include/backward/slist.h: Likewise.
1581 * include/backward/stack.h: Likewise.
1582 * include/backward/strstream: Likewise.
1583 * include/backward/tempbuf.h: Likewise.
1584 * include/backward/tree.h: Likewise.
1585 * include/backward/vector.h: Likewise.
1586 * include/bits/pthread_allocimpl.h: Likewise.
1587 * include/bits/std_algorithm.h: Likewise.
1588 * include/bits/std_bitset.h: Likewise.
1589 * include/bits/std_deque.h: Likewise.
1590 * include/bits/std_functional.h: Likewise.
1591 * include/bits/std_iterator.h: Likewise.
1592 * include/bits/std_list.h: Likewise.
1593 * include/bits/std_map.h: Likewise.
1594 * include/bits/std_memory.h: Likewise.
1595 * include/bits/std_numeric.h: Likewise.
1596 * include/bits/std_queue.h: Likewise.
1597 * include/bits/std_set.h: Likewise.
1598 * include/bits/std_stack.h: Likewise.
1599 * include/bits/std_utility.h: Likewise.
1600 * include/bits/std_vector.h: Likewise.
1601 * include/bits/stl_algo.h: Likewise.
1602 * include/bits/stl_algobase.h: Likewise.
1603 * include/bits/stl_alloc.h: Likewise.
1604 * include/bits/stl_bvector.h: Likewise.
1605 * include/bits/stl_construct.h: Likewise.
1606 * include/bits/stl_deque.h: Likewise.
1607 * include/bits/stl_function.h: Likewise.
1608 * include/bits/stl_heap.h: Likewise.
1609 * include/bits/stl_iterator.h: Likewise.
1610 * include/bits/stl_iterator_base_funcs.h: Likewise.
1611 * include/bits/stl_iterator_base_types.h: Likewise.
1612 * include/bits/stl_list.h: Likewise.
1613 * include/bits/stl_map.h: Likewise.
1614 * include/bits/stl_multimap.h: Likewise.
1615 * include/bits/stl_multiset.h: Likewise.
1616 * include/bits/stl_numeric.h: Likewise.
1617 * include/bits/stl_pair.h: Likewise.
1618 * include/bits/stl_pthread_alloc.h: Likewise.
1619 * include/bits/stl_queue.h: Likewise.
1620 * include/bits/stl_raw_storage_iter.h: Likewise.
1621 * include/bits/stl_relops.h: Likewise.
1622 * include/bits/stl_set.h: Likewise.
1623 * include/bits/stl_stack.h: Likewise.
1624 * include/bits/stl_tempbuf.h: Likewise.
1625 * include/bits/stl_threads.h: Likewise.
1626 * include/bits/stl_tree.h: Likewise.
1627 * include/bits/stl_uninitialized.h: Likewise.
1628 * include/bits/stl_vector.h: Likewise.
1629 * include/bits/type_traits.h: Likewise.
1630 * include/ext/hash_map: Likewise.
1631 * include/ext/hash_set: Likewise.
1632 * include/ext/rope: Likewise.
1633 * include/ext/ropeimpl.h: Likewise.
1634 * include/ext/slist: Likewise.
1635 * include/ext/stl_hash_fun.h: Likewise.
1636 * include/ext/stl_hashtable.h: Likewise.
1637 * include/ext/stl_rope.h: Likewise.
1638 * libsupc++/unwind-cxx.h: Likewise.
1639 * src/bitset.cc: Likewise.
1640 * src/strstream.cc: Likewise.
1642 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1644 * include/bits/indirect_array.h (indirect_array<>::operator=):
1645 Make copy and assignment operator public. Implement. Format.
1647 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1648 for copy between index arrays. Format.
1650 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1652 * mknumeric_limits: Add static definitions, format.
1653 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1655 * include/c_std/bits/std_cwchar.h: Include ctime.
1656 * testsuite/17_intro/header_cwchar.cc : Check.
1658 * include/c_std/bits/std_cwctype.h: Inject wctype.
1659 * testsuite/17_intro/header_cwctype.cc: Update.
1661 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1663 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1664 * testsuite/20_util/raw_storage_iterator.cc: Same.
1666 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1668 (__mem_interface): New typedef for switching between malloc and new.
1669 * testsuite/20_util/allocator_members.cc: New file.
1671 * testsuite/20_util/comparisons.cc: New file.
1672 * testsuite/20_util/pairs.cc: New file.
1674 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1676 * docs/html/documentation.html: Point to new doxygen'ed collection.
1678 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1680 * configure.in (auxdir): Replace by ...
1681 (toprel): ... new variable.
1682 (toplevel_srcdir): Construct from $toprel.
1683 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1684 rather than .. to locate gcc source directory.
1685 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1686 * aclocal.m4, configure: Rebuilt.
1688 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1690 (Approved by Mark and Benjamin. Applied by Loren.)
1692 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1693 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1694 and _GLIBCPP_mutex_address.
1695 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1696 once-only runtime initialization of _M_lock mutex when
1697 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1698 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1699 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1701 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1703 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1705 * include/bits/slice_array.h (slice_array<>::operator=): Make
1706 public and implement.
1707 (slice_array<>::slice_array): Make copy-constructor public.
1709 * include/bits/valarray_array.h (__valarray_copy): Add another
1710 overload to copy between strided arrays.
1712 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1714 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1715 * aclocal.m4: Regenerate.
1716 * configure: Regenerate.
1717 * include/bits/c++config (__GLIBCPP__): Update date.
1719 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1721 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1722 return original, non-modified version.
1723 (fpos::operator+): Same.
1724 * testsuite/27_io/fpos.cc: Add test.
1726 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1729 * porting.texi: Add documentation about libstdc++-v3-specific
1730 macros that are currently included in os_defines.h files.
1732 * config/basic_file_stdio.h (sys_getc): New method.
1733 (sys_ungetc): New method.
1734 * include/bits/basic_file.h: (sys_getc): New method signature.
1735 (sys_ungetc): New method signature.
1737 * include/bits/fstream.tcc (underflow): Add conditional code
1738 paths which avoid using short seeks on streams (especially
1739 useful when the stream might be interactive or a pipe). At
1740 the moment, this alternate path only avoids seeking when the
1741 ``buffer size'' of underflow() is 1 since the C standard only
1742 guarantees buffer space for one ungetc (this technique could
1743 be extended since *-*-solaris* supports buffering for 4 calls
1744 to ungetc and *-*-*bsd* supports buffering limited only by
1745 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1746 in a port's os_defines.h file for this alternate path to even
1747 be considered. As a bonus, the idiom of using getc/ungetc
1748 requires no system calls whereas fseek maps to one or two
1749 system call(s) on many platforms.
1751 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1753 * config/os/solaris/solaris2.5/bits/os_defines.h
1754 (_GLIBCPP_AVOID_FSEEK): Likewise.
1755 * config/os/solaris/solaris2.6/bits/os_defines.h
1756 (_GLIBCPP_AVOID_FSEEK): Likewise.
1757 * config/os/solaris/solaris2.7/bits/os_defines.h
1758 (_GLIBCPP_AVOID_FSEEK): Likewise.
1760 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1762 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1763 AC_TRY_COMPILE, so that the built compiler is checked, and
1764 bootstraps or cross compiles with an older compile still work.
1765 * aclocal.m4: Regenerate.
1766 * configure: Regenerate.
1768 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1771 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1774 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1777 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1780 * include/bits/limits_generic.h: Fix as per DR 184.
1782 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1785 * include/bits/basic_string.h (string::compare): Adjust signatures
1787 * include/bits/basic_string.tcc: And here.
1790 * config/c_io_stdio.h: Remove whitespace.
1791 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1792 (test02): Add regression.
1793 * testsuite/27_io/istream_seeks-3.tst: New file.
1795 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1797 * README: Update to reflect reality.
1798 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1799 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1800 * aclocal.m4: Regenerate.
1801 * configure: Regenerate (with 2.13).
1803 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1806 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1808 * include/bits/istream.tcc (istream::seekg): Same.
1809 * testsuite/27_io/istream_seeks.cc: Fix.
1812 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1814 * include/bits/std_queue.h: Add c++config.h.
1815 * testsuite/20_util/binders.cc: New test.
1817 2001-06-11 Matthias Klose <doko@debian.org>
1818 Phil Edwards <pme@sources.redhat.com>
1820 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1821 (main script): Echo more information.
1823 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1825 * include/c_std/bits/std_cwchar.h: Alphabetize.
1826 * include/bits/char_traits.h: Tweak.
1827 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1828 everything used by std_cwchar.h.
1829 * aclocal.m4: Regenerate.
1830 * configure.in: Regenerate.
1831 * config.h.in: Regenerate.
1833 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1835 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1836 Add checking for strtof, _Exit in stdlib.h
1837 * aclocal.m4: Regenerate.
1838 * configure.in: Regenerate.
1839 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1840 (snprintf): Put C99 functions into __gnu_cxx namespace.
1845 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1846 for C99 functions within _GLIBCPP_USE_C99 guard.
1850 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1851 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1853 * include/c_std/bits/cmath.tcc: Formatting tweak.
1854 * include/c_std/bits/std_cmath.h: Same.
1856 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1858 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1860 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1861 Stephen L Moshier <moshier@mediaone.net>
1863 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1864 nothing, as in autoconf 2.50.
1865 * configure: Rebuilt.
1867 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1869 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1870 include std_cstddef.
1871 * include/c_std/bits/std_ctime.h: Same.
1872 * include/c_std/bits/std_cstring.h: Same.
1873 * include/c_std/bits/std_cstdlib.h: Same.
1875 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1876 * include/c_std/bits/std_cctype.h: Remove isblank.
1878 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1880 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1882 * aclocal.m4: Regenerate.
1883 * configure: Regenerate.
1884 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1885 injection, guard fgetwc, fgetws.
1886 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1887 * include/c_std/bits/std_clocale.h: And here.
1888 * include/c_std/bits/std_cctype.h: And here.
1889 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1891 * config/basic_file_stdio.h: Don't include unistd.h.
1892 * config/c_io_stdio.h: Don't use compatibility headers.
1893 * libsupc++/eh_terminate.cc: Qualify abort.
1894 (__terminate): And here.
1895 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1897 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1899 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1901 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1906 * include/std/*: Add copyright notice.
1907 * include/c_std/bits/*: Use using statements instead of extern "C".
1908 * include/c_std/bits/std_cmath.h: Don't overload double versions
1909 of math functions with __buitin versions, use global version to
1910 prevent ambiguities. Remove define hacks.
1911 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1912 functions that have changed signatures and std::
1913 declarations. Remove define hacks.
1914 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1915 __builtins in std::. Remove define hacks.
1916 * testsuite/17_intro/headers_c.cc: Add tests.
1917 * testsuite/17_intro/headers_c++.cc: Add test.
1919 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1920 John David Anglin <dave@hiauly1.hia.nrc.ca>
1923 * libsupc++/eh_alloc.cc: Ensure that required macros are
1924 defined before including gthr.h. Ensure that we get the
1925 version of gthr.h for which we know how to provide a
1927 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1928 code path into line with the current EH model. Use std, where
1931 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1932 John David Anglin <dave@hiauly1.hia.nrc.ca>
1934 * config/threads-no.h: Remove file.
1935 * config/threads-posix.h: Remove file.
1937 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1938 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1939 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1940 * config.h.in: Regenerate.
1942 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1943 setup and use gthr*.h files. In particular, make gthr.h files
1944 namespace-clean in the staging area (they don't have to be for
1946 * aclocal.m4: Regenerate.
1947 * configure: Regenerate.
1949 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1950 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1951 * src/Makefile.in: Regenerate.
1953 * include/bits/c++config: Cleanup threading configuration macros.
1954 In particular, define __STL_GTHREADS macro which controls...
1955 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1958 * config/c_io_stdio.h: Include staged gthr.h instead of local
1959 thread configuration file. Always use __gthread_mutex_t
1960 instead of __mutext_type (or int).
1961 * include/bits/std_fstream.h: Likewise.
1963 * docs/html/17_intro/howto.html: Remove placeholder comment in
1964 case this configuration patch didn't make it. Add advice that
1965 section only applies if configured with --enable-threads.
1966 * docs/html/23_containers/howto.html: Reword to make clear
1967 that _PTHREADS is no longer required for any port to be
1968 correctly using STL with threads. Add advice that section
1969 only applies if configured with --enable-threads.
1971 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1973 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1975 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1978 * include/bits/basic_ios.tcc: Formatting tweaks.
1979 * include/bits/ios_base.h: Formatting tweaks.
1980 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1981 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1982 * src/globals.cc: Allocate filebufs for standard streams here.
1983 (buf_cout, buf_cin, buf_cerr): Like so.
1984 (buf_wcout, buf_wcin, buf_wcerr): And so.
1985 * testsuite/27_io/ios_init.cc: Add.
1987 2001-06-04 Brendan Kehoe <brendan@zen.org>
1988 Benjamin Kosnik <bkoz@redhat.com>
1991 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1992 for generic ctype virtuals.
1993 * src/locale.cc: Minor tweaks, naming consistency.
1994 * testsuite/22_locale/ctype.cc: Add test.
1996 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1997 Phil Edwards <pme@sources.redhat.com>
1999 PR libstdc++/3035 and PR libstdc++/3036
2000 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2001 to LWG DR 181 and 265.
2003 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2006 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2007 equal_range): Add const overloads as per LWG DR 214.
2008 * include/bits/stl_set.h: Likewise.
2010 2001-06-04 Brendan Kehoe <brendan@zen.org>
2011 Phil Edwards <pme@sources.redhat.com>
2014 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2015 comparison; all positions must be < _Nb.
2016 * testsuite/23_containers/bitset_members.cc: New file.
2018 2001-06-04 Brendan Kehoe <brendan@zen.org>
2021 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2022 ctors to match the standard.
2024 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2026 * include/bits/char_traits.h (move): Reverse qualification of
2028 (copy): Reverse qualification of memcpy with std::.
2030 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2032 * include/bits/char_traits.h (move): Qualify memmove with std::.
2033 (copy): Qualify memcpy with std::.
2034 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2037 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2039 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2041 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2042 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2043 SUN make VPATH peculiarities.
2044 * libsupc++/Makefile.in: Regenerate.
2046 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2048 * src/Makefile.am (VPATH): Delimit with ":", not space.
2049 * src/Makefile.in: Regenerate.
2051 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2053 * configure: Regenerate.
2055 2001-05-31 scott snyder <snyder@fnal.gov>
2058 * include/bits/istream.tcc: Include std_ostream.h.
2060 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2063 * src/bitset.cc: Qualify size_t with std::.
2065 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2067 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2068 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2069 * config.h.in: Regenerate.
2070 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2071 * aclocal.m4: Regenerate.
2072 * configure.in: Don't call it.
2073 * configure: Regenerate.
2076 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2077 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2081 * include/bits/std_complex.h: Include sstream. Put definitions for
2082 complex inserters and extractors here, and remove them from...
2083 * src/complex_io.cc: ...here.
2084 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2086 (basic_ios::__numget_type): Same.
2087 * include/bits/std_istream.h: Same.
2088 * include/bits/std_ostream.h: Same.
2089 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2090 class iterator template arguments.
2091 * src/locale-inst.cc: Add explicit has_facet instantiations.
2092 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2093 (_M_get_fnumput): Remove.
2094 (_M_get_fnumget): Remove.
2095 (basic_ios::_M_check_facet): New function.
2096 (basic_ios::_M_cache_facets): New function.
2097 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2098 (basic_ios::imbue): Call _M_cache_facets.
2099 (basic_ios::init): Same.
2100 * include/bits/istream.tcc: Format, use _M_check_facet.
2101 * include/bits/ostream.tcc: Same.
2102 * include/bits/locale_facets.tcc (__output_float): Change
2103 signature, add _Traits.
2104 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2107 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2109 * include/bits/c++config (__USE_MALLOC): Do not define it.
2110 Document why not and give pointers to more information.
2112 * docs/html/23_containers/howto.html: Update documentation
2113 to reflect recent understanding of problem.
2114 * docs/html/17_intro/howto.html: Likewise.
2116 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2118 * docs/doxygen/user.cfg.in: Minor addition.
2119 * docs/html/documentation.html: Reorganize. Put most-looked-at
2121 * docs/html/install.html: Update for 3.0. HTML fixups.
2122 * docs/html/17_intro/howto.html: Likewise.
2123 * docs/html/18_support/howto.html: Likewise.
2124 * docs/html/19_diagnostics/howto.html: Likewise.
2125 * docs/html/20_util/howto.html: Likewise.
2126 * docs/html/23_containers/howto.html: Likewise.
2127 * docs/html/24_iterators/howto.html: Likewise. More notes.
2128 * docs/html/25_algorithms/howto.html: Likewise.
2129 * docs/html/26_numerics/howto.html: Likewise. More notes.
2130 * docs/html/27_io/howto.html: Likewise.
2131 * docs/html/ext/howto.html: Likewise.
2132 * docs/html/faq/index.html: Likewise.
2133 * docs/html/faq/index.txt: Regenerate.
2134 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2135 Doxygen-created documentation.
2137 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2139 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2140 get_multilibs to find gcc.
2142 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2144 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2145 * aclocal.m4: Regenerate.
2146 * configure: Regenerate.
2148 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2150 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2151 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2153 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2155 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2156 * include/c_std/bits/std_cstdlib.h: Same.
2157 * include/c_std/bits/std_cwchar.h: Same.
2159 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2161 * docs/html/17_intro/howto.html: Update link.
2162 * docs/html/23_containers/howto.html: Likewise. Add new link.
2164 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2166 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2168 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2170 * mknumeric_limits: Stop if gen-num-limits dies.
2172 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2175 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2176 * aclocal.m4: Regenerate.
2179 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2180 Phil Edwards <pme@sources.redhat.com>
2181 Alexandre Oliva <aoliva@redhat.com>
2183 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2184 in an amd-safe manner. Revert glibcpp_prefixdir.
2186 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2188 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2189 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2192 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2195 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2196 * include/bits/ostream.tcc: Format to match istream.tcc.
2197 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2199 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2201 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2203 (__cxa_free_exception): Likewise with free.
2205 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2207 * include/c_std/bin/std_cstring.h: #define away all global
2208 functions we will redeclare in namespace `std'.
2209 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2210 std::memset, instead of memset.
2211 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2213 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2216 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2219 * include/bits/basic_ios.tcc: Small tweak.
2220 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2221 ctors and dtors, and rdbuf settings.
2224 * include/bits/std_sstream.h: Same, but for stringstream classes.
2225 * testsuite/27_io/ostringstream_members.cc: New.
2226 * testsuite/27_io/stringstream_members.cc: New.
2227 * testsuite/27_io/fstream_members.cc: New.
2228 * testsuite/27_io/ifstream_members.cc: Add test.
2229 * testsuite/27_io/istringstream_members.cc: Add test.
2230 * testsuite/27_io/ofstream_members.cc: Add test.
2232 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2234 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2235 * config/os/gnu-linux/bits/os_defines.h: ...here.
2237 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2239 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2240 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2242 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2245 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2247 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2248 (libstdc++-v3-finish): Remove.
2249 (libstdc++-v3_exit): Remove.
2251 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2253 * docs/html/documentation.html: Point to doxygen output.
2255 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2257 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2259 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2260 arguments to be non-null.
2261 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2262 try allocations if allocated size is greater than zero.
2263 (filebuf::_M_filebuf_init): Change to
2264 (filebuf::_M_allocate_file): Which is what it does now.
2265 (filebuf::_M_allocate_bufers): Change to
2266 (filebuf::_M_allocate_internal_buffer): This, and create
2267 (filebuf::_M_allocate_pback_buffer): New.
2268 (filebuf::_M_destroy_internal_buffer): New.
2269 (filebuf::_M_buf_allocated): New data member.
2270 (filebuf::setbuf): Use new logic, allow use of external buffer.
2271 * testsuite/27_io/stringbuf_virtuals.cc: New file.
2272 * testsuite/27_io/filebuf_virtuals.cc: New file.
2274 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
2276 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2278 (strchr): Same, but to __glibcpp_strchr.
2282 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2288 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2290 * testsuite/21_strings/c_strings.cc (main): Fix.
2292 2001-05-19 Phil Edwards <pme@sources.redhat.com>
2294 * acinclude.m4: Fix --help spacing, correct comments.
2295 * aclocal.m4: Regenerate.
2296 * configure: Regenerate.
2297 * mkcheck.in: Add usage comments.
2298 * docs/html/documentation.html: Point to doxygen'd tarball.
2300 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2302 * testsuite/README: Add notes.
2304 * src/Makefile.am (libstdc++.INC): Remove.
2305 * src/Makefile.in: Regenerate.
2307 Phil Edwards <pedwards@disaster.jaj.com>
2308 * mkcheck.in: Add missing '#'.
2310 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2312 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
2313 appropriately for remote testing and testing installed files without
2316 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2318 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2319 amd glibcpp_prefixdir with absolute paths.
2321 * include/bits/c++config (__GLIBCPP__): Bump.
2322 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
2324 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
2326 * include/bits/std_valarray.h (valarray<>::operator[] const):
2327 Return a const reference.
2328 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
2330 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2332 * configure.target (ATOMICITYH): Actually use AIX-specific code on
2333 earlier versions of AIX 4.*.
2335 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2337 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
2338 output_file based on the name of the testcase.
2340 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2342 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
2343 gluefile and use it if needs_status_wrapper is set.
2345 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2347 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
2350 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
2352 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
2353 on earlier versions of AIX.
2355 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
2357 * testsuite_flags.in (query): Add backwards, ext directories.
2359 2001-05-15 Mark Mitchell <mark@codesourcery.com>
2361 * porting.texi: Correct documentation about handling
2362 _LARRGEFILE_SOURCE and its ilk.
2363 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2364 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
2366 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
2367 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2369 2001-05-15 Zack Weinberg <zackw@stanford.edu>
2371 * testsuite/21_strings/inserters_extractors.cc,
2372 testsuite/27_io/istream_unformatted.cc,
2373 testsuite/27_io/stringstream.cc:
2374 Replace multi-line string constants with C89-style
2375 concatenated string constants.
2377 2001-05-14 Richard Henderson <rth@redhat.com>
2379 * mknumeric_limits: Build with -fno-exceptions.
2381 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
2383 Switch over to new harness.
2384 * testsuite_flags.in: Tweaks via Gaby.
2385 * testsuite/Makefile.am: Change tool to libstdc++-v3.
2386 (EXPECT): Quote directly.
2388 * configure.in: Output testsuite_flags.
2389 * acinclude.m4: Substitute src, bld, and prefix dirs.
2390 Remove glibcpp_expect, glibcpp_runtestflags.
2391 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
2392 * mkcheck.in: Port to new interface.
2394 * aclocal.m4: Regerate.
2395 * configure: Regnerate.
2396 * Makefile.in: Regnerate.
2397 * */Makefile.in: Regenerate.
2399 * tests_flags.in: Remove.
2400 * testsuite/lib/libstdc++.exp: Remove.
2401 * testsuite/libstdc++.tests/tests.exp: Remove.
2403 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
2405 * configure.target: Remove detection of AIX pthread multilib, now
2406 obtained from `gcc -v'.
2408 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2410 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
2411 size. Add hpux case for HP size.
2413 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2415 * testsuite_flags.in: New, simplified interface.
2416 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
2417 * testsuite/libstdc++-v3.dg: Add.
2418 * testsuite/libstdc++-v3.dg/dg.exp: Add.
2420 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2422 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2423 * testsuite/config/default.exp: Update bugs email address.
2425 2001-05-11 Richard Henderson <rth@redhat.com>
2427 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
2428 all pointer encoding logic.
2429 (struct lsda_header_info): Add ttype_base.
2430 (get_ttype_entry): Use it instead of a context.
2431 (check_exception_spec): Likewise.
2432 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
2433 the c++ exception header for __cxa_call_unexpected.
2434 (__cxa_call_unexpected): Use it.
2436 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
2438 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2439 libgloss_link_flags to find crt0.o for targets that use libgloss
2441 Change LDFLAGS to LIBS.
2442 Consistently name procedures libstdc++-XXX.
2443 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2445 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
2447 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2452 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2457 * testsuite/21_strings/c_strings.cc: Add tests.
2459 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
2462 * include/bits/std_fstream.h (basic_filebuf): Change signature.
2463 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2464 to int_type, pass in buffer size info.
2465 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2466 unbuffered situation.
2467 (underflow): Remove codecvt bits for the time being.
2468 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2469 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2470 values from iterators, clean.
2471 * src/locale.cc: Ditto.
2472 * include/bits/sbuf_iter.h: Format.
2473 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2474 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2475 * testsuite/27_io/filebuf.cc: Tweaks.
2476 * testsuite/27_io/filebuf_members.cc: Tweaks.
2478 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2480 * config/os/solaris/solaris2.7/bits/os_defines.h
2481 (_LARGEFILE_SOURCE): Define it.
2483 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
2485 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2486 -prefer-non-pic depending on whether libtool has shared libraries
2487 enabled or disabled.
2488 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2489 $(LIBSUPCXX_PICFLAGS).
2490 * configure, */Makefile.in: Rebuilt.
2492 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
2494 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2495 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2497 * include/bits/std_sstream.h (stringbuf): Leak
2499 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2501 2001-05-01 Tom Browder <tbrowder@home.com>
2503 * docs/html/ext/howto.html: Fix typo.
2505 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2507 * testsuite/libstdc++.tests/tests.exp: Add comment.
2509 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2511 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2513 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2515 * porting.texi: Use the GFDL.
2517 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2520 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2521 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2524 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2527 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2529 2001-04-28 Phil Edwards <pme@sources.redhat.com>
2531 * docs/doxygen/run_doxygen: Minor tweaks.
2532 * docs/doxygen/style.css: New file.
2533 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
2534 latest parameters available. Use style.css.
2536 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
2538 * docs/doxygen/mainpage.doxy: New.
2539 * docs/doxygen/user.cfg.in: Change default configuration. Single
2540 frame, other tweaks.
2542 2001-04-26 Mark Mitchell <mark@codesourcery.com>
2544 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2545 Indicate obsolete nature of thelist for G++ 3.0.
2547 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
2549 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2550 target_thread_file with `gcc -v'.
2551 * aclocal.m4, configure: Rebuilt.
2553 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
2555 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2556 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2557 * include/c_std/bits/std_cwchar.h (std): Same.
2558 * acconfig.h (std): Remove c99 injection into std.
2559 * config.h.in: Regenerate.
2561 * testsuite/README: Fix typo.
2563 * include/bits/codecvt.h: Remove warnings.
2565 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2567 * include/ext/slist: Include required header files.
2569 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
2571 * include/c_std/bits/std_cerrno.h (errno): Define macro from
2572 identifier declared with external linkage, if needed.
2573 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2574 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2576 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
2578 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2579 re-configures find the build compiler.
2580 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2582 * aclocal.m4: Regenerate.
2583 * configure: Regenerate.
2585 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
2587 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2588 support is enabled correctly before long long is activated.
2589 * aclocal.m4: Regenerate.
2590 * configure: Regenerate.
2592 * include/backward/backward_warning.h: Format correctly.
2594 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2595 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2596 * testsuite/26_numerics/c99_macros.cc: Remove.
2598 2001-04-20 Phil Edwards <pme@sources.redhat.com>
2600 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
2601 __iterator_category.
2603 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
2605 * acconfig.h (_GLIBCPP_USE_C99): Add.
2606 * config.h.in: Regenerate.
2607 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2609 * aclocal.m4: Regenerate.
2610 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2611 * configure: Regenerate.
2612 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2613 * configure: Regenerate.
2614 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2616 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2618 * include/c_std/bits/std_cstdlib.h: Same.
2619 * docs/html/configopts.html: Update.
2620 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2622 (test_c99_classify): Add.
2623 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2624 (_ISOC99_SOURCE): Remove.
2626 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2627 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2628 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2629 * aclocal.m4: Regenerate.
2630 * configure: Regenerate.
2632 2001-04-19 Phil Edwards <pme@sources.redhat.com>
2634 * Makefile.am (doxygen): Assume script is missing execute perms.
2635 * Makefile.in: Regenerated.
2636 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
2638 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
2640 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2642 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2644 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2645 * testsuite/23_containers/set_operators.cc: Same.
2647 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2649 (__GLIBCPP__): Bump from value of last release.
2650 * include/bits/concept_check.h: Default to off, edit comments.
2651 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2652 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2653 * src/Makefile.in: Regenerate.
2655 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2657 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2658 Properly uglify member.
2660 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2662 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2666 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2668 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2669 * include/bits/concept_check.h: Uglify.
2670 * include/bits/stl_algo.h: Likewise.
2671 * include/bits/stl_algobase.h: Likewise.
2672 * include/bits/stl_deque.h: Likewise.
2673 * include/bits/stl_heap.h: Likewise.
2674 * include/bits/stl_iterator_base_funcs.h: Likewise.
2675 * include/bits/stl_list.h: Likewise.
2676 * include/bits/stl_map.h: Likewise.
2677 * include/bits/stl_multimap.h: Likewise.
2678 * include/bits/stl_multiset.h: Likewise.
2679 * include/bits/stl_numeric.h: Likewise.
2680 * include/bits/stl_queue.h: Likewise.
2681 * include/bits/stl_set.h: Likewise.
2682 * include/bits/stl_stack.h: Likewise.
2683 * include/bits/stl_vector.h: Likewise.
2684 * include/ext/hash_map: Likewise.
2685 * include/ext/hash_set: Likewise.
2686 * include/ext/slist: Likewise.
2688 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2690 * testsuite/23_containers/set_operators.cc: Just try to compile.
2692 * testsuite/23_containers/map_operators.cc: Same.
2694 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2696 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2698 (dg-test): Revert rth's change.
2700 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2702 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2703 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2705 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2707 * testsuite/README: Add DejaGnu specific documentation.
2709 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2711 * acinclude.m4: AC_CHECK_TOOL for expect.
2712 * aclocal.m4: Regenerate.
2713 * configure: Regenerate.
2714 * testsuite/Makefile.am (RUNTEST): Use substituted.
2717 * configure.in: Remove xcompiling substitution.
2718 * tests_flags.in (CROSS_LIB_PATH): Remove.
2719 (xcompiling): Remove.
2720 (CXX): Use substituted CXX.
2722 2001-04-11 Richard Henderson <rth@redhat.com>
2724 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2726 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2728 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2731 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2733 * testsuite/25_algorithms/equal.cc: New test.
2735 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2737 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2738 operator != (one line patch).
2740 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2742 * include/backward/backward_warning.h: Re-enable.
2744 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2745 Alexandre Oliva <aoliva@redhat.com>
2747 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2749 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2751 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2752 * testsuite/26_numerics/c99_macros.cc: Add test.
2754 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2756 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2757 * docs/html/faq/index.txt: Regenerated.
2759 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2761 * include/backward/backward_warning.h: Temporarily disable until
2762 g++ testsuite changes go in.
2763 * tests_flags.in (CROSS_LIB_PATH): Add.
2765 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2767 Warn when using backward headers.
2768 * include/backward/algo.h: Include warning file.
2769 * include/backward/vector.h: Same.
2770 * include/backward/tree.h: Same.
2771 * include/backward/tempbuf.h: Same.
2772 * include/backward/strstream: Same.
2773 * include/backward/streambuf.h: Same.
2774 * include/backward/stream.h: Same.
2775 * include/backward/stack.h: Same.
2776 * include/backward/slist.h: Same.
2777 * include/backward/set.h: Same.
2778 * include/backward/rope.h:
2779 * include/backward/queue.h: Same.
2780 * include/backward/pair.h: Same.
2781 * include/backward/ostream.h: Same.
2782 * include/backward/new.h: Same.
2783 * include/backward/multiset.h: Same.
2784 * include/backward/multimap.h: Same.
2785 * include/backward/map.h: Same.
2786 * include/backward/list.h: Same.
2787 * include/backward/iterator.h: Same.
2788 * include/backward/istream.h: Same.
2789 * include/backward/iostream.h:
2790 * include/backward/iomanip.h:
2791 * include/backward/heap.h: Same.
2792 * include/backward/hashtable.h:
2793 * include/backward/hash_set.h:
2794 * include/backward/hash_map.h:
2795 * include/backward/function.h:
2796 * include/backward/fstream.h:
2797 * include/backward/deque.h:
2798 * include/backward/defalloc.h: Same.
2799 * include/backward/complex.h: Same.
2800 * include/backward/bvector.h:
2801 * include/backward/alloc.h:
2802 * include/backward/algobase.h: Same.
2804 * include/backward/backward_warning.h: New file.
2805 * src/Makefile.am (backward_headers): Add backward_warning.h
2806 * src/Makefile.in: Regenerate.
2808 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2810 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2812 (myinstallheaders): Install backward headers in backward directory.
2813 * src/Makefile.in: Regenerate.
2815 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2817 Prepare for libstdc++-2.92.
2818 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2819 * docs/html/configopts.html: Fix formatting.
2820 * README (file): Updates.
2821 * include/bits/c++config (__GLIBCPP__): Update.
2823 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2825 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2827 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2829 * docs/doxygen/user.cfg.in: Extract all non-private members;
2830 reduce confusing documentation output.
2832 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2834 * include/backward/fstream.h: Add missing semicolons.
2836 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2838 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2839 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2840 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2841 (ios_base::Init::_S_ios_create): New.
2842 (ios_base::Init::_S_ios_destroy): New.
2843 * include/bits/std_fstream.h: Change ctor args.
2844 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2845 (ios_base::Init::~Init): Use _S_ios_destroy.
2846 (ios_base::sync_with_stdio): Use new members.
2847 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2850 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2852 * include/backward/fstream.h: Expose streampos to global
2855 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2857 * include/bits/stl_iterator_base_types.h: Fix typo
2859 2001-04-03 Andreas Schwab <schwab@suse.de>
2861 * include/backward/fstream.h: Define filebuf and wfilebuf.
2863 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2865 New concept checking implementation.
2866 * docs/html/19_diagnostics/howto.html: Document.
2867 * docs/html/17_intro/concept_check.diff: New file, for reference.
2868 * include/bits/boost_concept_check.h: New file from Boost.
2869 * include/bits/c++config: Update comments.
2871 * include/bits/concept_check.h: New file.
2872 * include/bits/concept_checks.h: Removed.
2873 * include/bits/container_concepts.h: Removed.
2874 * include/bits/sequence_concepts.h: Removed.
2875 * include/bits/stl_iterator_base.h: Removed; split into...
2876 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2877 * include/bits/stl_iterator_base_types.h: ...and this new file.
2879 * include/bits/sbuf_iter.h: Update to use new implementation.
2880 * include/bits/std_iterator.h: Likewise.
2881 * include/bits/std_memory.h: Likewise.
2882 * include/bits/stl_algo.h: Likewise.
2883 * include/bits/stl_algobase.h: Likewise.
2884 * include/bits/stl_construct.h: Likewise.
2885 * include/bits/stl_deque.h: Likewise.
2886 * include/bits/stl_heap.h: Likewise.
2887 * include/bits/stl_list.h: Likewise.
2888 * include/bits/stl_map.h: Likewise.
2889 * include/bits/stl_multimap.h: Likewise.
2890 * include/bits/stl_multiset.h: Likewise.
2891 * include/bits/stl_numeric.h: Likewise.
2892 * include/bits/stl_queue.h: Likewise.
2893 * include/bits/stl_set.h: Likewise.
2894 * include/bits/stl_stack.h: Likewise.
2895 * include/bits/stl_uninitialized.h: Likewise.
2896 * include/bits/stl_vector.h: Likewise.
2897 * include/ext/hash_map: Likewise.
2898 * include/ext/hash_set: Likewise.
2899 * include/ext/slist: Likewise.
2900 * include/ext/stl_hashtable.h: Likewise.
2902 * src/Makefile.am (base_headers): Update list of headers.
2903 * Makefile.in: Regenerated.
2904 * src/Makefile.in: Regenerated.
2905 * libio/Makefile.in: Regenerated.
2906 * libmath/Makefile.in: Regenerated.
2907 * libsupc++/Makefile.in: Regenerated.
2908 * testsuite/Makefile.in: Regenerated.
2910 * docs/html/install.html: Update contact information.
2911 * docs/html/17_intro/howto.html: Ditto.
2912 * docs/html/18_support/howto.html: Ditto.
2913 * docs/html/20_util/howto.html: Ditto.
2914 * docs/html/21_strings/howto.html: Ditto.
2915 * docs/html/22_locale/howto.html: Ditto.
2916 * docs/html/23_containers/howto.html: Ditto.
2917 * docs/html/24_iterators/howto.html: Ditto.
2918 * docs/html/25_algorithms/howto.html: Ditto.
2919 * docs/html/26_numerics/howto.html: Ditto.
2920 * docs/html/27_io/howto.html: Ditto.
2921 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2922 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2923 * docs/html/faq/index.txt: Regenerated.
2925 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2927 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2928 messages with $which_library as well as $tool_flags and
2929 ${dg-extra-tool-flags}. Factor out annotation text into
2932 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2934 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2935 * include/c_std/bits/std_cwchar.h: Same.
2936 * testsuite/21_strings/c_strings.cc: Add.
2938 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2940 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2942 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2944 * tests_flags.in: Use test a = b, not test a == b which is not
2947 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2949 * configure.target: Remove duplicate aix entry.
2951 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2953 * include/ext/stl_bvector.h: Move to...
2954 * include/bits/stl_vector.h: ...here.
2955 * include/ext/bvector: Move to...
2956 * include/backward/bvector.h: ...here.
2957 * include/bits/std_vector.h: Change stl_bvector include.
2958 * include/bits/std_queue.h: Remove bvector include.
2959 * include/ext/tree: Insert using rb_tree, move to...
2960 * include/backward/tree.h: ...here.
2961 * include/backward/hash_map.h: Include ext/hash_map.
2962 * include/backward/hash_set.h: Include ext/hash_set.
2963 * include/backward/queue.h: New file.
2964 * include/backward/stack.h: Edit.
2965 * include/backward/algo.h: Same.
2966 * include/backward/algobase.h: Same.
2967 * include/backward/alloc.h: Same.
2968 * include/backward/function.h: Same.
2969 * include/backward/iomanip.h: Same.
2970 * include/backward/istream.h: Same.
2971 * include/backward/iterator.h: Same.
2972 * include/backward/list.h: Same.
2973 * include/backward/map.h: Same.
2974 * include/backward/multimap.h: Same.
2975 * include/backward/multiset.h: Same.
2976 * include/backward/ostream.h: Same.
2977 * include/backward/pair.h: Same
2978 * include/backward/rope.h: Same.
2979 * include/backward/set.h: Same.
2980 * include/backward/stream.h: Same.
2981 * include/backward/strstream.h: Same.
2982 * include/backward/tempbuf.h: Same.
2983 * src/Makefile.am (ext_headers): Edit.
2984 * src/Makefile.in: Regenerate.
2985 * testsuite/ext/headers.cc (main): Fix.
2988 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2990 * tests_flags.in (LIBS): Pass correct path for installed testing.
2992 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2994 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2995 * tests_flags.in (CXX): Construct here.
2996 (static_fail): Don't remove compile.out. Format with spaces.
2997 (INCLUDES): Deal with xcompiling.
2998 * configure.in (xcompiling): Substitute.
2999 * testsuite/Makefile.am: Snake libjava configury.
3000 * testsuite/Makefile.in: Regenerate.
3001 * testsuite/23_containers/map_operators.cc: Tweaks.
3002 * testsuite/23_containers/set_operators.cc: Tweaks.
3004 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3006 Enable dejagnu testing framework.
3007 * configure.in: Generate testsuite/Makefile.
3008 * configure: Regenerate.
3009 * Makefile.am (check-install): Change rule from this...
3010 (check-script-install): ...to this.
3011 (check): Change rule from this...
3012 (check-script):...to this.
3013 * Makefile.in: Regenerate.
3015 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3017 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3019 (LIBTOOL): Let automake take care of its definition.
3020 * libsupc++/Makefile.in: Rebuilt.
3022 2001-03-28 Richard Henderson <rth@redhat.com>
3024 IA-64 ABI Exception Handling:
3025 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3026 * configure.in: Use it.
3027 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3028 * libsupc++/Makefile.am (sources): Update files list.
3029 * libsupc++/Makefile.in: Regenerate.
3030 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3031 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3032 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3033 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3034 * libsupc++/exception_support.cc: Remove.
3035 * libsupc++/exception_support.h: Remove.
3036 * libsupc++/pure.cc: Use std::terminate.
3037 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3038 (__is_pointer): Remove.
3039 * libsupc++/unwind-cxx.h: New file.
3040 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3042 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3044 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3046 * src/Makefile.am (CXXLINK): Likewise.
3047 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3049 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3051 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3053 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3055 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3058 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3060 * include/bits/basic_file.h (get_fileno): Remove.
3061 (_M_fileno): Remove.
3062 (_M_cfile_created): Add.
3063 (basic_file::basic_file(__c_file_type*, openmode): Add.
3064 (basic_file::basic_file(int, const char*, openmode): Remove.
3065 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3066 const char*, ios_base::openmode): Don't allocate
3067 internal buffers. Turn off internal buffers.
3068 (basic_filebuf::overflow): Remove test for null buffer.
3069 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3070 * include/bits/streambuf.cc: Tweak.
3071 * include/bits/std_ostream.h: Tweak.
3072 * config/basic_file_libio.h: Same.
3073 * config/basic_file_stdio.h: Same.
3074 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3075 * testsuite/27_io/filebuf_members.cc: Tweaks.
3076 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3078 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3080 * Makefile.am: New targets, doxygen and doxygen-maint.
3081 * Makefile.in: Regenerated.
3082 * docs/doxygen/run_doxygen: Finally implemented.
3083 * docs/doxygen/maint.cfg.in: New file.
3084 * docs/doxygen/user.cfg.in: New file.
3086 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3088 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3089 * src/Makefile.am: Replace leading spaces with tabs on continuation
3091 * aclocal.m4: Regenerated.
3093 * Makefile.in: Ditto.
3094 * src/Makefile.in: Ditto.
3095 * libio/Makefile.in: Ditto.
3096 * libmath/Makefile.in: Ditto.
3097 * libsupc++/Makefile.in: Ditto.
3099 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3101 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
3102 concept-checking code and current status of same.
3103 * docs/html/ext/howto.html: Ditto.
3104 * docs/html/faq/index.html: Ditto.
3105 * docs/html/faq/index.txt: Regenerated.
3107 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3109 * include/bits/std_bitset.h: Include ostream and istream headers
3110 instead of iostream.
3112 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
3114 * include/bits/ostream.tcc: Use __builtin_alloca.
3116 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
3118 * src/misc-inst.cc (__sink_unused_warning): Move to...
3119 * src/locale-inst.cc (__sink_unused_warning): Move to...
3120 * src/stl-inst.cc: Here.
3121 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3124 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3126 * intclude/bits/basic_file.h: Fix typos in comments.
3128 2001-03-20 Richard Henderson <rth@redhat.com>
3130 * src/gen-num-limits.cc: Instantiate for wchar_t.
3131 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3133 2001-03-20 Jason Merrill <jason@redhat.com>
3135 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3136 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3137 * libsupc++/cxxabi.h: Declare it.
3139 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3141 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3142 signal_func with an unspecified argument list.
3144 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
3146 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3148 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3150 * include/bits/basic_string.tcc (operator+): Fix thinko.
3152 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
3155 * include/bits/std_streambuf.h: Remove cached locale facets.
3156 (basic_streambuf::_M_buf_fctype): Remove.
3157 (basic_streambuf::~basic_streambuf): Remove here.
3158 (basic_streambuf::basic_streambuf): Same.
3159 (basic_streambuf::imbue): Same.
3160 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3161 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3162 (basic_filebuf::~basic_filebuf()): Remove here.
3163 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3164 (basic_filebuf::imbue): Same.
3165 * include/bits/localefwd.h (_Count_ones): Remove.
3166 (locale::_S_num_categories): Just use 6, since this doesn't
3167 actually change, ever.
3168 * include/bits/locale_facets.tcc (has_facet): Simplify.
3170 * testsuite/27_io/filebuf.cc (test06): Add tests.
3172 2001-03-13 Steve Ellcey <sje@cup.hp.com>
3174 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3175 match HP-UX ctype.h header file.
3177 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
3179 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3180 duplicate definitions of __dj_ctype_*
3182 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
3184 * libsupc++/new: Remove pragma interface.
3185 * libsupc++/typeinfo: Same.
3186 * libsupc++/exception: Same.
3187 * libsupc++/new_handler.cc: Remove pragma implementation.
3188 (bad_alloc::~bad_alloc()): Add.
3189 * libsupc++/exception_support.cc: Same.
3190 (exception::~exception): Add.
3191 (bad_exception::~bad_exception): Add.
3192 * libsupc++/tinfo.cc: Same.
3193 (bad_cast::~bad_cast): Add.
3194 (bad_typeid::~bad_typeid): Add.
3196 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3198 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
3200 2001-03-12 Felix Lee <flee@redhat.com>
3202 * mkcheck.in: workaround for bash 2.01 IFS bug.
3204 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3206 Fixups for -fno-for-scope
3207 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3208 * src/valarray-inst.cc (__gslice_to_index): Same.
3210 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
3212 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3213 prior to trapping signal (UnixWare 7 workaround).
3215 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
3217 * include/backward/hashtable.h: Same.
3218 * include/backward/rope.h: Fix include.
3220 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3222 * include/backward/vector.h: Include std_vector.h.
3224 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3225 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3228 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3230 * include/ext/stl_hashtable.h: Change type of __n to size_t
3231 * include/backward/bvector.h: Include <ext/stl_bvector.h>
3233 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3235 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3236 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3237 Use streamsize, not int_type.
3239 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
3241 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3244 2001-03-08 Andreas Schwab <schwab@suse.de>
3246 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3248 * aclocal.m4, configure: Regenerated.
3250 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
3252 * include/bits/std_iosfwd.h: Remove string forward decls here.
3253 * include/bits/stringfwd.h: Add forward decls for char_traits
3255 * config/c_io_libio.h (wstreamoff): Delete.
3256 * config/c_io_stdio.h (wstreamoff): Same.
3257 * include/bits/char_traits.h: Use streamoff not wstreamoff for
3258 char_traits<wchar_t>::off_type.
3259 Remove duplicate typedefs.
3260 * include/bits/fpos.h: Define streampos/wstreampos here.
3261 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3264 Changeup output files.
3265 * testsuite/27_io/istream_unformatted.cc: Change output files.
3266 * testsuite/27_io/istream_seeks-1.txt: Add.
3267 * testsuite/27_io/istream_seeks-2.tst: Add.
3268 * testsuite/27_io/istream_seeks-1.tst: Add.
3269 * testsuite/27_io/istream_unformatted-2.tst: Delete.
3270 * testsuite/27_io/istream_unformatted-3.tst: Delete.
3271 * testsuite/27_io/istream_unformatted-3.txt: Delete.
3273 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
3275 Add Irix 5.2, 6.3 support.
3276 * config/os/irix/bits: Renamed to...
3277 * config/os/irix/irix6.5/bits: this.
3278 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3279 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3280 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3281 * config/os/irix/irix5.2/bits/ctype_noninline.h
3282 (ctype<char>::ctype): Initialize _M_table with __ctype.
3283 * configure.target: Adjust.
3285 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
3288 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3289 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3291 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3292 (*__pf)(__ios_type&)): Same.
3293 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3294 (*__pf)(ios_base&))): Same.
3295 * testsuite/27_io/istream_extractor_other.cc: Add tests.
3296 * testsuite/27_io/istream_manip.cc (test01): Fix.
3298 2001-03-06 Nathan Myers <ncm@cantrip.org>
3299 Benjamin Kosnik <bkoz@redhat.com>
3301 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
3302 * testsuite/17_intro/header_cerrno.cc (test01): New file.
3303 * testsuite/17_intro/header_cassert.cc (test01): New file.
3304 * testsuite/17_intro/header_cstddef.cc (test01): New file.
3305 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
3306 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
3308 2001-03-05 scott snyder <snyder@fnal.gov>
3311 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
3313 * include/c_std/bits/std_cstdlib.h: ... to here.
3314 * testsuite/17_intro/header_cstdlib.cc: Add test.
3316 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
3318 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
3320 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
3322 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
3323 definition. Replace enum with static const variables.
3325 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
3326 throw specification, fix typos, use <static_cast>.
3327 (ctype<char>::scan_is): remove throw specification.
3328 (ctype<char>::scan_not): likewise.
3330 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
3331 (ctype<char>::do_toupper(char)): use <static_cast>.
3332 (ctype<char>::do_toupper(char *, const char *)): likewise.
3333 (ctype<char>::do_tolower(char)): likewise.
3334 (ctype<char>::do_tolower(char *, const char *)): likewise.
3336 2001-03-04 Phil Edwards <pme@sources.redhat.com>
3338 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
3339 * include/backward/algo.h: Use std not __STD. Remove unneeded
3340 macros and "never happens" code. Adjust to C++STYLE guidelines.
3341 * include/backward/algobase.h: Likewise.
3342 * include/backward/alloc.h: Likewise.
3343 * include/backward/bvector.h: Likewise.
3344 * include/backward/deque.h: Likewise.
3345 * include/backward/function.h: Likewise.
3346 * include/backward/hash_map.h: Likewise.
3347 * include/backward/hash_set.h: Likewise.
3348 * include/backward/hashtable.h: Likewise.
3349 * include/backward/heap.h: Likewise.
3350 * include/backward/iterator.h: Likewise.
3351 * include/backward/list.h: Likewise.
3352 * include/backward/map.h: Likewise.
3353 * include/backward/multimap.h: Likewise.
3354 * include/backward/multiset.h: Likewise.
3355 * include/backward/pair.h: Likewise.
3356 * include/backward/rope.h: Likewise.
3357 * include/backward/set.h: Likewise.
3358 * include/backward/slist.h: Likewise.
3359 * include/backward/stack.h: Likewise.
3360 * include/backward/strstream: Likewise.
3361 * include/backward/tempbuf.h: Likewise.
3362 * include/backward/tree.h: Likewise.
3363 * include/backward/vector.h: Likewise.
3364 * include/bits/basic_ios.h: Likewise.
3365 * include/bits/basic_ios.tcc: Likewise.
3366 * include/bits/basic_string.h: Likewise.
3367 * include/bits/c++config: Likewise.
3368 * include/bits/concept_checks.h: Likewise.
3369 * include/bits/fpos.h: Likewise.
3370 * include/bits/fstream.tcc: Likewise.
3371 * include/bits/functexcept.h: Likewise.
3372 * include/bits/ios_base.h: Likewise.
3373 * include/bits/istream.tcc: Likewise.
3374 * include/bits/mask_array.h: Likewise.
3375 * include/bits/ostream.tcc: Likewise.
3376 * include/bits/pthread_allocimpl.h: Likewise.
3377 * include/bits/sbuf_iter.h: Likewise.
3378 * include/bits/slice.h: Likewise.
3379 * include/bits/slice_array.h: Likewise.
3380 * include/bits/sstream.tcc: Likewise.
3381 * include/bits/std_bitset.h: Likewise.
3382 * include/bits/std_fstream.h: Likewise.
3383 * include/bits/std_iomanip.h: Likewise.
3384 * include/bits/std_ios.h: Likewise.
3385 * include/bits/std_istream.h: Likewise.
3386 * include/bits/std_iterator.h: Likewise.
3387 * include/bits/std_memory.h: Likewise.
3388 * include/bits/std_ostream.h: Likewise.
3389 * include/bits/std_sstream.h: Likewise.
3390 * include/bits/std_streambuf.h: Likewise.
3391 * include/bits/std_string.h: Likewise.
3392 * include/bits/std_valarray.h: Likewise.
3393 * include/bits/stl_algo.h: Likewise.
3394 * include/bits/stl_algobase.h: Likewise.
3395 * include/bits/stl_alloc.h: Likewise.
3396 * include/bits/stl_construct.h: Likewise.
3397 * include/bits/stl_deque.h: Likewise.
3398 * include/bits/stl_function.h: Likewise.
3399 * include/bits/stl_heap.h: Likewise.
3400 * include/bits/stl_iterator.h: Likewise.
3401 * include/bits/stl_iterator_base.h: Likewise.
3402 * include/bits/stl_list.h: Likewise.
3403 * include/bits/stl_map.h: Likewise.
3404 * include/bits/stl_multimap.h: Likewise.
3405 * include/bits/stl_multiset.h: Likewise.
3406 * include/bits/stl_numeric.h: Likewise.
3407 * include/bits/stl_pair.h: Likewise.
3408 * include/bits/stl_pthread_alloc.h: Likewise.
3409 * include/bits/stl_queue.h: Likewise.
3410 * include/bits/stl_raw_storage_iter.h: Likewise.
3411 * include/bits/stl_relops.h: Likewise.
3412 * include/bits/stl_set.h: Likewise.
3413 * include/bits/stl_stack.h: Likewise.
3414 * include/bits/stl_tempbuf.h: Likewise.
3415 * include/bits/stl_threads.h: Likewise.
3416 * include/bits/stl_tree.h: Likewise.
3417 * include/bits/stl_uninitialized.h: Likewise.
3418 * include/bits/stl_vector.h: Likewise.
3419 * include/bits/streambuf.tcc: Likewise.
3420 * include/bits/type_traits.h: Likewise.
3421 * include/bits/valarray_meta.h: Likewise.
3422 * include/ext/bvector: Likewise.
3423 * include/ext/hash_map: Likewise.
3424 * include/ext/hash_set: Likewise.
3425 * include/ext/ropeimpl.h: Likewise.
3426 * include/ext/slist: Likewise.
3427 * include/ext/stl_bvector.h: Likewise.
3428 * include/ext/stl_hash_fun.h: Likewise.
3429 * include/ext/stl_hashtable.h: Likewise.
3430 * include/ext/stl_rope.h: Likewise.
3431 * src/complex_io.cc: Likewise.
3432 * src/ios.cc: Likewise.
3433 * src/locale-inst.cc: Likewise.
3434 * src/locale.cc: Likewise.
3435 * src/localename.cc: Likewise.
3436 * src/misc-inst.cc: Likewise.
3437 * src/stdexcept.cc: Likewise.
3438 * src/stl-inst.cc: Likewise.
3439 * src/strstream.cc: Likewise.
3440 * src/valarray-inst.cc: Likewise.
3442 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
3444 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3446 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3448 * include/bits/istream.tcc: change type of __extracted to __size_type
3450 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
3452 * src/wstring-inst.cc: New file.
3453 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3454 (libinst_wstring_la_SOURCES): Remove.
3455 (libstdc___la_LIBADD): Remove libinst_wstring_la.
3456 (sources): Add wstring-inst.cc
3457 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3460 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3462 * src/locale.cc: initialise __ret with zero
3463 * src/strstream.cc:cast gptr to int_type
3465 2001-03-01 Phil Edwards <pme@sources.redhat.com>
3467 * docs/html/faq/index.html: Update broken links.
3468 * docs/html/faq/index.txt: Regenerated.
3470 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3473 * configure.target: Change irix* to irix6.5* in target_os table.
3475 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3478 * include/bits/c++config (__GLIBCPP__): Bump number in
3479 anticipation of 2.92.
3481 * include/bits/codecvt.h: Fix typo.
3482 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3484 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3485 instantiations for stdio model.
3487 2001-02-28 Phil Edwards <pme@sources.redhat.com>
3489 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
3490 and GLIBCPP_CXXFLAGS as unused variables.
3491 * configure.host: Likewise.
3492 * configure.target: Likewise.
3493 * aclocal.m4: Regenerated.
3494 * configure: Regenerated.
3495 * Makefile.in: Regenerated.
3496 * libio/Makefile.in: Regenerated.
3497 * libmath/Makefile.in: Regenerated.
3498 * libsupc++/Makefile.in: Regenerated.
3499 * src/Makefile.in: Regenerated.
3501 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3504 * include/bits/basic_file.h: Include basic_file_model.h.
3505 * config/c_io_libio.cc: Move to...
3506 * config/basic_file_libio.cc: Here.
3507 * config/basic_file_libio.h: New file.
3508 * config/c_io_stdio.cc: Move to...
3509 * config/basic_file_stdio.cc: Here.
3510 * config/basic_file_stdio.h: New file.
3511 * config/c_io_libio.h: Tweak.
3512 * config/c_io_stdio.h: Tweak.
3513 * src/Makefile.am (build_headers): Add basic_file_model.h.
3514 (sources): Add basic_file.cc, remove c++io.cc.
3515 * src/Makefile.in: Regenerate.
3516 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3517 basic_file_model.h and basic_file.cc.
3518 * aclocal.m4: Regenerate.
3519 * configure: Regenerate.
3520 * testsuite/27_io/filebuf.cc (test05): Add regression.
3522 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3525 * config/cpu/alpha/bits/atomicity.h: Change.
3526 * config/cpu/arm/bits/atomicit3y.h
3527 * config/cpu/generic/bits/atomicity.h
3528 * config/cpu/i386/bits/atomicity.h
3529 * config/cpu/i486/bits/atomicity.h
3530 * config/cpu/ia64/bits/atomicity.h
3531 * config/cpu/powerpc/bits/atomicity.h
3532 * config/cpu/sparc/sparc32/bits/atomicity.h
3533 * config/cpu/sparc/sparc64/bits/atomicity.h
3534 * config/os/aix/bits/atomicity.h
3535 * config/os/irix/bits/atomicity.h
3537 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3539 * include/bits/std_stdexcept.h (runtime_error): Make string
3541 (logic_error): Same.
3542 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3545 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
3549 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3550 string object, not reference.
3551 (runtime_error::runtime_error): Same.
3552 * testsuite/19_diagnostics/stdexceptions.cc: New file.
3554 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3556 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
3557 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
3558 diagnostics. Remove WFMT_FLAGS.
3559 * configure.in: Replace WFMT_FLAGS with diagnostics options.
3560 * libsupc++/Makefile.am: Likewise.
3561 * src/Makefile.am: Likewise.
3562 * aclocal.m4: Regenerated.
3563 * configure: Regenerated.
3564 * Makefile.in: Regenerated.
3565 * libio/Makefile.in: Regenerated.
3566 * libmath/Makefile.in: Regenerated.
3567 * libsupc++/Makefile.in: Regenerated.
3568 * src/Makefile.in: Regenerated.
3570 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3572 Fixes libstdc++/2079
3573 * include/backward/iomanip.h: Expose <ios> manipulators to global
3575 * include/backward/iostream.h: Also expose std::ws.
3577 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
3579 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3581 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
3583 * include/bits/codecvt.h: Use __builtin_alloca.
3584 * include/bits/ostream.tcc: Same.
3585 * include/bits/fstream.tcc: Same.
3587 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
3589 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3591 2001-02-23 David Edelsohn <dje@watson.ibm.com>
3593 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3595 2001-02-23 Phil Edwards <pme@sources.redhat.com>
3598 * include/backward/iostream.h: Expose std::flush in old headers.
3600 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3602 * mknumeric_limits: Remove special-casing on target. Use gcc
3603 instead of g++ to build gen-num-limits.cc
3605 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
3607 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3609 * include/bits/codecvt.h: Use alloca instead of __extension__ for
3611 * include/bits/ostream.tcc: Same.
3612 * include/bits/std_ostream.h: Same.
3613 * include/bits/fstream.tcc: Same.
3614 * include/bits/locale_facets.tcc: Add typename.
3615 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3617 2001-02-21 Phil Edwards <pme@sources.redhat.com>
3619 * tests_flags.in: Remove -n flag from call to echo.
3621 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
3623 * config/c_locale_gnu.h: Add clocale include.
3625 2001-02-20 Phil Edwards <pme@sources.redhat.com>
3627 * include/bits/stl_config.h: Remove file.
3628 * src/Makefile.am (base_headers): Remove from list.
3629 * configure: Regenerate.
3630 * Makefile.in: Ditto.
3631 * libio/Makefile.in: Ditto.
3632 * libmath/Makefile.in: Ditto.
3633 * libsupc++/Makefile.in: Ditto.
3634 * src/Makefile.in: Ditto.
3636 * include/bits/c++config: Move relevant macros to here.
3637 * include/backward/alloc.h: Include c++config.h instead.
3638 * include/backward/function.h: Ditto.
3639 * include/backward/heap.h: Ditto.
3640 * include/backward/pair.h: Ditto.
3641 * include/bits/pthread_allocimpl.h: Ditto.
3642 * include/bits/std_functional.h: Ditto.
3643 * include/bits/std_iterator.h: Ditto.
3644 * include/bits/std_numeric.h: Ditto.
3645 * include/bits/std_utility.h: Ditto.
3646 * include/bits/stl_algobase.h: Ditto.
3647 * include/bits/type_traits.h: Ditto.
3648 * src/stl-inst.cc: Ditto.
3650 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3652 * include/bits/basic_file.h: Add #pragma system_header
3653 * include/bits/basic_ios.h: Ditto.
3654 * include/bits/basic_string.h: Ditto.
3655 * include/bits/char_traits.h: Ditto.
3656 * include/bits/codecvt.h: Ditto.
3657 * include/bits/cpp_type_traits.h: Ditto.
3658 * include/bits/fpos.h: Ditto.
3659 * include/bits/gslice.h: Ditto.
3660 * include/bits/gslice_array.h: Ditto.
3661 * include/bits/indirect_array.h: Ditto.
3662 * include/bits/ios_base.h: Ditto.
3663 * include/bits/limits_generic.h: Ditto.
3664 * include/bits/locale_facets.h: Ditto.
3665 * include/bits/localefwd.h: Ditto.
3666 * include/bits/mask_array.h: Ditto.
3667 * include/bits/sbuf_iter.h: Ditto.
3668 * include/bits/sequence_concepts.h: Ditto.
3669 * include/bits/slice.h: Ditto.
3670 * include/bits/slice_array.h: Ditto.
3671 * include/bits/std_algorithm.h: Likewise.
3672 * include/bits/std_bitset.h: Likewise.
3673 * include/bits/std_complex.h: Likewise.
3674 * include/bits/std_deque.h: Likewise.
3675 * include/bits/std_fstream.h: Likewise.
3676 * include/bits/std_functional.h: Likewise.
3677 * include/bits/std_iomanip.h: Likewise.
3678 * include/bits/std_ios.h: Likewise.
3679 * include/bits/std_iosfwd.h: Likewise.
3680 * include/bits/std_iostream.h: Likewise.
3681 * include/bits/std_istream.h: Likewise.
3682 * include/bits/std_iterator.h: Likewise.
3683 * include/bits/std_list.h: Likewise.
3684 * include/bits/std_locale.h: Likewise.
3685 * include/bits/std_map.h: Likewise.
3686 * include/bits/std_memory.h: Likewise.
3687 * include/bits/std_numeric.h: Likewise.
3688 * include/bits/std_ostream.h: Likewise.
3689 * include/bits/std_queue.h: Likewise.
3690 * include/bits/std_set.h: Likewise.
3691 * include/bits/std_sstream.h: Likewise.
3692 * include/bits/std_stack.h: Likewise.
3693 * include/bits/std_stdexcept.h: Likewise.
3694 * include/bits/std_streambuf.h: Likewise.
3695 * include/bits/std_string.h: Likewise.
3696 * include/bits/std_utility.h: Likewise.
3697 * include/bits/std_valarray.h: Likewise.
3698 * include/bits/std_vector.h: Likewise.
3699 * include/bits/stringfwd.h: Likewise.
3700 * include/bits/type_traits.h: Likewise.
3701 * include/bits/valarray_array.h: Likewise.
3702 * include/bits/valarray_meta.h: Likewise.
3704 2001-02-19 Andreas Jaeger <aj@suse.de>
3706 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3709 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3712 * include/bits/std_ostream.h: Replaced usage of
3713 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3714 * include/bits/char_traits.h: Removed non-standard
3715 methods that cannot be used elsewhere.
3718 * include/bits/basic_ios.h: Uncommented #include of
3722 * include/bits/codecvt.h: See next...
3723 * include/bits/fstream.tcc: See next...
3724 * include/bits/ostream.tcc: Add __extension__
3725 to variable-length arrays.
3728 * include/bits/localefwd.h: Changed int counter type to size_t.
3731 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3733 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3735 * testsuite/21_strings/char_traits.cc: Move to ...
3736 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3737 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3738 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3740 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3742 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3745 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3747 * include/bits/c++config: Revert.
3749 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3751 * include/bits/istream.tcc: Use ios_base::iostate in place of
3752 iostate throughout. Insert `typename' keyword where necessary.
3753 * include/bits/ostream.tcc: Insert `typename' keyword where
3756 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3758 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3759 Define so library is compliant.
3761 2001-02-15 Anthony Green <green@redhat.com>
3763 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3765 * aclocal.m4: Regenerate.
3766 * configure: Regenerate.
3768 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3770 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3771 Include ieeefp.h for fpclass on UnixWare{2,7}.
3772 * aclocal.m4: Regenerate.
3773 * configure: Regenerate.
3774 * mkcheck.in (size_command): Do without GNU-grep when using
3777 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3779 Remove old ABI support from libsupc++.
3780 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3781 * libsupc++/exception_support.cc: Likewise.
3782 * libsupc++/pure.cc: Likewise.
3783 * libsupc++/tinfo.cc: Likewise.
3784 * libsupc++/tinfo.h: Likewise.
3785 * libsupc++/tinfo2.cc: Likewise.
3786 * libsupc++/typeinfo: Likewise.
3787 * libsupc++/vec.cc: Likewise.
3789 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3791 Add support for -fno-exceptions.
3792 * include/bits/exception_support.h: Remove.
3793 * include/bits/basic_string.h: Remove exception_support.
3794 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3796 (string::substr): Same.
3797 * include/bits/basic_string.tcc (string::reserve): Replace
3798 __LENGTHERROR with __throw_length_error.
3799 (string::_S_create): Same.
3800 (string::resize): Same.
3801 (string::_M_replace): Same.
3802 (string::replace): Same.
3803 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3804 (string::compare): Same.
3805 * include/bits/stl_vector.h: Remove exception_support.
3806 * src/Makefile.am (base_headers): Remove here.
3807 * src/Makefile.in: Regenerate.
3809 * include/bits/stl_range_errors.h: Remove.
3810 * include/bits/stl_deque.h: Use __throw_range_error.
3811 * include/bits/std_deque.h: Include functexcept.h.
3812 * include/bits/std_vector.h: Same.
3813 * src/Makefile.am (base_headers): Remove here.
3814 * src/Makefile.in: Regenerate.
3815 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3816 * include/ext/bvector: Remove stl_range_errors.h
3818 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3820 * include/bits/functexcept.h: New file.
3821 * src/functexcept.cc: New file. Definitions for function-based
3823 * src/Makefile.am (sources): Add functexcept.cc.
3824 * src/Makefile.in: Regenerate.
3826 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3829 * include/bits/localefwd.h: Include functexcept.h.
3830 * include/bits/std_iosfwd.h: Same.
3832 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3833 throw basic_ios::failure.
3834 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3835 Use __throw_exception_again.
3836 (filebuf::_M_filebuf_init): Same.
3837 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3838 * include/bits/ostream.tcc (ostream::operator<<): Same.
3839 * include/bits/istream.tcc (istream::operator>>): Same.
3840 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3841 (string::_S_construct): Same.
3842 (string::_M_clone): Same.
3843 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3845 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3846 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3847 __throw_exception_again.
3848 (locale::_Imp::_Imp(string, size_t): Same.
3849 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3850 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3851 (locale::locale(const char*)): Use __throw_runtime_error.
3852 (locale::classic): Use __throw_exception_again.
3853 (locale::_S_normalize_category): Use __throw_runtime_error.
3855 * src/stdexcept.cc: Remove cruft.
3857 * libsupc++/exception_defines.h: New file.
3858 * libsupc++/new_opnt.cc: Include exception_defines.h.
3859 * libsupc++/vec.cc: Same.
3860 (__cxa_vec_new2): Use __throw_exception_again.
3861 (__cxa_vec_new3): Same.
3862 (__cxa_vec_ctor): Same.
3863 (__cxa_vec_delete3): Same.
3864 (__cxa_vec_cctor): Same.
3865 (__cxa_vec_delete2): Same.
3866 (__cxa_vec_dtor): Same.
3867 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3868 compile exception-handling bits if __EXCEPTIONS is defined.
3869 Remove old ABI support.
3870 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3871 std::__throw_bad_alloc() instead of throw bad_alloc.
3872 * libsupc++/Makefile.am: Add exception_defines.h.
3873 * libsupc++/Makefile.in: Reformat.
3874 * libsupc++/*: Format.
3876 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3878 * docs/html/configopts.html: Minor updates and typo fixes.
3879 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3880 * docs/html/faq/index.txt: Regenerated.
3882 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3884 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3885 dejagnu/dg.exp. Adapt to log options used to run testcases.
3887 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3889 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3892 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3893 Phil Edwards <pme@sources.redhat.com>
3895 * include/backward/function.h: Do not use rel_ops for older
3897 * include/backward/pair.h: Likewise.
3899 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3901 * src/locale.cc: Remove bogus locale::id definitions.
3903 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3905 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3906 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3908 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3909 thinko in member initialisation.
3911 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3913 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3914 comparaison between signed and unsigned integer types.
3915 (valarray<>::cshift): Reformat.
3917 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3919 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3920 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3921 * configure.in: Test for sigsetjmp.
3922 * configure, config.h.in: Rebuilt.
3924 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3926 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3927 lengths and strides.
3928 (__gslice_to_index): Document.
3930 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3932 * include/bits/char_traits.h char_traits<char>::int_type: Change
3933 to `int' to match 21.1.3.1/2.
3935 * testsuite/21_strings/char_traits-int_type.C: New test.
3937 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3939 * testsuite/Makefile.am: New file.
3941 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3943 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3945 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3947 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3949 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3951 * configure.target (aix4*): Remove extra set of brackets.
3953 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3956 * include/bits/stringfwd.h: New file.
3957 * include/bits/stl_string_fwd.h: Remove.
3958 * include/bits/localefwd.h: Remove declaration for allocator.
3959 * include/bits/std_iosfwd: Same.
3960 * include/bits/std_string.h: Include it.
3961 * include/bits/std_ios.h: Remove include.
3962 * include/bits/basic_string.h: Tweak.
3963 * libsupc++/new: Format.
3964 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3966 * src/Makefile.in: Regenerate.
3967 * include/bits/std_stdexcept.h: Rewrite.
3968 * src/stdexcept.cc: Same.
3970 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3972 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3973 install locations too.
3974 * aclocal.m4: Regenerate.
3975 * configure.in: Remove USE_LIBDIR.
3976 * configure: Regenerate.
3977 * src/Makefile.am (toolexecdir): Simplify, use
3978 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3979 * src/Makefile.in: Regenerate.
3980 * libsupc++/Makefile.am: Same.
3981 * libsupc++/Makefile.in: Regenerate.
3983 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3984 misc-inst.cc as no longer necessary.
3986 Follow C++STYLE for naming non-static functions.
3987 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3989 * include/bits/streambuf.tcc: Same.
3990 * include/bits/ostream.tcc: Same.
3991 * include/bits/istream.tcc: Same.
3992 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3993 (_S_output_float): To __output_float.
3994 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3996 * include/bits/locale_facets.tcc (_S_build_float_format): To
3997 __build_float_format.
3998 (_S_format): To __output_integer.
3999 (_S_fill): To __pad.
4000 * src/locale.cc: Same.
4001 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4003 * include/bits/locale_facets.tcc (_S_group_digits): To
4005 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4006 for collate, numpunct.
4008 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4010 * docs/html/configopts.html: Fix HTML markup.
4011 * docs/html/install.html: Bring up to date.
4012 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4013 * docs/html/21_strings/howto.html: More notes.
4014 * docs/html/22_locale/howto.html: Fix HTML markup.
4015 * docs/html/27_io/howto.html: More notes.
4016 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4017 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4019 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4021 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4022 to match header files.
4023 (_S_output_float): Likewise.
4024 (_S_copy_streambufs): Likewise.
4026 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4027 Phil Edwards <pme@sources.redhat.com>
4029 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4030 use reinterpret_cast, not static_cast.
4032 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4034 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4035 * aclocal.m4: Regenerate.
4036 * configure: Regenerate.
4038 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4040 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4041 * libsupc++/pure.cc: Revert.
4043 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4045 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4046 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4047 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4048 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4049 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4050 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4051 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4052 * aclocal.m4: Regenerate.
4053 * configure: Regenerate.
4055 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4057 * include/bits/locale_facets.tcc: Remove `static' keyword on
4058 function definitions.
4059 * include/bits/std_streambuf.h: Likewise.
4060 * src/Makefile.am: Remove use of -fimplicit-templates.
4061 * src/Makefile.in: Regenerated.
4062 * src/locale-inst.cc: Explicitly instantiate more functions.
4063 * src/misc-inst.cc: Likewise.
4064 * src/string-inst.cc: Likewise.
4066 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4068 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4069 macro. Consolidate all the bits to do with where includes might be
4071 * aclocal.m4: Regenerate.
4072 * configure.in: Use it.
4073 * configure: Regenerate.
4074 * src/Makefile.am (targetincludep): Use simplified rules.
4075 (targetincludep): Rename gxx_target_include_dir.
4076 (myincludep): Rename gxx_include_dir.
4077 * src/Makefile.in: Regenerate.
4078 * libsupc++/Makefile.am: Use simplified rules.
4079 * libsupc++/Makefile.in: Regenerate.
4081 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4083 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4084 * include/c_std/bits/std_cctype.h: Same.
4085 * include/c_std/bits/std_cassert.h: Same.
4086 * include/c_std/bits/std_cstdarg.h: Same.
4087 * include/c_std/bits/std_cstddef.h: Same.
4089 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4091 * include/c_std/bits/std_ctime.h: Same.
4092 * include/c_std/bits/std_clocale.h: Same.
4093 * include/c_std/bits/std_cmath.h: Same.
4094 * include/c_std/bits/std_csetjmp.h: Same.
4095 * include/c_std/bits/std_csignal.h: Same.
4096 * include/c_std/bits/std_cstring.h: Same.
4097 * include/c_std/bits/std_cstdlib.h: Same.
4098 * include/c_std/bits/std_cwchar.h: Same.
4100 2001-02-05 Phil Edwards <pme@sources.redhat.com>
4102 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
4104 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4106 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4107 (string::_S_construct): Likewise.
4109 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
4111 * testsuite/config/default.exp: New file.
4112 * testsuite/config: New directory.
4114 2001-02-04 Mark Mitchell <mark@codesourcery.com>
4116 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4117 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4118 whenever !__GXX_MERGED_TYPEINFO_NAMES.
4119 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4121 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4122 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4124 * Makefile.am (mkinstalldirs): Set.
4125 * src/Makefile.am (mkinstalldirs): Set.
4126 * libmath/Makefile.am (mkinstalldirs): Set.
4127 * libsup++/Makefile.am (mkinstalldirs): Set.
4128 * libio/Makefile.am (mkinstalldirs): Set.
4129 * */Makefile.in: Regenerate.
4131 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
4133 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4134 * include/bits/localefwd.h: More initialization cleanups.
4136 2001-02-03 Jeffrey A Law <law@cygnus.com>
4138 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4139 correctly targets with 16bit ints.
4140 (_S_ios_openmode_end): Similarly.
4141 (_S_ios_iostate_end): Similarly.
4142 (_S_ios_Seekdir_end): Similarly.
4144 2001-02-02 Phil Edwards <pme@sources.redhat.com>
4146 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
4148 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4150 * configure.in (toplevel_srcdir, auxdir): Set.
4151 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4152 * aclocal.m4, configure, Makefile.in: Rebuilt.
4153 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4154 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4155 * libsupc++-v3/Makefile.in: Rebuilt.
4156 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4157 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4159 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
4161 * config/c_locale_generic.cc: Remove langinfo include.
4163 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
4165 Preliminary named locales.
4166 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4167 * aclocal.m4: Regenerate.
4168 * configure.in: Use it.
4169 * configure: Regerate.
4170 * src/Makefile.am (sources): Add c++locale.cc.
4171 (build_headers): Add c++locale.h.
4172 * src/Makefile.in: Regenerate.
4173 * config/c_locale_gnu.h: New file.
4174 * config/c_locale_gnu.cc: New file. Non-inline member functions
4175 for named locales, gnu-specific.
4176 * config/c_locale_generic.h: New file.
4177 * config/c_locale_generic.cc: New file. Non-inline member
4178 functions for named locales, generic version.
4179 * docs/html/configopts.html: Add documentation on new options.
4181 * include/bits/locale_facets.h (class _Messages): Remove.
4182 (class _Moneypunct): Remove.
4183 * src/locale-inst.cc: Remove.
4185 * include/bits/locale_facets.h (class _Collate): Remove.
4186 * src/locale-inst.cc (std): Remove.
4187 * src/locale.cc: And here.
4189 * include/bits/localefwd.h (locale::_M_coalesce): New
4190 function. Correctly put together multi-name locales.
4191 (_Impl(const _Impl&, category, size_t)): Remove.
4193 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4195 (_M_normalize_category_names): Remove.
4196 (_M_replace_categories): Fix.
4198 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4199 (locale::_Impl::_M_construct_ctype): Remove.
4200 (locale::_Impl::_M_construct_monetary): Remove.
4201 (locale::_Impl::_M_construct_numeric): Remove.
4202 (locale::_Impl::_M_construct_time): Remove.
4203 (locale::_Impl::_M_construct_messages): Remove.
4205 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4206 (_Use_facet_failure_handle): Remove.
4207 * src/locale.cc: Remove definitions.
4208 * src/locale-inst.cc: And here.
4210 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4212 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4213 create and error-check underlying locale object.
4214 (locale::facet::_S_destroy_c_locale): Add, take care of properly
4215 tearing down underlying locale object.
4216 * include/bits/localefwd.h (locale::facet): Declare.
4217 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4218 correctness, as glibc apparently has incorrect info in it. Test
4219 with it when it works again.....
4221 * include/bits/localefwd.h (locale::_Impl::__vec_string):
4222 Remove. Number of categories is fixed at six, so just simplify and
4223 make this an array of strings.
4224 (locale::_Impl::_M_has_name): Remove.
4225 (locale::_Impl::_M_name): Remove.
4226 (locale::_Impl::_M_category_names): Turns into...
4227 (locale::_Impl::_M_names): ...this.
4228 (locale::_Impl::_M_has_same_name()): New function.
4229 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4230 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4232 * src/locale.cc (locale::name()): Construct mangled name
4233 accurately reflecting combined locale categories.
4235 * src/locale.cc (locale::classic()): Don't initialize here.
4236 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4237 __refs, bool __has_name, string __str): Do it here.
4239 * include/bits/localefwd.h: _S_categories_num to
4240 _S_num_categories. _S_facets_num to _S_num_facets.
4241 (locale::id::id()): Explicitly set _M_index to zero.
4242 * src/locale.cc: Same.
4244 * src/locale.cc: (locale::locale(const char*)): Construct named
4247 * src/locale.cc: Remove numpunct_byname ctors.
4248 * testsuite/22_locale/numpunct_byname.cc: New file.
4249 * testsuite/22_locale/numpunct.cc: New file.
4251 * include/bits/localefwd.h (class locale): Change data members to
4252 protected, from private.
4253 (_Impl::_M_get_c_locale): Add member function.
4254 (locale::facet::_M_get_global_impl()): Add member function.
4255 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4256 a __c_locale pointer.
4257 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4259 * testsuite/22_locale/members.cc: New file, test name and combine.
4261 * include/bits/locale_facets.h (class numpunct): Remove class
4262 _Punct and _Numpunct. Rewrite class numpunct to be correct for
4264 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4265 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4266 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4267 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4268 * testsuite/22_locale/numpunct_char_members.cc: New file.
4270 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
4272 * testsuite/README: Add more comment.
4273 * testsuite/lib/libstdc++.exp: Tweak comment.
4275 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
4277 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4279 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
4281 * testsuite/21_strings/inserters_extractors.cc: Remove
4282 explicit reference to 'testsuite/'.
4284 2001-01-25 Richard Henderson <rth@redhat.com>
4286 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
4287 bits. Fixes Tru64 build issues.
4289 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4291 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
4292 (use ${MAKE-make}, not ${MAKE:-make}).
4293 * aclocal.m4, configure: Regenerate.
4295 2001-01-25 Mark Mitchell <mark@codesourcery.com>
4297 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
4300 * src/Makefile.am (sources): Add globals.cc.
4301 * src/Makefile.in: Regenerated.
4302 * src/globals.cc: New file.
4303 * src/ios.cc (cin): Don't define here, just declare extern.
4312 2001-01-25 Phil Edwards <pme@sources.redhat.com>
4314 * include/bits/std_iterator.h: Do not include stl_relops.h.
4315 * include/bits/std_numeric.h: Ditto.
4316 * include/bits/stl_algobase.h: Ditto.
4317 * include/bits/stl_relops.h: Add comment warning about problems.
4319 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
4321 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
4322 in testcases. Prepare for the DejaGnu based framework.
4323 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
4324 directory -- it is now mkcheck working directory.
4325 * tests_flags.in: Remove reference to $(top_srcdir). Use
4327 * Makefile.am (check, check-install): Change mkcheck invocation
4329 * Makefile.in: Regenerate.
4331 2001-01-24 Mark Mitchell <mark@codesourcery.com>
4333 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
4334 (__always_swap): Likewise.
4336 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4338 * libsupc++/exception_support.cc (__terminate_func): Remove
4340 (__terminate_func_ptr): New typedef.
4341 (__terminate, __terminate_set_func): New extern function
4343 (std::terminate): Use __terminate function.
4344 (std::set_terminate): Use __terminate_set_func function.
4346 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
4348 * configure.target: Just use os_include_dir always.
4349 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
4350 Link atomicity files and ctype files here.
4351 * configure: Regenerate.
4352 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
4353 (GLIBCPP_ENABLE_ATOMICITY): Remove.
4354 * aclocal.m4: Regenerate.
4356 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4358 * configure.in: Place definition of MULTISUBDIR in
4359 libsupc++/Makefile as is done for src/Makefile.
4360 * configure: Regenerate.
4362 2001-01-23 Phil Edwards <pme@sources.redhat.com>
4364 * acinclude.m4: Cosmetic changes only.
4365 * aclocal.m4: Regenerated.
4366 * configure: Regenerated.
4367 * configure.target: Update documented list of changed variables.
4368 * docs/html/install.html: Fix typo.
4369 * docs/html/20_util/howto.html: More notes on auto_ptr.
4370 * docs/html/27_io/howto.html: More notes on streabufs.
4371 * docs/html/faq/index.html: Add rel_ops problem and mention the
4372 DEC as(1) .subsection difficulty.
4373 * docs/html/faq/index.txt: Regenerated.
4375 2001-01-23 Mark Mitchell <mark@codesourcery.com>
4377 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
4378 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
4379 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
4380 its already provided in config.target.
4381 * aclocal.m4: Regenerated.
4382 * configure: Likewise.
4383 * configure.target: Set ctype_include_dir for lots of systems.
4384 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
4385 * libsupc++/Makefile.in: Regenerated.
4387 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
4389 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
4392 * testsuite/README: Add comment.
4394 2001-01-21 Phil Edwards <pme@sources.redhat.com>
4396 * docs/html/configopts.html: Update for current status. Fix HTML.
4397 * docs/html/install.html: Update for current status.
4399 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4401 * testsuite/libstdc++.tests/tests.exp: New file.
4402 * testsuite/lib/libstdc++.exp: Itou.
4403 * testsuite/README: Itou.
4405 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
4407 * tests_flags.in: Just output the bare minimum to run tests.
4408 Let's the caller do its own arrangement.
4410 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
4413 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
4415 * testsuite/17_intro: Prepare testcases for new style DejaGnu
4418 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
4420 * testsuite/libstdc++.tests, testsuite/lib: New directories.
4422 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
4424 * mkcheck.in: Construct file names that match $objdir structure.
4425 * testsuite/27_io/filebuf_members-1.txt: New file.
4426 * testsuite/27_io/ifstream_members-1.txt: New file.
4427 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
4429 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
4430 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
4432 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4434 * testsuite/27_io/istream_sentry.cc (test02): Fix.
4436 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
4439 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
4440 * src/ios.cc (ios_base::failure): Make definitions match.
4441 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
4442 (class bad_cast): Same.
4443 * libsupc++/exception (class exception): Add throw specs.
4444 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4445 (set_unexpected): Same.
4446 (uncaught_exception): Same.
4449 * docs/html/17_intro/C++STYLE (classname): Fix.
4451 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4453 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4454 Use it do explicitly instantiate predicate<T> and value<T> for
4457 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
4459 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4460 uninitialized thinko in last change.
4462 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4464 * libsupc++/exception_support.cc (__cp_pop_exception): Change
4467 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
4469 * docs/html/17_intro/C++STYLE (classname): Add more existing
4470 and stylish patterns.
4473 * include/bits/istream.tcc (istream::sentry::sentry()): Set
4474 failbit if the state of the stream is not good.
4475 * testsuite/27_io/istream_sentry.cc (test02): Add test.
4476 * testsuite/27_io/istream_manip.cc (test01): Modify.
4479 reported by Paolo Carlini <pcarlini@unitus.it>
4480 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4481 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4484 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4485 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4486 (xsgetn): Same. Simplify.
4487 * testsuite/27_io/streambuf.cc (test04): Add testcases.
4489 reported by Larry Evans <jcampbell3@prodigy.net>
4490 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4491 equality with eof on returned value from overflow.
4493 2001-01-14 Andreas Jaeger <aj@suse.de>
4495 * libio/libio.h: Add test for glibc 2.0.
4497 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
4499 * config/os/djgpp/bits/*: Fix dates.
4501 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4502 _CharT* __end, _CharT __c): Remove.
4503 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4504 * include/bits/char_traits.h: Tweak.
4506 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
4508 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4509 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4511 * aclocal.m4: regenerated.
4512 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4513 * configure: regenerated.
4514 * config/os/djgpp, config/os/djgpp/bits: new directories.
4515 * config/os/djgpp/bits/ctype_base.h,
4516 config/os/djgpp/bits/ctype_inline.h,
4517 config/os/djgpp/bits/ctype_noninline.h,
4518 config/os/djgpp/bits/os_defines.h: new files.
4520 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4522 * include/c_std/bits/std_cstdio.h: Undef printf.
4524 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
4526 * src/ios.cc: Fix typo: change cout->wcout.
4528 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4529 * src/Makefile.in: Regenerate.
4531 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4533 * include/bits/std_complex.h: Fix a typo.
4535 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
4538 Fixes for libstdc++/1576
4539 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4540 file, move contents into....
4541 * src/ios.cc: ...Here. Put defines for iostreams objects and
4542 initialization routines into one file to simplify DSO interaction.
4543 * include/bits/std_iostream.h: Touch.
4544 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4545 * src/Makefile.am (sources): Remove stdstreams.cc.
4546 * src/Makefile.in: Regenerate.
4548 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4550 * tests_flags.in (check_directory): Fix typo.
4552 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4554 * include/bits/std_complex.h: Fix a typo.
4556 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
4558 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4559 code path:) Remove magic constants and restructure to handle
4560 ctype.h bit mask layout changes more gracefully. (Make fast
4561 code path:) Use __maskrune (), if available.
4562 (is): Remove special case for digit and xdigit masks.
4564 2001-01-09 Robert Lipe <robertlipe@usa.net>
4566 * include/c_std/bits/std_ctime.h: Undefine difftime.
4568 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4570 * src/gen-num-limits.cc (signal_adapter): New template function.
4571 (signal_handler): Use it, instead of signal.
4572 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
4573 require both tests to trap to set trap_flag.
4575 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4577 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4578 initialize mbstate_t member, name offset data members *off, not pos.
4579 * include/bits/fstream.tcc (filebuf::filebuf): Same.
4581 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4583 reported by Chris G. Demetriou <cgd@sibyte.com>
4584 * configure.in: Change -linux-* to -linux*.
4585 * configure: Regenerate.
4587 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
4589 Fix 27_io/filebuf_members.cc
4590 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4591 const string& __name, category __cat, size_t __refs): Set
4592 _M_has_name with _M_name.
4593 * include/bits/localefwd.h (locale::operator!=): Protect member
4594 function call with this->.
4595 * src/locale.cc (locale::operator==): Make fast checks first.
4596 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4598 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4600 * src/ios.cc (ios_base::Init::Init): Initialize here.
4601 (ios_base::sync_with_stdio): Set here.
4603 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
4605 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4606 systems that support it, call dup() before fdopen().
4608 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
4610 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4611 * testsuite/17_intro/header_cwctype.cc (main): New file.
4613 * src/Makefile.am (base_headers): Change.
4614 * include/bits/std_string.h: And here.
4615 * include/bits/string.tcc: Tweaks, move to...
4616 * include/bits/basic_string.tcc: ...Here.
4617 * src/string-inst.cc: Simplify, just instantiate the whole class,
4618 not member-by-member.
4620 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
4622 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4623 * aclocal.m4: Regenerate.
4624 * configure: Regenerate.
4626 * include/bits/c++config (__GLIBCPP__): Bump version number.
4628 * ChangeLog: Start new log for year 2001
4629 * ChangeLog-2000: New file.
4631 * docs/html/configopts.html: Make sure default values are current,
4634 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
4636 * include/c_std/bits/std_cwchar.h: Same.
4637 * testsuite/17_intro/header_cwchar.cc: Same.
4638 * include/c_std/bits/std_ctime.h: Same.
4639 * testsuite/17_intro/header_ctime.cc: Same.
4640 * include/c_std/bits/std_cstdlib.h: Same.
4641 Clean up undefs, make consistent with cwchar and cmath, etc.
4642 * testsuite/17_intro/header_cstdlib.cc: Same.
4643 * include/c_std/bits/std_cstdio.h: Same here.
4644 * testsuite/17_intro/header_cstring.cc: Same.
4645 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4646 * testsuite/17_intro/header_cstring.cc: New file. Check for
4647 size_t in namespace std.
4649 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4650 * acconfig.h (HAVE_MBSTATE_T): Add.
4651 * config.h.in: Regenerate.
4652 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4654 * aclocal.m4: Regenerate.
4655 * configure: Regenerate.
4656 * testsuite/17_intro/headers_c++.cc: New file.
4657 * testsuite/17_intro/headers_c.cc: Small changes.
4659 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4661 * tests_flags.in: Fix typo in usage.
4663 * tests_flags.in: Set target specific LIBS for cygwin.