]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/ChangeLog
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LD...
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
1 2002-01-16 David Edelsohn <dje@watson.ibm.com>
2
3 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
5 * aclocal.m4: Regenerate.
6 * configure: Regenerate.
7
8 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
9
10 * include/Makefile.am (c_base_headers_rename): New.
11 (c_base_headers_extra): New.
12 (stamp-c_base): Modify.
13 (install-data-local): Use both.
14 * include/Makefile.in: Regenerate.
15 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
16 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
17 cstdio ctime cwctype]: Move to..
18 * include/c/std_*: Here.
19 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
20 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
21 cstdio ctime cwctype]: Move to..
22 * include/c_std/std_*: Here.
23
24 Alexandre Oliva <aoliva@redhat.com>
25 * include/Makefile.am (.PRECIOUS): Add rule.
26 * include/Makefile.in: Regenerate.
27
28 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
29 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
30
31 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
32 Deuglify, should be current.
33 (back_insert_iterator::_M_container): Deuglify, should be container.
34 (front_insert_iterator::_M_container): Same.
35 (insert_iterator::_M_container): Same.
36 * testsuite/24_iterators/reverse_iterator.cc: Add check.
37 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
38 * testsuite/24_iterators/front_insert_iterator.cc: Same.
39 * testsuite/24_iterators/insert_iterator.cc: Same.
40
41 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
42
43 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
44 static.
45 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
46 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
47 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
48 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
49 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
50 * config/os/newlib/bits/ctype_noninline.h: Same.
51 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
52 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
53 * config/os/hpux/bits/ctype_noninline.h: Same.
54 * config/os/djgpp/bits/ctype_noninline.h: Same.
55 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
56 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
57 * config/os/aix/bits/ctype_noninline.h: Same.
58
59 Testcase by Dietmar Kühl via Peter Schmid
60 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
61 classic_table().
62
63 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
64
65 * libmath/signbitl.c: Copyright years as list, not range.
66 * libmath/Makefile.am: Same.
67 * libmath/Makefie.in: Regenerate.
68 * libmath/signbit.c: Same.
69 * libmath/nan.c: Same.
70 * libmath/copysignf.c: Same.
71 * libmath/signbitf.c: Same.
72 * testsuite/22_locale/money_get_members_char.cc: Same.
73 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
74 * testsuite/22_locale/money_put_members_char.cc: Same.
75 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
76 * testsuite/22_locale/time_get_members_char.cc: Same.
77 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
78 * testsuite/22_locale/time_put_members_char.cc: Same.
79 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
80 * testsuite/21_strings/nonmember.cc: Same.
81 * testsuite/21_strings/compare.cc: Same.
82 * testsuite/27_io/stringstream.cc: Same.
83 * testsuite/27_io/stringbuf.cc: Same.
84 * testsuite/27_io/filebuf.cc: Same.
85 * testsuite/27_io/ios_manip_basefield.cc: Same.
86 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
87 * include/bits/cpp_type_traits.h: Same.
88 * include/bits/generic_shadow.h: Same.
89 * include/bits/gslice_array.h: Same.
90 * include/bits/gslice.h: Same.
91 * include/bits/indirect_array.h: Same.
92 * include/bits/slice_array.h: Same.
93 * include/bits/sstream.tcc: Same.
94 * include/bits/streambuf_iterator.h: Same.
95 * include/bits/valarray_array.tcc: Same.
96 * include/bits/valarray_meta.h: Same.
97 * include/bits/valarray_array.h: Same.
98 * config/os/mingw32/bits/ctype_noninline.h: Same.
99 * config/os/mingw32/bits/ctype_base.h: Same.
100 * config/os/hpux/bits/ctype_noninline.h: Same.
101 * config/os/hpux/bits/ctype_base.h: Same.
102 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
103 * config/os/gnu-linux/bits/ctype_base.h: Same.
104 * config/os/generic/bits/ctype_noninline.h: Same.
105 * config/os/generic/bits/ctype_base.h: Same.
106
107 * libsupc++/tinfo.h: Tweaks.
108
109 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
110
111 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
112 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
113 * testsuite/22_locale/ctype_members_char.cc: Tweak.
114
115 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
116
117 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
118 (num_put::do_put(void*)): Fix.
119 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
120 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
121 * testsuite/22_locale/num_get_members_char.cc (test02): Add
122 long double, void, bool types.
123 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
124
125 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
126 Alexandre Oliva <aoliva@redhat.com>
127
128 * libmath/Makefile.am (LINK): Add --tag CC.
129 * libmath/Makefile.in: Regenerate.
130
131 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
132
133 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
134 of character to attribute mapping table.
135
136 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
137
138 * testsuite/26_numerics/c99_classification_macros_c.cc
139 Remove dg-error and dg-excess-errors comments.
140
141 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
142
143 * include/bits/locale_facets.tcc (time_put::put): Correct output
144 iterator positions.
145 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
146 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
147 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
148 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
149
150 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
151
152 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
153
154 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
155 Nathan Myers <ncm@cantrip.org>
156
157 * include/bits/basic_string.h
158 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
159 temporaries (i.e., call _M_replace_safe) when possible.
160 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
161 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
162 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
163 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
164 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
165 * include/bits/basic_string.tcc
166 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
167 replace(__pos, __n1, __s, __n2).
168 * testsuite/21_strings/replace.cc (test03): New testcases.
169
170 * include/bits/basic_string.h (insert(__pos, __s, __n)):
171 Adjust comparison wrt overflow.
172
173 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
174
175 * include/Makefile.am (std_headers_rename): New variable.
176 (install-data-local): Use it.
177 * include/Makefile.in: Regenerate.
178
179 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
180
181 * include/bits/locale_facets.tcc (money_put::do_put(string):
182 Correct output iterator value.
183 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
184 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
185
186 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
187
188 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
189 previous commit.
190
191 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
192
193 * include/Makefile.am (std_headers): Update list with new names.
194 (stamp-std): Link to standardized name.
195 * include/Makefile.in: Regenerate.
196
197 * include/std/algorithm, include/std/bitset, include/std/complex,
198 include/std/deque, include/std/fstream, include/std/functional,
199 include/std/iomanip, include/std/ios, include/std/iosfwd,
200 include/std/iostream, include/std/istream, include/std/iterator,
201 include/std/limits, include/std/list, include/std/locale,
202 include/std/map, include/std/memory, include/std/numeric,
203 include/std/ostream, include/std/queue, include/std/set,
204 include/std/sstream, include/std/stack, include/std/stdexcept,
205 include/std/streambuf, include/std/string, include/std/utility,
206 include/std/valarray, include/std/vector: Rename to...
207
208 * include/std/std_algorithm.h, include/std/std_bitset.h,
209 include/std/std_complex.h, include/std/std_deque.h,
210 include/std/std_fstream.h, include/std/std_functional.h,
211 include/std/std_iomanip.h, include/std/std_ios.h,
212 include/std/std_iosfwd.h, include/std/std_iostream.h,
213 include/std/std_istream.h, include/std/std_iterator.h,
214 include/std/std_limits.h, include/std/std_list.h,
215 include/std/std_locale.h, include/std/std_map.h,
216 include/std/std_memory.h, include/std/std_numeric.h,
217 include/std/std_ostream.h, include/std/std_queue.h,
218 include/std/std_set.h, include/std/std_sstream.h,
219 include/std/std_stack.h, include/std/std_stdexcept.h,
220 include/std/std_streambuf.h, include/std/std_string.h,
221 include/std/std_utility.h, include/std/std_valarray.h,
222 include/std/std_vector.h: ...this.
223
224 2002-01-11 Loren Rittle <ljrittle@acm.org>
225
226 * include/Makefile.am (extra_target_headers): New list of all
227 target files built with ad hoc naming rules.
228 (stamp-*): Handle LN_S failure in manner portable across make
229 implementations.
230 (install-data-local): Install header files from human-maintained
231 file lists and directory components instead of non-robust find.
232 * include/Makefile.in: Rebuilt.
233
234 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
235
236 * include/bits/locale_facets.tcc (money_get::do_get(string)):
237 Check for zero-length negative sign before adding it to output
238 string.
239 (money_get::do_get(long double)): Return beg.
240 * testsuite/22_locale/money_get_members_char.cc (test02): Add
241 iterator checks.
242 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
243
244 2002-01-10 David Seymour <seymour_dj@yahoo.com>
245
246 libstdc++/5331
247 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
248 for _M_extract_float and _M_extract_int
249 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
250 (num_get<>::_M_extract_int): Likewise, all callers changed
251 * testsuite/22_locale/num_get_members_char.cc: Testcase
252
253 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
254
255 * libsupc++/exception (bad_exception): Add comment.
256 * libsupc++/new (bad_alloc): Same.
257 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
258
259 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
260
261 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
262 that the destructors should be removed from the descriptions
263 in the standard: writing them explicitly allows the vtable
264 heuristic to work. For additional information see:
265 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
266 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
267 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
268 * libsupc++/exception (bad_exception::~bad_exception()):
269 Reintroduce declaration.
270 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
271 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
272 (bad_typeid::~bad_typeid()): Same.
273 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
274 Reintroduce definition.
275 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
276 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
277 (bad_typeid::~bad_typeid()): Same.
278
279 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
280
281 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
282 * include/Makefile.in: Regenerate.
283
284 2002-01-09 Bo Thorsen <bo@suse.co.uk>
285
286 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
287 definition.
288
289 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
290
291 libstdc++/2913
292 libstdc++/4879
293 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
294 return value of _M_file->sync().
295 (filebuf::showmanyc): Check for is_open.
296 * include/std/fstream (filebuf::sync): Tweak.
297 * testsuite/27_io/filebuf.cc: Tweak.
298
299 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
300 Brad Garcia <garsh@attbi.com>
301
302 * testsuite/27_io/filebuf_members.cc: Add test.
303
304 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
305 Craig Rodrigues <rodrigc@mediaone.net>
306
307 libstdc++/5174
308 * po/Makefile.am (mkinstalldirs): Add.
309 * po/Makefile.in: Regenerate.
310
311 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
312
313 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
314 testsuite/lib/prune.exp: Delete lines ":In function ..." from
315 compiler output.
316 * testsuite/23_containers/map_operators.cc: Remove
317 dg-excess-errors comment.
318 * testsuite/23_containers/set_operators.cc: Likewise.
319
320 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
321
322 * include/bits/stl_function.h: Remove two lines of comments;
323 adjust copyright years.
324
325 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
326
327 * include/Makefile.am (std_headers): Remove cXXX from list.
328 (c_base_srcdir): No bits subdirectory.
329 (c_base_builddir): Same.
330 (c_base_headers): Adjust names, add ciso646.
331 (bits_headers): Remove std_xxx.h headers.
332 * include/Makefile.in: Regenerate.
333
334 * include/ext/iterator: Adjust includes.
335 * include/ext/ropeimpl.h: Same.
336 * include/ext/stl_hash_fun.h: Same.
337 * include/ext/algorithm: Same.
338
339 * include/backward/bvector.h: Adjust includes.
340 * include/backward/vector.h: Same.
341 * include/backward/strstream: Same.
342 * include/backward/streambuf.h: Same.
343 * include/backward/stack.h: Same.
344 * include/backward/set.h: Same.
345 * include/backward/queue.h: Same.
346 * include/backward/multiset.h: Same.
347 * include/backward/multimap.h: Same.
348 * include/backward/map.h: Same.
349 * include/backward/list.h: Same.
350 * include/backward/iterator.h: Same.
351 * include/backward/iostream.h: Same.
352 * include/backward/iomanip.h: Same.
353 * include/backward/fstream.h: Same.
354 * include/backward/deque.h: Same.
355 * include/backward/complex.h: Same.
356
357 * include/bits/std_algorithm.h: Move to...
358 * include/std/algorithm: ...here.
359 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
360 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
361 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
362 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
363 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
364 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
365 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
366 Same.
367
368 * include/c_std/bits/std_cassert.h: Move to...
369 * include/c_std/cassert: Here.
370 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
371 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
372 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
373 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
374 std_cwctype.h: Same.
375 * include/c_std/cmath: Adjust cmath.tcc include.
376 * include/c_std/cstdlib: Adjust includes.
377 * include/c_std/cwchar: Same.
378 * include/c_std/ctime: Same.
379 * include/c_std/cstring: Same.
380 * include/c_std/cstdio: Same.
381 * include/c_std/bits: Remove directory.
382
383 * include/c/bits/std_cassert.h: Move to...
384 * include/c/cassert: Here.
385 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
386 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
387 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
388 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
389 std_cwctype.h: Same.
390 * include/c/bits: Remove directory.
391
392 * include/std/cwctype: Remove.
393 * include/std/cwchar: Remove.
394 * include/std/ctime: Remove.
395 * include/std/cstring: Remove.
396 * include/std/cstdlib: Remove.
397 * include/std/cstdio: Remove.
398 * include/std/cstddef: Remove.
399 * include/std/cstdarg: Remove.
400 * include/std/csignal: Remove.
401 * include/std/csetjmp: Remove.
402 * include/std/cmath: Remove.
403 * include/std/clocale: Remove.
404 * include/std/climits: Remove.
405 * include/std/ciso646: Remove.
406 * include/std/cfloat: Remove.
407 * include/std/cerrno: Remove.
408 * include/std/cctype: Remove.
409 * include/std/cassert: Remove.
410
411 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
412 files and subsituting <.xxx>
413 * include/bits/valarray_array.h: Same.
414 * include/bits/stl_uninitialized.h: Same.
415 * include/bits/stl_alloc.h: Same.
416 * include/bits/stl_algobase.h: Same.
417 * include/bits/sstream.tcc: Same.
418 * include/bits/pthread_allocimpl.h: Same.
419 * include/bits/ostream.tcc: Same.
420 * include/bits/localefwd.h: Same.
421 * include/bits/locale_facets.tcc: Same.
422 * include/bits/locale_facets.h: Same.
423 * include/bits/istream.tcc: Same.
424 * include/bits/char_traits.h: Same.
425 * include/bits/boost_concept_check.h: Same.
426 * include/bits/basic_file.h: Same.
427 * include/std/bitset: Same.
428 * include/std/complex: Same.
429 * include/std/fstream: Same.
430 * include/std/functional: Same.
431 * include/std/ios: Same.
432 * include/std/iostream: Same.
433 * include/std/ostream: Same.
434 * include/std/sstream: Same.
435 * include/std/streambuf: Same.
436 * include/std/string: Same.
437 * include/std/iterator: Same.
438 * include/std/valarray: Same.
439
440 * src/ios.cc: Adjust includes.
441 * src/valarray-inst.cc: Same.
442 * src/string-inst.cc: Same.
443 * src/stl-inst.cc: Same.
444 * src/stdexcept.cc: Same.
445 * src/misc-inst.cc: Same.
446 * src/localename.cc: Same.
447 * src/locale-inst.cc: Same.
448 * src/locale.cc: Same.
449 * src/limits.cc: Same.
450 * src/concept-inst.cc: Same.
451 * src/complex_io.cc: Same.
452 * src/codecvt.cc: Same.
453 * src/bitset.cc: Same.
454 * src/cmath.cc: Same.
455
456 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
457
458 * include/bits/stl_tree.h (rb_tree): Move to...
459 * include/ext/rb_tree: ...here, new file.
460 * include/Makefile.am (ext_headers): Add new file.
461 * include/Makefile.in: Regenerate.
462 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
463 return_temporary_buffer, struct temporary_buffer): Move to...
464 * include/ext/memory: ...here.
465 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
466 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
467 * include/backward/tree.h: Include <ext/rb_tree), tweak.
468
469 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
470
471 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
472 * include/ext/numeric: ...here, new file.
473 * include/bits/stl_function.h (identity_element, unary_compose,
474 binary_compose, compose1, compose2, identity, select1st,
475 select2nd, project1st + helper, project2nd + helper,
476 constant_void_fun + helper, constant_unary_fun + helper,
477 costant_binary_fun + helper, constant0, constant1, constant2,
478 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
479 * include/ext/functional: ...here, new file.
480 * include/Makefile.am (ext_headers): Add new files.
481 * include/Makefile.in: Regenerate.
482 * testsuite/ext/headers.cc: Include <ext/numeric> and
483 <ext/functional>.
484 * include/backward/algo.h: Include <ext/numeric>, tweak.
485 * include/backward/function.h: Include <ext/functional>, tweak.
486 * include/ext/ropeimpl.h: Include <ext/numeric>.
487
488 2002-01-03 Jeffrey A Law <law@redhat.com>
489
490 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
491 __strtoull declarations with __extension__.
492
493 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
494
495 * testsuite/lib/prune.exp: Correct regular expression for
496 -ffunction-sections
497
498 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
499
500 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
501 Change concept checks, as with lower_bound and PR 2054.
502 * testsuite/ext/concept_checks.cc: Expand test to include those.
503
504 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
505
506 * include/bits/boost_concept_check.h: Import some changes from
507 upsteam (Boost) version.
508
509 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
510
511 * include/bits/stl_algobase.h (copy_n + helpers,
512 lexicographical_compare_3way + helpers): Move to...
513 * include/ext/algorithm: ...here.
514 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
515 helpers): Move to...
516 * include/ext/memory: ...here, new file.
517 * include/Makefile.am (ext_headers): Add new file.
518 * include/Makefile.in: Regenerate.
519 * testsuite/ext/headers.cc: Include <ext/memory>.
520 * include/backward/algobase.h: Include <ext/memory> and
521 <ext/algorithm>, tweak.
522 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
523 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
524
525 2002-01-01 Roger Sayle <roger@eyesopen.com>
526
527 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
528 equivalent ___builtin__ versions.
529
530 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
531 are available in libstdc++ as the necessary stub implementations
532 are provided by libmath/stubs.c.
533
534 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
535
536 * configure.in: Add support for NetBSD cross compiles.
537 * configure: Regenerate.
538
539 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
540
541 * include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
542 * testsuite/ext/headers.cc: Add <ext/iterator>.
543
544 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
545
546 * include/backward/algo.h: Add two more using declarations.
547 * include/backward/iterator.h: Include <ext/iterator>,
548 add using declaration.
549 * include/ext/algorithm: Add #pragma GCC system_header.
550
551 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
552
553 * include/bits/stl_bvector.h: Change calls to 3-argument distance()
554 into standard 2-argument version.
555 * include/bits/stl_deque.h: Likewise.
556 * include/bits/stl_tempbuf.h: Likewise.
557 * include/bits/stl_tree.h: Likewise.
558 * include/bits/stl_vector.h: Likewise.
559 * include/ext/stl_hashtable.h: Likewise.
560 * include/bits/stl_iterator_base_funcs.h: Move distance() extension...
561 * include/ext/iterator: to here. New file.
562 * include/Makefile.am (ext_headers): Add new file, alphabatize.
563 * include/Makefile.in: Regenerate.
564
565 2001-12-31 Phil Edwards <pme@gcc.gnu.org>
566
567 * include/bits/stl_deque.h: Doxygenate with initial/example hooks.
568 Clean up spacing and indentation.
569
570 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
571
572 * include/ext/slist: Move into __gnu_cxx,
573 tweak, add using declarations.
574
575 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
576
577 * include/ext/hash_map: Move into __gnu_cxx,
578 tweak, add using declarations.
579 * include/ext/hash_set: Ditto.
580 * include/ext/ropeimpl.h: Ditto.
581 * include/ext/stl_hash_fun.h: Ditto.
582 * include/ext/stl_hashtable.h: Ditto.
583 * include/ext/stl_rope.h: Ditto.
584 * src/ext-inst.cc: Tweak.
585 * testsuite/ext/rope.cc: Tweak.
586
587 2001-12-31 Paolo Carlini <pcarlini@unitus.it>
588
589 * include/backward/algo.h: Include <ext/algorithm>,
590 tweak using declarations.
591
592 2001-12-29 Richard Henderson <rth@redhat.com>
593
594 * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
595 * config/os/hpux/bits/cpu_limits.h: New file.
596 * configure.target (CPULIMITSH): Use it.
597
598 2001-12-28 Richard Henderson <rth@redhat.com>
599
600 * config/cpu/ia64/bits/cpu_limits.h: New file.
601 * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
602 * configure.target (CPULIMITSH): Use them.
603
604 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
605
606 * include/bits/c++config: Move doxygen hook comment...
607 * docs/doxygen/doxygroups.cc: ...to here.
608
609 2001-12-28 Phil Edwards <pme@gcc.gnu.org>
610
611 PR libstdc++/2054
612 * include/bits/stl_algo.h (lower_bound): Relax concept checks.
613 * testsuite/ext/concept_checks.cc: New file.
614
615 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
616
617 * include/bits/stl_algo.h (count returning void,
618 count_if returning void, __random_sample, random_sample,
619 random_sample_n, __is_heap, is_heap, is_sorted): Move to...
620 * include/ext/algorithm: ...here, new file.
621 * include/Makefile.am (ext_headers): Add new file.
622 * include/Makefile.in: Regenerate.
623 * testsuite/ext/headers.cc: Include <ext/algorithm>.
624
625 2001-12-28 Paolo Carlini <pcarlini@unitus.it>
626 Nathan Myers <ncm@cantrip.org>
627
628 * include/bits/basic_string.h (insert(__pos, __s, __n)):
629 Optimize by avoiding temporaries and working in-place when possible.
630 (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
631 (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
632 * testsuite/21_strings/insert.cc (test02): New testcases.
633
634 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
635
636 * testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
637 * testsuite/23_containers/deque_ctor.cc: New file.
638
639 2001-12-27 Paolo Carlini <pcarlini@unitus.it>
640
641 * include/bits/locale_facets.tcc (collate::do_transform):
642 Adjust implicit typename.
643 * config/locale/messages_members_generic.h (messages::open,
644 messages::do_open, messages::do_get): Adjust implicit typename.
645 * config/locale/messages_members_gnu.h (messages::open,
646 messages::do_open, messages::do_get): Adjust Implicit typename.
647 * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
648 messages::do_open, messages::do_get): Adjust implicit typename.
649
650 2001-12-27 Phil Edwards <pme@gcc.gnu.org>
651
652 PR libstdc++/3829
653 * src/misc-inst.cc: Many additional I/O-related instantiations.
654 * testsuite/27_io/instantiations.cc: New file.
655
656 2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
657
658 * testsuite/24_iterators/insert_iterator.cc (test02): Add.
659 * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
660 * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
661 * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
662
663 * include/bits/stl_iterator.h (reverse_iterator): Uglify member
664 current to _M_current.
665 (back_insert_iterator): Uglify member container to _M_container.
666 (front_insert_iterator): Same.
667 (insert_iterator): Same.
668
669 2001-12-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
670
671 * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
672 macros for signed types; default value is true.
673 (numeric_limits<>::is_modulo): Get value from corresponding
674 __glibcpp_xxx_is_modulo macro.
675
676 2001-12-23 Jeffrey A Law <law@redhat.com>
677
678 * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
679 Twiddle return types for strtoll and strtoull to avoid using
680 intmax_t and uintmax-t.
681
682 2001-12-22 Richard Henderson <rth@redhat.com>
683
684 * configure.target (CPULIMITSH): Fix typo in alpha case.
685
686 2001-12-22 Jeffrey A Law <law@redhat.com>
687
688 * config/os/hpux/bits/os_defines.h: Update to avoid #defines
689 for strtoll and strtoull.
690
691 2001-12-21 Jeffrey A Law <law@redhat.com>
692
693 * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
694 Define strtoll and strtoull. Provide prototypes for
695 __strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
696 unconditionally.
697
698 * src/locale-inst.cc: Include <bits/std_cstdlib.h>
699
700 * configure.target: Fix typo in hpux case.
701
702 2001-12-21 Paolo Carlini <pcarlini@unitus.it>
703
704 * include/ext/stl_rope.h (_Rope_iterator):
705 Add local typedef to fix implicit typename problems.
706
707 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
708
709 * docs/doxygen/Intro.3: New 'Allocators' module.
710 * docs/doxygen/TODO: Update.
711 * docs/doxygen/doxygroups.cc: Update.
712 * docs/doxygen/run_doxygen: Update.
713
714 * include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
715 * include/bits/std_memory.h: Doxygenate.
716 * include/bits/stl_iterator_base_types.h: Likewise.
717 * include/bits/stl_raw_storage_iter.h: Likewise.
718 * include/bits/stl_tempbuf.h: Likewise.
719 (get_temporary_buffer): Remove unused nonstandard overload.
720 * include/bits/stl_uninitialized.h: Likewise.
721
722 * include/bits/stl_iterator_base_types.h (input_iterator,
723 output_iterator, forward_iterator, bidirectional_iterator,
724 random_access_iterator): Move old names...
725 * include/backward/iterator.h: ...to here.
726 * include/bits/stl_bvector.h: Update.
727 * include/ext/stl_rope.h: Update.
728
729 2001-12-19 Phil Edwards <pme@gcc.gnu.org>
730
731 * docs/html/configopts.html: Describe recent options.
732 * docs/html/documentation.html: Point to new doxygen tarballs.
733 * docs/html/install.html: Brief updates.
734 * docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
735 * docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
736 * docs/html/faq/index.html: Update for 3.0.95.
737 * docs/html/faq/index.txt: Regenerate.
738
739 2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
740
741 libstdc++-v3/5148
742 * testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
743 executable filenames
744
745 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
746
747 * docs/html/17_intro/TODO: Update.
748 * docs/html/17_intro/RELEASE-NOTES: Edits, update.
749 * README: Edit for clarity, update to reflect current directory
750 structure.
751
752 2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
753
754 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
755 enabling gnu model.
756 * aclocal.m4: Rebuild.
757 * configure: Rebuild.
758
759 2001-12-18 Paolo Carlini <pcarlini@unitus.it>
760 Nathan Myers <ncm@cantrip.org>
761
762 * include/bits/basic_string.h (assign(__str, __pos, __n)):
763 Call assign(__s, __n).
764 (assign(__s, __n)): Terminate the string with _S_terminal.
765
766 2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
767
768 * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
769 Set to true, like float and double.
770
771 2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
772
773 libstdc++/5136
774 * testsuite/lib/prune.exp: New file
775 * testsuite/lib/libstdc++-v3-dg.exp: Use it
776
777 2001-12-17 Phil Edwards <pme@gcc.gnu.org>
778
779 * include/bits/basic_file.h (__basic_file::fd): New function.
780 * config/io/basic_file_stdio.h (__basic_file::fd): Define.
781 * include/bits/std_fstream.h (basic_filebuf::fd): New function.
782 * include/bits/fstream.tcc (basic_filebuf::fd): Define.
783 * testsuite/27_io/filebuf_members.cc (test_02): New test.
784
785 2001-12-16 Nathan Sidwell <nathan@codesourcery.com>
786
787 * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
788 * po/Makefile.in: Regenerated.
789
790 2001-12-16 Paolo Carlini <pcarlini@unitus.it>
791
792 * testsuite/21_strings/assign.cc (test01): Add tests.
793
794 2001-12-15 Paolo Carlini <pcarlini@unitus.it>
795 Nathan Myers <ncm@cantrip.org>
796
797 * include/bits/basic_string.h
798 (assign(__str, __pos, __n), assign(__s, __n)): Optimize
799 by avoiding unnecessary temporaries.
800 (assign(__s)): Call assign(__s, __n).
801 * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
802 * include/bits/std_string.h: include stl_function.h.
803 * testsuite/21_strings/assign.cc (test02, test03): New tests.
804
805 2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
806
807 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
808 on linux by default.
809 * aclocal.m4: Regenerate.
810 * configure: Regenerate.
811
812 2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
813
814 Clean up initialization and simplfy caching of underlying "C"
815 default locale objects.
816 * src/localename.cc (locale::_Impl::_Impl(string, size_t):
817 Unconditionally create __clocale object for all named locales,
818 including "C" and "POSIX".
819 * config/locale/c_locale_generic.cc
820 (locale::facet::_S_create_c_locale): Always set __cloc to zero.
821 * config/locale/c_locale_gnu.cc: Always delete.
822 * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
823 * src/locale.cc (locale::classic()): Initialize
824 locale::facet::_S_c_locale.
825 (locale::facet::_S_c_locale): Define.
826
827 * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
828 specialization.
829 * src/locale.cc: Add definition here.
830 * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
831 * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
832 * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
833 Adjust ctors, dtors.
834 (ctype<char>::_M_toupper): Remove const&.
835 (ctype<char>::_M_tolower): Remove const&.
836 (ctype<char>::_M_ctable): Remove const&.
837
838 * include/bits/locale_facets.h (collate): Clean up initialization
839 of _M_c_locale_collate in ctors and dtors.
840 * config/locale/collate_members_gnu.cc: Always use extended
841 functions.
842
843 * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
844 (messages_byname): Same.
845 * config/locale/messages_members_generic.h (messages::~messages):
846 Remove.
847 * config/locale/messages_members_gnu.h: Same.
848
849 * include/bits/localefwd.h: Clean. Move dtor definitions to
850 * src/locale.cc: Here.
851 * testsuite/22_locale/facet.cc: Fix spelling.
852
853 Named locale support for ctype<wchar_t>.
854 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
855 ctype_members_* bits.
856 * aclocal.m4: Regenerate.
857 * configure: Regenerate.
858 * src/Makefile.am (sources): Add ctype.cc.
859 * src/Makefile.in: Regenerate.
860 * config/locale/ctype_members_generic.cc: New file.
861 * config/locale/ctype_members_gnu.cc: New file.
862 * src/locale.cc: Remove ctype<wchart_t> definitions.
863
864 2001-12-13 Roger Sayle <roger@eyesopen.com>
865
866 * acconfig.h: Test for __builtin_sqrt instead of
867 __builtin_fsqrt.
868 * acinclude.m4: Same.
869 * include/c_shadow/bits/std_cmath.h: Same.
870 * aclocal.m4: Regenerated.
871 * config.h.in: Regenerated.
872 * configure: Regenerated.
873
874 2001-12-13 Phil Edwards <pme@gcc.gnu.org>
875
876 * docs/html/ext/howto.html: Fix typos.
877
878 2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
879
880 libstdc++/3679
881 * src/locale.cc (locale::locale(const char*)): Deal with locales
882 named "".
883 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
884
885 2001-12-12 Paolo Carlini <pcarlini@unitus.it>
886
887 * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
888 _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
889 _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
890 : Adjust implicit typename.
891 * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
892 Adjust implicit typename.
893 * testsuite/27_io/streambuf.cc: Adjust implicit typename.
894
895 2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
896
897 Named locale support for ctype<char>.
898 * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
899 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
900 definitions for alternate constructor.
901 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
902 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
903 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
904 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
905 * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
906 * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
907 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
908 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
909 * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
910 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
911 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
912 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
913 * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
914 definitions for all virtual functions. These are now explicitly
915 undefined for non-required factets, ie any non-char, non-wchar_t
916 instantiations.
917 * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
918 locales use alternate constructor for ctype facet.
919 * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
920 mask*, bool, size_t): Add.
921 (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
922 * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
923 definition.
924
925 * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
926 XFAIL for non-gnu locale models.
927
928 2001-12-12 Philip Martin <philip@codematters.co.uk>
929 Ross Smith <r-smith@ihug.co.nz>
930 Paolo Carlini <pcarlini@unitus.it>
931
932 libstdc++/5045
933 * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
934 Fix digits10 values for integral types.
935 * include/bits/locale_facets.tcc (num_get::do_get for integral types):
936 Tweak _M_extract_int call.
937 * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
938 Tweak overflowing number of digits.
939 * testsuite/18_support/numeric_limits.cc (test03): New testcase.
940
941 2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
942
943 * config/os/generic/bits/ctype_inline.h: Remove spaces.
944 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
945 * include/bits/locale_facets.h (__num_base): Move double data
946 members to first in class.
947 * include/bits/locale_facets.tcc: Re-arrange, tweak.
948 * src/locale.cc: Clean.
949 *include/bits/stl_vector.h: Space typedefs.
950
951 2001-12-11 Phil Edwards <pme@gcc.gnu.org>
952
953 * testsuite/ext/allocators.cc: New file.
954
955 2001-12-11 Jason Merrill <jason@redhat.com>
956
957 * include/bits/locale_facets.tcc (_M_extract_int): Avoid
958 uninitialized warning.
959
960 2001-12-11 Loren Rittle <ljrittle@acm.org>
961
962 * config/cpu/sparc/sparc32/bits/atomicity.h
963 (__Atomicity_lock<0>::_S_atomicity_lock): Add.
964
965 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
966
967 * include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
968 * include/bits/basic_string.h: Fix typos.
969
970 2001-12-10 Paolo Carlini <pcarlini@unitus.it>
971 Nathan Myers <ncm@cantrip.org>
972
973 * include/bits/basic_string.tcc (_M_replace_safe): New function.
974 (_M_replace(input_iterator_tag), append members): Use it.
975 (_M_replace(forward_iterator_tag)): Remove.
976 * include/bits/basic_string.h: Adjust declarations.
977 * src/string-inst.cc: Adjust declarations.
978
979 2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
980 Philip Martin <pmartin@uklinux.net>
981
982 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
983 (__num_base::_S_scale_oct): Add.
984 * include/bits/locale_facets.tcc (_M_extract_int): Use them.
985 * src/locale.cc: Add definitions.
986 * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
987
988 * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
989
990 2001-12-07 Nathan Myers <ncm@cantrip.org>
991 Loren Rittle <ljrittle@acm.org>
992
993 libstdc++/5037
994 * config/cpu/sparc/sparc32/bits/atomicity.h
995 (struct __Atomicity_lock<__inst>): Add.
996 (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
997 (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
998 instead of lock local to static function.
999 (__atomic_add): Likewise.
1000
1001 2001-12-07 Phil Edwards <pme@gcc.gnu.org>
1002
1003 * src/globals.cc: Remove __GTHREADS guard.
1004
1005 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1006
1007 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1008 Extend comment, reduce __cs_size for non-fixed outputs.
1009
1010 2001-12-07 Paolo Carlini <pcarlini@unitus.it>
1011
1012 * include/bits/basic_string.tcc (_M_mutate): Fix typo
1013 in the previous check in.
1014
1015 2001-12-06 Paolo Carlini <pcarlini@unitus.it>
1016 Loren J. Rittle <ljrittle@acm.org>
1017
1018 * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1019 exponential growth policy to meet linear amortized time
1020 requirements of the standard.
1021 (_S_create): Adjust comment.
1022
1023 2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
1024
1025 libstdc++/3720
1026 * include/bits/locale_facets.tcc (num_put): Clean.
1027 (num_get::_M_extract_float): Change argument to string.
1028 (num_get::do_get(float)): Fixup.
1029 (num_get::do_get(double)): Same.
1030 (num_get::do_get(long double)): Same.
1031 (num_get::_M_extract_int): Add maximum length parameter, __max.
1032 (num_get::_M_extract_float): Correct zeros, use string.
1033 * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1034 declaration here.
1035 * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1036 * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1037
1038 2001-12-06 Philip Martin <pmartin@uklinux.net>
1039
1040 * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1041 tests for excess input digits.
1042
1043 2001-12-06 Phil Edwards <pme@gcc.gnu.org>
1044
1045 * include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
1046 * include/bits/stl_algo.h: Likewise.
1047 * include/bits/stl_algobase.h: Likewise.
1048 * include/bits/stl_bvector.h: Likewise.
1049 * include/bits/stl_deque.h: Likewise.
1050 * include/bits/stl_function.h: Likewise.
1051 * include/bits/stl_iterator.h: Likewise.
1052 * include/bits/stl_iterator_base_funcs.h: Likewise.
1053 * include/bits/stl_iterator_base_types.h: Likewise.
1054 * include/bits/stl_list.h: Likewise.
1055 * include/bits/stl_multimap.h: Likewise.
1056 * include/bits/stl_multiset.h: Likewise.
1057 * include/bits/stl_pair.h: Likewise.
1058 * include/bits/stl_queue.h: Likewise.
1059 * include/bits/stl_set.h: Likewise.
1060 * include/bits/stl_stack.h: Likewise.
1061 * include/bits/stl_tempbuf.h: Likewise.
1062 * include/bits/stl_tree.h: Likewise.
1063 * include/bits/stl_vector.h: Likewise.
1064
1065 * include/bits/stl_alloc.h: Use our own multiple inclusion guards.
1066 Doxygenate more comments. Correct historical artifacts in comments.
1067 (alloc, single_alloc): Uglify non-standard names.
1068 (__default_alloc_template::_NFREELISTS): Calculate from other
1069 parameters.
1070 (__default_alloc_template::_S_free_list): Remove SunPro workaround.
1071 (__default_alloc_template::_Lock): Mark as "unused".
1072 * include/backward/alloc.h: Update.
1073 * include/bits/stl_bvector.h: Likewise.
1074 * include/ext/ropeimpl.h: Likewise.
1075 * include/ext/stl_hashtable.h: Likewise.
1076
1077 2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
1078
1079 DR/282
1080 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1081 grouping to floating point types.
1082 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1083
1084 2001-12-04 Paolo Carlini <pcarlini@unitus.it>
1085
1086 libstdc++/4402
1087 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1088 from the PR.
1089 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1090 Deal properly with long ios_base::fixed floats.
1091 (num_put::_M_widen_float): use
1092 __len in __builtin_alloca call.
1093
1094 2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
1095
1096 * src/Makefile.am (sources): Add ext-inst.cc.
1097 * src/Makefile.in: Regenerate.
1098 * src/ext-inst.cc: New file.
1099 * include/bits/stl_threads.h: Format.
1100 * src/globals.cc: Add instantiation for _S_swap_lock.
1101
1102 * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1103 instantiation.
1104
1105 2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1106
1107 * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1108 and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1109 * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1110 for explicit instantiation of class std::basic_string<char,
1111 gnu_char_traits, std::allocator<char> >.
1112
1113 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1114
1115 * testsuite/22_locale/collate.cc: Compile-only.
1116 * testsuite/22_locale/time_get.cc: Same.
1117 * testsuite/22_locale/time_put.cc: Same.
1118 * testsuite/22_locale/numpunct.cc: Same.
1119 * testsuite/22_locale/num_put.cc: Same.
1120 * testsuite/22_locale/num_get.cc: Same.
1121 * testsuite/22_locale/moneypunct.cc: Same.
1122 * testsuite/22_locale/money_get.cc: Same.
1123 * testsuite/22_locale/messages.cc: Same.
1124 * testsuite/22_locale/ctype.cc: Same.
1125
1126 2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
1127
1128 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1129 member instantiations.
1130
1131 2001-12-03 Steve Ellcey <sje@cup.hp.com>
1132
1133 * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1134 combine common linux/hpux/generic cross compile support to reduce
1135 redundent lines.
1136 * libstdc++-v3/configure: Regenerate.
1137
1138 2001-12-03 Loren J. Rittle <ljrittle@acm.org>
1139
1140 * docs/html/ext/howto.html: Update commentary.
1141 * include/bits/c++config: Update threading configuration comment.
1142 (__STL_GTHREADS): Remove macro definition.
1143 (__STL_THREADS): Likewise.
1144 * include/bits/stl_threads.h: Leave only the configuration
1145 path which had been guarded by __STL_GTHREADS. Remove all
1146 guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1147 __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1148 * include/bits/stl_alloc.h: Leave only the configuration path
1149 which had been guarded by __STL_THREADS. Remove configuration
1150 path and guards for __STL_SGI_THREADS.
1151 (__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
1152 (__NODE_ALLOCATOR_LOCK): Likewise.
1153 (__NODE_ALLOCATOR_UNLOCK): Likewise.
1154 (_NOTHREADS): Remove guards related to macro.
1155 * include/ext/stl_rope.h: Remove configuration path and guards
1156 for __STL_SGI_THREADS.
1157 * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1158
1159 2001-12-02 Phil Edwards <pme@gcc.gnu.org>
1160
1161 * docs/html/ext/howto.html: Update list of implemented DRs.
1162 * docs/html/ext/lwg-active.html: Import R20 from upstream.
1163 * docs/html/ext/lwg-defects.html: Import R20 from upstream.
1164
1165 2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
1166
1167 libstdc++/3150
1168 DR/266
1169 * libsupc++/exception (bad_exception::~bad_exception()): Remove
1170 declaration.
1171 * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1172 * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1173 (bad_typeid::~bad_typeid()): Remove.
1174 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1175 (bad_typeid::~bad_typeid()): Same.
1176 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1177 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1178
1179 * include/bits/std_iomanip.h: Tweak.
1180
1181 2001-11-29 Paolo Carlini <pcarlini@unitus.it>
1182
1183 libstdc++/3655
1184 * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1185 correctly pad internal-adjusted const char*-type objects.
1186 * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1187 * include/bits/ostream.tcc (operator<<(_CharT , char, const
1188 _CharT*, const char*, const basic_string&): Update calls.
1189 * src/locale-inst.tcc: Update declarations.
1190 * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1191
1192 2001-11-29 Phil Edwards <pme@gcc.gnu.org>
1193
1194 * docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
1195
1196 2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
1197
1198 * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1199 Fix __traits_type typo.
1200
1201 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1202
1203 * include/bits/locale_facets.tcc (__pad): Correctly pad
1204 internal-adjusted hex numbers.
1205 * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1206
1207 2001-11-28 Paolo Carlini <pcarlini@unitus.it>
1208 Loren J. Rittle <ljrittle@acm.org>
1209
1210 * include/bits/basic_string.h
1211 (basic_string::_Rep::__default_excess, _S_excess_slop):
1212 Unused, remove.
1213 * include/bits/basic_string.tcc: Remove dead code.
1214 * include/bits/c++config: Remove comment.
1215
1216 2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
1217 Jakub Jelinek <jakub@redhat.com>
1218
1219 * config/locale/moneypunct_members_gnu.cc
1220 (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1221 for ia64, others.
1222 * config/locale/numpunct_members_gnu.cc
1223 (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1224
1225 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1226
1227 * include/bits/locale_facets.tcc: Formatting tweaks.
1228
1229 * testsuite/23_containers/map_operators.cc: Don't xfail.
1230 * testsuite/23_containers/set_operators.cc: Same.
1231 * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1232 * testsuite/backward/header_deque_h.cc: Same.
1233
1234 2001-11-27 Loren J. Rittle <ljrittle@acm.org>
1235 Paolo Carlini <pcarlini@unitus.it>
1236
1237 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1238 Enforce allocation size blocking policy to reduce
1239 fragmentation and enhance performance with common malloc
1240 implementations.
1241
1242 2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
1243
1244 Numeric facets cleanup.
1245 * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1246 + and - signs.
1247 (__num_base::_M_zero): Add
1248 (__num_base::_M_e): Add.
1249 (__num_base::_M_E): Add.
1250 * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1251 (num_get::_M_extract_float): New.
1252 (num_get::_M_extract_int): New.
1253 * src/locale.cc (num_get::_M_extract): Remove.
1254
1255 * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1256 Simplify, use _M_insert.
1257 (num_put::do_put(bool)): Simplify, remove __pad.
1258 (__pad): Remove.
1259 (__pad_output): Change to __pad.
1260 * include/bits/ostream.tcc: And here.
1261 * src/locale-inst: Remove instantiations.
1262
1263 * include/bits/locale_facets.h: Move helper functions in to class
1264 num_put.
1265 (num_put::_M_insert_float): Same, for __output_integer.
1266 (num_put::_M_insert_int): Same, for __output_float.
1267 (num_put::_M_insert): New.
1268 (__num_base): Add.
1269 (__num_base::_S_format_float): Move
1270 __build_float_format into class __num_base.
1271 (__num_base::_S_format_int): Move __build_int_format into class
1272 __num_base.
1273 * include/bits/locale_facets.tcc (__group_digits): Change to
1274 (__add_grouping): This.
1275 * src/locale-inst.cc: And here. Tweak instantiations.
1276 * src/misc-inst.cc: Remove instantiations.
1277
1278 * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1279 for new calling conventions, move to...
1280 * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1281 signature to make it useful for both ostream and num_put.
1282 (__pad_numeric): Remove.
1283 * src/misc-inst.cc: Remove instantiations.
1284 * src/locale-inst.cc: Same.
1285
1286 * include/bits/locale_facets.h (_Numeric_get): Remove.
1287 (_Numeric_put): Remove.
1288 (num_get::get(short)): Remove.
1289 (num_get::get(int)): Remove.
1290 (num_get::do_get(short)): Remove.
1291 (num_get::do_get(int)): Remove.
1292 * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1293 per DR 118.
1294 (istream::operator>>(int)): Same.
1295
1296 * include/bits/locale_facets.h (_Format_cache): Remove.
1297 * include/bits/locale_facets.tcc: Same.
1298 * src/locale.cc: Same.
1299 * src/locale-inst.cc: Same.
1300 * include/bits/ostream.tcc: Same.
1301 * src/ios.cc (ios_base::imbue): Remove here as well.
1302
1303 * testsuite/22_locale/num_get.cc: New file.
1304 * testsuite/22_locale/num_get_members_char.cc: New file.
1305 * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1306 * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1307 * testsuite/22_locale/num_put.cc: New file.
1308 * testsuite/22_locale/num_put_members_char.cc: New file.
1309 * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1310 * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1311 * testsuite/27_io/istream_extractor_arith.cc: Fix.
1312
1313 2001-11-27 Phil Edwards <pme@gcc.gnu.org>
1314
1315 * docs/html/explanations.html: New section, empty for now.
1316 * docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
1317 * docs/html/23_containers/howto.html: ...to here. Break up and
1318 rewrap threading discussion to emphasize warning. Move malloc text...
1319 * docs/html/ext/howto.html: ...to here. New section. Describe
1320 allocators and __USE_MALLOC effects.
1321 * docs/html/ext/sgiexts.html: Mention their code.
1322
1323 2001-11-24 Joseph S. Myers <jsm28@cam.ac.uk>
1324
1325 * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1326 docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1327 changes.
1328
1329 2001-11-23 Phil Edwards <pme@gcc.gnu.org>
1330
1331 * Makefile.am (doxygen-maint): The script isn't executable in CVS.
1332 * Makefile.in: Regenerated.
1333 * docs/doxygen/TODO: New file listing doxygen work to be done.
1334 * docs/doxygen/run_doxygen: Fix up man pages.
1335 * docs/doxygen/user.cfg.in: Insert maint-only toggles.
1336 * docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
1337 * include/bits/stl_construct.h: Use new hooks for internal functions.
1338
1339 * docs/html/17_intro/TODO: Small updates.
1340 * docs/html/faq/index.html: Likewise.
1341 * docs/html/faq/index.txt: Regenerated.
1342
1343 * include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
1344 SGI-isms and wrappers.
1345 (simple_alloc, debug_alloc): Uglify class names.
1346 (__default_alloc_template): Uglify "threads" template parameter and
1347 update corresponding macros.
1348 * include/backward/alloc.h: Bring up to date.
1349
1350 2001-11-23 Jason Merrill <jason@redhat.com>
1351
1352 * src/vterminate.cc (__verbose_terminate_handler): Add leading
1353 underscores.
1354
1355 2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
1356
1357 * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1358 docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1359 docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1360 docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1361 docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1362 docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1363 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1364 docs/html/21_strings/howto.html,
1365 docs/html/23_containers/howto.html,
1366 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1367 docs/html/27_io/binary_iostreams_kuehl.txt,
1368 docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1369 docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1370 include/bits/basic_file.h, include/bits/locale_facets.h,
1371 include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1372 include/ext/ropeimpl.h, include/ext/stl_rope.h,
1373 libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1374 libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1375 configure.target, ChangeLog-2000: Fix spelling errors.
1376
1377 * config/locale/moneypunct_members_gnu.cc,
1378 include/bits/locale_facets.h: Fix spelling errors.
1379
1380 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1381
1382 * testsuite/23_containers/list_capacity.cc: New file.
1383 * testsuite/23_containers/list_ctor.cc: New file.
1384 * testsuite/23_containers/list_modifiers.cc: New file.
1385 * testsuite/23_containers/list_operators.cc: New file.
1386
1387 2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
1388
1389 * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1390 (size): Replaced nonstandard distance() call with the standard one.
1391 (transfer): Uglified to _M_transfer.
1392
1393 2001-11-21 Paolo Carlini <pcarlini@unitus.it>
1394
1395 PR libstdc++/4548
1396 * include/bits/basic_string.tcc (basic_string::reserve): Never shrink
1397 below the current size.
1398 * testsuite/21_strings/capacity.cc (test02): Add test.
1399
1400 2001-11-19 Phil Edwards <pme@gcc.gnu.org>
1401
1402 * docs/doxygen/Intro.3: More notes.
1403 * docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
1404 * include/bits/stl_algobase.h: Add doxygen hooks for functions.
1405 * include/ext/hash_map: Add @file hook.
1406 * include/ext/hash_set: Likewise.
1407 * include/ext/rope: Likewise.
1408 * include/ext/ropeimpl.h: Likewise.
1409 * include/ext/slist: Likewise.
1410 * include/ext/stl_hash_fun.h: Likewise.
1411 * include/ext/stl_hashtable.h: Likewise.
1412 * include/ext/stl_rope.h: Likewise.
1413
1414 * docs/html/17_intro/license.html: Remove "experimental" sentence.
1415 * docs/html/19_diagnostics/howto.html: Document new verbose
1416 terminate handler.
1417 * testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
1418 to more visible (closer to description) position.
1419
1420 * libsupc++/eh_type.cc: Formatting tweak.
1421 * libsupc++/exception: Likewise.
1422 * src/vterminate.cc: Likewise.
1423
1424 * docs/html/17_intro/porting.html: Regenerate.
1425 * docs/html/faq/index.txt: Regenerate.
1426
1427 2001-11-18 Jason Merrill <jason@redhat.com>
1428
1429 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1430 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1431 * libsupc++/unwind-cxx.h: Adjust.
1432 * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1433
1434 * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1435 * libsupc++/cxxabi.h: Declare it.
1436 * libsupc++/Makefile.am (sources): Add it.
1437 * src/vterminate.cc (verbose_terminate_handler): New file.
1438 * libsupc++/exception: Declare it.
1439 * src/Makefile.am (sources): Add it.
1440
1441 * src/Makefile.am (VPATH): Check the src directory before the top one.
1442
1443 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
1444
1445 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
1446
1447 2001-11-16 Loren J. Rittle <ljrittle@acm.org>
1448
1449 * docs/html/17_intro/howto.html (Thread-safety): Rename
1450 section to ``The Standard C++ library and multithreading'' and
1451 update information based on recent mailing list traffic. Move
1452 all discussion of __USE_MALLOC to...
1453 * docs/html/23_containers/howto.html (Containers and multithreading):
1454 ...here and rework it based on recent mailing list traffic.
1455
1456 2001-11-15 Loren J. Rittle <ljrittle@acm.org>
1457
1458 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1459 wording.
1460
1461 2001-11-15 <bjornw@planetarion.com>
1462 Loren J. Rittle <ljrittle@acm.org>
1463
1464 libstc++/4219
1465 * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1466 (single_client_alloc): Likewise.
1467
1468 2001-11-08 Danny Smith <dannysmith@users.sourceforge.net>
1469
1470 * configure.target: Add os_include_dir for mingw32* target.
1471 * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1472 from _GLIBCPP_AVOID_FSEEK.
1473 * config/os/mingw32/bits/ctype_base.h: New file.
1474 * config/os/mingw32/bits/ctype_inline.h: New file.
1475 * config/os/mingw32/bits/ctype_noninline.h: New file.
1476 * config/os/mingw32/bits/os_defines.h: New file.
1477
1478 2001-11-07 Nathan Myers <ncm@cantrip.org>
1479
1480 * docs/html/faq/index.html (5.8): New entry on ABIs.
1481 * docs/html/faq/index.txt: Regenerate.
1482
1483 2001-11-07 Phil Edwards <pme@gcc.gnu.org>
1484
1485 * docs/html/faq/index.html: Explain libsupc++, mention 'long long'
1486 bugfixes on Solaris.
1487 * docs/html/faq/index.txt: Regenerate.
1488
1489 2001-11-06 Phil Edwards <pme@gcc.gnu.org>
1490
1491 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
1492 LANG_CPLUSPLUS mode.
1493 * aclocal.m4: Regenerate.
1494 * configure: Regenerate.
1495
1496 2001-11-05 Phil Edwards <pme@gcc.gnu.org>
1497
1498 * porting.texi: Move...
1499 * docs/html/17_intro/porting.texi: ...to here.
1500 * docs/html/Makefile: Add rule to rebuild...
1501 * docs/html/17_intro/porting.html: ...this. New file.
1502
1503 2001-11-05 Felix Natter <fnatter@gmx.net>
1504
1505 * docs/html/17_intro/porting-howto.xml: check in v0.9.4
1506 * docs/html/17_intro/porting-howto.html: regenerate
1507
1508 2001-11-02 Loren J. Rittle <ljrittle@acm.org>
1509
1510 * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1511 when platform supports __GTHREAD_MUTEX_INIT.
1512
1513 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1514
1515 * acconfig.h: Update comments.
1516 * acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
1517 (GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
1518 * aclocal.m4: Regenerate.
1519 * config.h.in: Regenerate.
1520 * configure: Regenerate.
1521
1522 * include/bits/boost_concept_check.h: Unconditionally compile uses
1523 of 'long long' which require only compiler support, not C lib support.
1524 * include/bits/cpp_type_traits.h: Likewise.
1525 * include/bits/std_limits.h: Likewise.
1526 * include/bits/type_traits.h: Likewise.
1527 * src/concept-inst.cc: Likewise.
1528 * src/limits.cc: Likewise.
1529 * include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
1530 instead of _GLIBCPP_USE_LONG_LONG.
1531 * include/c_shadow/bits/std_cstdlib.h: Likewise.
1532
1533 2001-11-02 Phil Edwards <pme@gcc.gnu.org>
1534
1535 * config/io/c_io_stdio.h: Correct grammar in comments.
1536 * docs/doxygen/Intro.3: Expand "top-level" man page.
1537 * docs/doxygen/doxygroups.cc: New module definitions (comments).
1538 * docs/doxygen/mainpage.doxy: Tweaks.
1539 * docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
1540
1541 Add @file hooks so that headers are considered to be documented.
1542 * include/bits/basic_ios.h, include/bits/basic_file.h,
1543 include/bits/basic_string.h, include/bits/boost_concept_check.h,
1544 include/bits/char_traits.h, include/bits/codecvt.h,
1545 include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1546 include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1547 include/bits/indirect_array.h, include/bits/ios_base.h,
1548 include/bits/locale_facets.h, include/bits/localefwd.h,
1549 include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1550 include/bits/slice.h, include/bits/slice_array.h,
1551 include/bits/std_algorithm.h, include/bits/std_bitset.h,
1552 include/bits/std_complex.h, include/bits/std_deque.h,
1553 include/bits/std_fstream.h, include/bits/std_functional.h,
1554 include/bits/std_iomanip.h, include/bits/std_ios.h,
1555 include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1556 include/bits/std_istream.h, include/bits/std_iterator.h,
1557 include/bits/std_limits.h, include/bits/std_list.h,
1558 include/bits/std_locale.h, include/bits/std_map.h,
1559 include/bits/std_memory.h, include/bits/std_numeric.h,
1560 include/bits/std_ostream.h, include/bits/std_queue.h,
1561 include/bits/std_set.h, include/bits/std_sstream.h,
1562 include/bits/std_stack.h, include/bits/std_streambuf.h,
1563 include/bits/std_string.h, include/bits/std_utility.h,
1564 include/bits/std_valarray.h, include/bits/std_vector.h,
1565 include/bits/stl_algo.h, include/bits/stl_alloc.h,
1566 include/bits/stl_bvector.h, include/bits/stl_construct.h,
1567 include/bits/stl_deque.h, include/bits/stl_heap.h,
1568 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1569 include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1570 include/bits/stl_map.h, include/bits/stl_multimap.h,
1571 include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1572 include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1573 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1574 include/bits/stl_relops.h, include/bits/stl_set.h,
1575 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1576 include/bits/stl_threads.h, include/bits/stl_tree.h,
1577 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1578 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1579 include/bits/stringfwd.h, include/bits/type_traits.h,
1580 include/bits/valarray_array.h, include/bits/valarray_meta.h:
1581 Add hooks, tweak comments only.
1582
1583 * include/bits/stl_algobase.h (swap, min, iter_swap): Also
1584 document these functions.
1585 * include/bits/stl_function.h: Tweak link comments.
1586
1587 2001-11-01 Paolo Carlini <pcarlini@unitus.it>
1588 Benjamin Kosnik <bkoz@redhat.com>
1589
1590 * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1591 output.
1592 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1593
1594 2001-11-01 Egor Duda <deo@logos-m.ru>
1595
1596 * config/os/newlib/bits/ctype_noninline.h
1597 (ctype<char>::do_toupper(char __c)): Check for proper character class.
1598 (ctype<char>::do_tolower(char __c)): Ditto.
1599
1600 2001-11-01 Phil Edwards <pme@gcc.gnu.org>
1601
1602 * acinclude.m4: Fix spacing.
1603 (GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
1604 * configure.in: Call here.
1605 * acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
1606 * include/bits/boost_concept_check.h: Fix headers.
1607 (__function_requires): Make inline.
1608 * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
1609 * aclocal.m4: Regenerate.
1610 * config.h.in: Regenerate.
1611 * configure: Regenerate.
1612
1613 Move trailing ';' inside macro, PR libstdc++/3666.
1614 * include/bits/concept_check.h: Add semicolon.
1615 * include/bits/stl_algo.h: Remove semicolon.
1616 * include/bits/stl_algobase.h: Likewise.
1617 * include/bits/stl_deque.h: Likewise.
1618 * include/bits/stl_heap.h: Likewise.
1619 * include/bits/stl_iterator_base_funcs.h: Likewise.
1620 * include/bits/stl_list.h: Likewise.
1621 * include/bits/stl_map.h: Likewise.
1622 * include/bits/stl_multimap.h: Likewise.
1623 * include/bits/stl_multiset.h: Likewise.
1624 * include/bits/stl_numeric.h: Likewise.
1625 * include/bits/stl_queue.h: Likewise.
1626 * include/bits/stl_set.h: Likewise.
1627 * include/bits/stl_stack.h: Likewise.
1628 * include/bits/stl_vector.h: Likewise.
1629 * include/ext/hash_map: Likewise.
1630 * include/ext/hash_set: Likewise.
1631 * include/ext/slist: Likewise.
1632
1633 * src/concept-inst.cc: New file with explicit instantiations.
1634 * src/Makefile.am (sources): Add here, with special build rules.
1635 * src/Makefile.in: Regenerate.
1636
1637 2001-11-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1638
1639 * include/bits/std_complex.h (_Norm_helper): New class template.
1640 (norm): Tweak.
1641 (abs): Tweak. Fix Thinko.
1642
1643 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
1644
1645 libstdc++/4749
1646 * include/bits/codecvt.h: Add virtual member function declarations.
1647 * src/codecvt.cc: Tweaks.
1648 * testsuite/22_locale/codecvt.cc: Test compilation only,
1649 non-required facets not required to have linkage.
1650
1651 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
1652
1653 libstdc++/4622
1654 * include/bits/std_complex.h (complex::operator/=): Correct sign.
1655
1656 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
1657 Benjamin Kosnik <bkoz@redhat.com>
1658
1659 libstdc++/4354
1660 * include/bits/basic_string.h: Tweaks.
1661 * include/bits/basic_string.tcc (string::_M_replace(iterator,
1662 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1663 * src/string-inst.cc: Tweaks, add instantiation.
1664 * testsuite/21_strings/replace.cc (test02): Add test.
1665 * testsuite/21_strings/assign.cc (test01): New file.
1666
1667 2001-10-30 Jakub Jelinek <jakub@redhat.com>
1668
1669 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1670 __throw_exception_again.
1671 (_M_new_elements_at_back): Likewise.
1672
1673 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
1674
1675 libstdc++/3647
1676 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1677 * testsuite/27_io/filebuf.cc (test07): New test.
1678 (test03): Modify showmanyc test.
1679
1680 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
1681
1682 libstdc++/4503
1683 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1684 (__enc_traits::~__enc_traits): Fix.
1685 (__enc_traits::_M_init): Add error checking.
1686
1687 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1688
1689 libstdc++/4542
1690 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1691
1692 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1693
1694 libstdc++/4545
1695 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1696 exceptions.
1697 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1698 consistent, where possible.
1699 * include/bits/streambuf.tcc: Tweak.
1700
1701 2001-10-25 Brendan Kehoe <brendan@zen.org>
1702
1703 libstdc++/4536
1704 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1705 * bits/istream.tcc (seekg): Likewise.
1706
1707 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1708 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1709 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1710
1711 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1712 __s390x__ only.
1713 * include/bits/std_limits.h: Fix wchar_t issues.
1714 * config/os/aix/bits/os_defines.h: Fix.
1715
1716 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
1717
1718 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1719
1720 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
1721
1722 * docs/html/documentation.html: Fix typo.
1723
1724 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
1725
1726 Make -fno-exceptions work.
1727 * config/locale/c_locale_gnu.cc: Use functexcept.
1728 * include/bits/c++config (__stl_assert): Remove.
1729 (__STL_USE_EXCEPTIONS): Same.
1730 (__STL_TRY): Same.
1731 (__STL_CATCH_ALL): Same.
1732 (__STL_THROW): Same.
1733 (__STL_RETHROW): Same.
1734 (__STL_NOTHROW): Same.
1735 (__STL_UNWIND): Same.
1736 * include/bits/pthread_allocimpl.h: Fix.
1737 * include/bits/std_bitset.h: Same.
1738 * include/bits/std_list.h: Same.
1739 * include/bits/std_memory.h: Same.
1740 * include/bits/std_queue.h: Same.
1741 * include/bits/stl_alloc.h: Same.
1742 * include/bits/stl_deque.h: Same.
1743 * include/bits/stl_list.h: Same.
1744 * include/bits/stl_queue.h: Same.
1745 * include/bits/stl_tempbuf.h: Same.
1746 * include/bits/stl_tree.h: Same.
1747 * include/bits/stl_uninitialized.h: Same.
1748 * include/bits/stl_vector.h: Same.
1749 * include/ext/ropeimpl.h: Same.
1750 * include/ext/slist: Same.
1751 * include/ext/stl_hashtable.h: Same.
1752 * include/ext/stl_rope.h: Same.
1753 * libsupc++/new_op.cc: Include cstdlib.
1754 * libsupc++/eh_personality.cc: Add exception_defines include. Use
1755 __throw_exception_again, tweak.
1756 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1757 * libsupc++/vec.cc: Tweak.
1758 * src/functexcept.cc: Remove unused arguments.
1759 * testsuite/23_containers/bitset_members.cc: Tweak.
1760
1761 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
1762
1763 * config/cpu/i386/bits/limits.h: Move to...
1764 * config/cpu/i386/bits/cpu_limits.h: ...here.
1765 * config/cpu/cris/bits/cpu_limits.h: Same.
1766 * config/cpu/powerpc/bits/cpu_limits.h: Same.
1767 * config/cpu/x86-64/bits/cpu_limits.h: Same.
1768 * config/cpu/alpha/bits/cpu_limits.h: New.
1769 * config/cpu/m68k/bits/cpu_limits.h: New.
1770 * config/cpu/s390/bits/cpu_limits.h: New.
1771 * config/os/aix/bits/os_defines.h: Tweaks.
1772 * config/os/bsd/freebsd/bits/os_defines.h: Same.
1773 * config/os/bsd/netbsd/bits/os_defines.h: Same.
1774 * config/os/djgpp/bits/os_defines.h: Same.
1775 * config/os/generic/bits/os_defines.h: Same.
1776 * config/os/gnu-linux/bits/os_defines.h: Same.
1777 * config/os/hpux/bits/os_defines.h: Same.
1778 * config/os/irix/irix5.2/bits/os_defines.h: Same.
1779 * config/os/irix/irix6.5/bits/os_defines.h: Same.
1780 * config/os/newlib/bits/os_defines.h: Same.
1781 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1782 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1783 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1784
1785 * include/bits/c++config: Remove include.
1786 * include/bits/limits_generic.h: Remove.
1787 * include/bits/std_limits.h: Include cpu_limits.h.
1788 * include/Makefile.am: Fixup.
1789 * src/limits.cc: Tweak.
1790 * src/limits_generic.cc: Remove.
1791 * src/gen-num-limits.cc: Remove.
1792 * mknumeric_limits: Remove.
1793
1794 2001-10-20 Brendan Kehoe <brendan@zen.org>
1795
1796 * bits/type_traits.h (_Bool): Removed this type.
1797 (__true_type, __false_type): Change to be plain structs.
1798 * src/string-inst.cc (__destroy_aux): Change third parm to be
1799 __false_type instead of _Bool<false>.
1800 * src/misc-inst.cc (__uninitialized_fill_n_aux,
1801 __uninitialized_copy_aux): Likewise.
1802
1803 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1804
1805 * mkcheck.in (static_fail): Remove older memory limit functionality.
1806 Disable E_TIME due to formatting issues.
1807
1808 * README: Update.
1809
1810 2001-10-19 Brendan Kehoe <brendan@zen.org>
1811
1812 * include/bits/std_complex.h: Default initialize second argument
1813 of polar to 0, as specified in Library DR #79
1814
1815 2001-10-19 Brendan Kehoe <brendan@zen.org>
1816
1817 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1818 _Construct instead of construct.
1819
1820 2001-10-19 Brendan Kehoe <brendan@zen.org>
1821
1822 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1823 __n being non-zero, since the standard does not mandate that.
1824 e.g., a search for "" in "" should yield position 0, not npos.
1825 (find_last_not_of): Likewise.
1826
1827 2001-10-19 Brendan Kehoe <brendan@zen.org>
1828
1829 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1830 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1831
1832 2001-10-19 Brendan Kehoe <brendan@zen.org>
1833
1834 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1835 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1836
1837 2001-10-19 Brendan Kehoe <brendan@zen.org>
1838
1839 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1840 template parameter _ValueType.
1841
1842 2001-10-19 Brendan Kehoe <brendan@zen.org>
1843
1844 * include/bits/std_limits.h: Clean up extra semicolons.
1845 * include/bits/locale_facets.h: Likewise.
1846 * include/bits/type_traits.h: Likewise.
1847
1848 2001-10-19 Brendan Kehoe <brendan@zen.org>
1849
1850 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1851 * include/bits/locale_facets.tcc (locale::combine): Likewise.
1852
1853 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
1854
1855 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1856 Declare specializations for char, wchar_t.
1857
1858 2001-10-19 Andreas Jaeger <aj@suse.de>
1859
1860 * config/cpu/x86-64/bits/limits.h: New file.
1861 * config/cpu/x86-64/bits/atomicity.h: New file.
1862 * configure.target: Add x86-64.
1863
1864 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
1865
1866 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
1867 why). Add link to recent message.
1868 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
1869 markup.
1870 * docs/html/faq/index.txt: Regenerate.
1871
1872 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
1873
1874 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1875 based on Nathan's review. Use Nathan's words.
1876
1877 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1878
1879 * docs/html/configopts.html: Quote StyleSheet attribute values.
1880 * docs/html/documentation.html: Likewise.
1881 * docs/html/explanations.html: Likewise.
1882 * docs/html/install.html: Likewise.
1883 * docs/html/17_intro/howto.html: Likewise.
1884 * docs/html/17_intro/license.html: Likewise.
1885 * docs/html/18_support/howto.html: Likewise.
1886 * docs/html/19_diagnostics/howto.html: Likewise.
1887 * docs/html/20_util/howto.html: Likewise.
1888 * docs/html/21_strings/howto.html: Likewise.
1889 * docs/html/22_locale/howto.html: Likewise.
1890 * docs/html/23_containers/howto.html: Likewise.
1891 * docs/html/24_iterators/howto.html: Likewise.
1892 * docs/html/25_algorithms/howto.html: Likewise.
1893 * docs/html/26_numerics/howto.html: Likewise.
1894 * docs/html/27_io/howto.html: Likewise.
1895 * docs/html/ext/howto.html: Likewise.
1896 * docs/html/ext/sgiexts.html: Likewise.
1897 * docs/html/faq/index.html: Likewise.
1898
1899 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
1900
1901 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1902 * docs/html/23_containers/howto.html (Containers and multithreading):
1903 Update.
1904
1905 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1906
1907 * docs/html/17_intro/howto.html: Tweak markup and value type.
1908 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
1909 nonzero arguments, add new note on threading.
1910 * docs/html/faq/index.html: Update.
1911 * docs/html/faq/index.txt: Regenerate.
1912
1913 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
1914
1915 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
1916 * docs/html/documentation.html: Likewise.
1917 * docs/html/explanations.html: Likewise.
1918 * docs/html/install.html: Likewise.
1919 * docs/html/17_intro/howto.html: Likewise.
1920 * docs/html/17_intro/license.html: Likewise. Tighten up language.
1921 * docs/html/18_support/howto.html: Likewise.
1922 * docs/html/19_diagnostics/howto.html: Likewise.
1923 * docs/html/20_util/howto.html: Likewise.
1924 * docs/html/21_strings/howto.html: Likewise.
1925 * docs/html/22_locale/howto.html: Likewise.
1926 * docs/html/23_containers/howto.html: Likewise.
1927 * docs/html/24_iterators/howto.html: Likewise.
1928 * docs/html/25_algorithms/howto.html: Likewise.
1929 * docs/html/26_numerics/howto.html: Likewise.
1930 * docs/html/27_io/howto.html: Likewise.
1931 * docs/html/ext/howto.html: Likewise.
1932 * docs/html/ext/sgiexts.html: Likewise.
1933 * docs/html/faq/index.html: Likewise. Not so many absolute links.
1934 * docs/html/faq/index.txt: Regenerate.
1935
1936 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1937
1938 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1939 spelling errors of "separate" as "seperate", and corresponding
1940 spelling errors of related words.
1941 * docs/html/faq/index.txt: Regenerate.
1942
1943 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
1944
1945 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
1946 unused function.
1947 * config/cpu/arm/bits/atomicity.h: Likewise.
1948 * config/cpu/generic/bits/atomicity.h: Likewise.
1949 * config/cpu/i486/bits/atomicity.h: Likewise.
1950 * config/cpu/ia64/bits/atomicity.h: Likewise.
1951 * config/cpu/mips/bits/atomicity.h: Likewise.
1952 * config/cpu/powerpc/bits/atomicity.h: Likewise.
1953 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
1954 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
1955
1956 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1957
1958 * docs/html/faq/index.html: Describe DR #22, and a workaround.
1959 * docs/html/faq/index.txt: Regenerate.
1960
1961 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1962
1963 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
1964 * docs/html/17_intro/license.html: New file. Explain the licenses
1965 in use.
1966
1967 * docs/html/configopts.html: Link to license.html.
1968 * docs/html/documentation.html: Likewise.
1969 * docs/html/explanations.html: Likewise.
1970 * docs/html/install.html: Likewise.
1971 * docs/html/17_intro/howto.html: Likewise.
1972 * docs/html/18_support/howto.html: Likewise.
1973 * docs/html/19_diagnostics/howto.html: Likewise.
1974 * docs/html/20_util/howto.html: Likewise.
1975 * docs/html/21_strings/howto.html: Likewise.
1976 * docs/html/22_locale/howto.html: Likewise.
1977 * docs/html/23_containers/howto.html: Likewise.
1978 * docs/html/24_iterators/howto.html: Likewise.
1979 * docs/html/25_algorithms/howto.html: Likewise.
1980 * docs/html/26_numerics/howto.html: Likewise.
1981 * docs/html/27_io/howto.html: Likewise.
1982 * docs/html/ext/howto.html: Likewise.
1983 * docs/html/ext/sgiexts.html: Likewise.
1984 * docs/html/faq/index.html: Likewise. New question, linking to
1985 the new license.html.
1986
1987 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
1988
1989 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
1990 * docs/html/18_support/howto.html: Likewise.
1991 * docs/html/19_diagnostics/howto.html: Likewise.
1992 * docs/html/20_util/howto.html: Likewise.
1993 * docs/html/21_strings/howto.html: Likewise.
1994 * docs/html/22_locale/howto.html: Likewise.
1995 * docs/html/23_containers/howto.html: Likewise.
1996 * docs/html/24_iterators/howto.html: Likewise.
1997 * docs/html/25_algorithms/howto.html: Likewise.
1998 * docs/html/26_numerics/howto.html: Likewise.
1999 * docs/html/27_io/howto.html: Likewise.
2000 * docs/html/ext/howto.html: Likewise.
2001 * docs/html/faq/index.html: Likewise. Spacing fix.
2002
2003 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
2004
2005 * include/bits/stl_threads.h (_Atomic_swap): New function.
2006 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2007 * testsuite/ext/rope.cc: New file.
2008
2009 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
2010
2011 * config/locale/time_members_gnu.h: Remove.
2012 * config/locale/time_members_generic.h: Remove.
2013 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2014 * config/locale/time_members_generic.cc: Same.
2015 * include/bits/locale_facets.h: Add data members.
2016 (__timepunct::_M_put_helper): Change signature.
2017 (__timepunct::_M_date_formats): Same.
2018 (__timepunct::_M_time_formats): Same.
2019 (__timepunct::_M_ampm): Add.
2020 (__timepunct::_M_date_time_formats): Add.
2021 (time_get::_M_extract_via_format): Add.
2022 (time_get::_M_extract_time): Change to...
2023 (time_get::_M_extract_num): ... this, modify signature.
2024 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2025 (time_get::do_get_time): Fix.
2026 (time_get::do_get_date): Fix.
2027
2028 * acinclude.m4: Remove CTIME_H.
2029 * aclocal.m4: Regenerate.
2030 * include/Makefile.am: Same.
2031 * include/Makefile.in: Regenerate.
2032 * configure: Regenerate.
2033
2034 * testsuite/22_locale/time_get_members_char.cc: Fix.
2035 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2036 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2037
2038 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
2039
2040 * config/cpu/cris/bits/atomicity.h: Correct file header.
2041
2042 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
2043
2044 * configure.target (LIMITSH): Set for cris.
2045 (cpu_include_dir): Set for cris-*-*.
2046 * config/cpu/cris/bits/atomicity.h: New file.
2047 * config/cpu/cris/bits/limits.h: New file.
2048
2049 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
2050
2051 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2052 (__timepunct::_M_put_helper): Add.
2053 * config/locale/time_members_generic.h: Same.
2054 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2055 (__timepunct): Add data members.
2056 (__timepunct::_M_days): Add.
2057 (__timepunct::_M_days_abbreviated): Add.
2058 (__timepunct::_M_months): Add.
2059 (__timepunct::_M_months_abbreviated): Add.
2060 (__timepunct::_M_initialize_timepunct): Add.
2061 * include/bits/locale_facets.tcc: Same.
2062 * src/locale-inst.cc: Remove instantiations for __match_parallel.
2063 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2064 * aclocal.m4: Regenerate.
2065 * configure: Regenerate.
2066 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2067 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2068 * testsuite/22_locale/time_get.cc: New file.
2069
2070 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2071
2072 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2073 correct multilib builddir.
2074 Properly locate libgcc_s.
2075
2076 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
2077
2078 * include/std/*: Add Doxygen hooks.
2079 * docs/doxygen/Intro.3: New file, general intro to the man pages.
2080 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
2081 rather than using a generated index.
2082 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
2083 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
2084 * docs/doxygen/stdheader.cc: ...this new file.
2085
2086 2001-09-26 Stan Shebs <shebs@apple.com>
2087
2088 * include/Makefile.am: Remove RCS Id strings.
2089 * src/Makefile.am: Ditto.
2090 * docs/doxygen/run_doxygen: Ditto.
2091 * docs/html/configopts.html: Ditto.
2092 * docs/html/documentation.html: Ditto.
2093 * docs/html/explanations.html: Ditto.
2094 * docs/html/install.html: Ditto.
2095 * docs/html/17_intro/howto.html: Ditto.
2096 * docs/html/18_support/howto.html: Ditto.
2097 * docs/html/19_diagnostics/howto.html: Ditto.
2098 * docs/html/20_util/howto.html: Ditto.
2099 * docs/html/21_strings/howto.html: Ditto.
2100 * docs/html/22_locale/howto.html: Ditto.
2101 * docs/html/23_containers/howto.html: Ditto.
2102 * docs/html/24_iterators/howto.html: Ditto.
2103 * docs/html/25_algorithms/howto.html: Ditto.
2104 * docs/html/26_numerics/howto.html: Ditto.
2105 * docs/html/27_io/howto.html: Ditto.
2106 * docs/html/ext/howto.html: Ditto.
2107 * docs/html/ext/sgiexts.html: Ditto.
2108 * docs/html/faq/index.html: Ditto.
2109 * docs/html/faq/index.txt: Ditto.
2110
2111 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2112
2113 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
2114 `carray' size.
2115
2116 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
2117
2118 * docs/html/20_util/howto.html: Add anchor name.
2119 * docs/html/23_containers/howto.html: Line wrapping, another link.
2120 * docs/html/25_algorithms/howto.html: Another note.
2121
2122 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
2123 link to them...
2124 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
2125 * docs/html/ext/lwg-defects.html: and this new file (from R19).
2126 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
2127 carried over to libstdc++-v3.
2128 * docs/html/faq/index.html: Link to SGI extensions. Mention the
2129 "missing .." pseudobug.
2130 * docs/html/faq/index.txt: Regenerate.
2131
2132 * include/bits/ios_base.h: DR-related comment cleanup.
2133 * include/bits/istream.tcc: Likewise.
2134 * include/bits/locale_facets.h: Likewise.
2135 * include/bits/locale_facets.tcc: Likewise.
2136 * include/bits/ostream.tcc: Likewise.
2137 * include/bits/std_bitset.h: Likewise.
2138 * include/bits/std_iosfwd.h: Likewise.
2139 * include/bits/std_istream.h: Likewise.
2140 * include/bits/std_ostream.h: Likewise.
2141 * include/bits/std_streambuf.h: Likewise.
2142 * include/bits/stl_pair.h: Likewise.
2143 * include/bits/streambuf_iterator.h: Likewise.
2144
2145 * include/bits/std_map.h: Remove unused header inclusion guard
2146 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2147 * include/bits/std_set.h: Likewise.
2148
2149 * include/bits/stl_function.h: Doxygen markup.
2150 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
2151 * libsupc++/typeinfo: Doxygen markup tweak.
2152
2153 2001-09-20 Scott Johnston <scott@accom.com>
2154 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2155
2156 * include/backward/alloc.h: Conditionally define malloc_alloc
2157 * testsuite/backward/header_deque_h.cc: New file.
2158
2159 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2160
2161 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2162 change variable name so that it works with -fno-for-scope.
2163
2164 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
2165
2166 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2167 redundant sanity checks.
2168 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2169 (test02): Same.
2170 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2171 (test02): Same.
2172 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2173 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2174 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2175 (test02): Same.
2176 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2177 (test02): Same.
2178
2179 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
2180
2181 Implement std::time_put.
2182 * include/bits/locale_facets.h: Include time_members.h.
2183 (__timepunct): New.
2184 (time_put): Implement.
2185 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2186 * include/bits/localefwd.h: Bump number of facets.
2187 * config/locale/time_members_generic.h: New file.
2188 * config/locale/time_members_gnu.h: New file.
2189 * config/locale/c_locale_generic.h: Include clocale.
2190 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2191 * src/locale.cc: Add __timepunct initializations.
2192 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2193 * include/Makefile.am (stamp-target): Add time_members.h.
2194 * include/Makefile.in: Regenerate.
2195 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2196 * aclocal.m4: Regenerate.
2197 * configure: Regenerate.
2198 * testsuite/22_locale/time_put.cc: New file.
2199 * testsuite/22_locale/time_put_members_char.cc: New file.
2200
2201 * docs/html/22_locale/locale.html: Add note.
2202
2203 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
2204
2205 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
2206 * docs/html/documentation.html: Likewise.
2207 * docs/html/explanations.html: Likewise.
2208 * docs/html/install.html: Likewise.
2209 * docs/html/17_intro/howto.html: Likewise.
2210 * docs/html/18_support/howto.html: Likewise.
2211 * docs/html/19_diagnostics/howto.html: Likewise.
2212 * docs/html/20_util/howto.html: Likewise.
2213 * docs/html/21_strings/howto.html: Likewise.
2214 * docs/html/22_locale/codecvt.html: Likewise.
2215 * docs/html/22_locale/ctype.html: Likewise.
2216 * docs/html/22_locale/howto.html: Likewise.
2217 * docs/html/22_locale/locale.html: Likewise.
2218 * docs/html/22_locale/messages.html: Likewise.
2219 * docs/html/23_containers/howto.html: Likewise.
2220 * docs/html/24_iterators/howto.html: Likewise.
2221 * docs/html/25_algorithms/howto.html: Likewise.
2222 * docs/html/26_numerics/howto.html: Likewise.
2223 * docs/html/27_io/howto.html: Likewise.
2224 * docs/html/ext/howto.html: Likewise.
2225 * docs/html/faq/index.html: Likewise.
2226 * docs/html/faq/index.txt: Regenerated.
2227
2228 2001-09-14 Phil Edwards <pme@sources.redhat.com>
2229
2230 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
2231 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
2232 * docs/html/18_support/howto.html: It won't compile; it's not code.
2233 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
2234 doxygen'd pages.
2235 * docs/html/22_locale/howto.html: Comment for future work.
2236 * docs/html/23_containers/howto.html: More comments.
2237 * docs/html/25_algorithms/howto.html: It's a comment, not a
2238 blunt command to the reader. (English grammar.)
2239
2240 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2241
2242 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2243 wchar_t members.
2244 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2245 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2246
2247 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
2248
2249 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2250
2251 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
2252
2253 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2254 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2255 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2256
2257 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
2258
2259 Implement std::money_get.
2260 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2261 * include/bits/locale_facets.h (money_get): Correct signatures.
2262 * testsuite/22_locale/money_get.cc: New file.
2263 * testsuite/22_locale/money_get_members_char.cc: New file.
2264
2265 * include/bits/locale_facets.tcc (__verify_grouping): New
2266 function. Consolidate num_get and money_get group checking into
2267 one function.
2268 (money_get): Use it.
2269 * src/locale.cc (num_get::_M_extract): Use it.
2270 * src/locale-inst.cc: Add instantiation.
2271
2272 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2273
2274 * include/bits/std_limits.h (numeric_limits<float>::radix,
2275 numeric_limits<float>::epsilon: Fix thinko.
2276
2277 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2278
2279 * configure.in: Fix cross compiling math routines. Correct
2280 comments for cross compiling and limits. Add floating point math
2281 routines found in newlib.
2282 * configure: Regenerate.
2283 * acconfig.h: Add macros.
2284 * config.h.in: Regenerate.
2285
2286 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2287
2288 * config/locale/moneypunct_members_generic.cc
2289 (money_base::_S_construct_pattern): Remove unused parameters.
2290
2291 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
2292
2293 * include/Makefile.am (stamp-target): Remove link to self.
2294 * inclulde/Makefile.in: Regenerate.
2295
2296 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
2297
2298 Implement std::money_put.
2299 * include/bits/locale_facets.h
2300 (moneypunct::_M_initialize_moneypunct): Split up specializations
2301 to account for _Intl. More grody hacking to get around the
2302 ill-considered use of const bool as a template parameter.
2303 * config/locale/moneypunct_members_gnu.cc: And here.
2304 * config/locale/moneypunct_members_generic.cc: And here.
2305 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2306 * testsuite/22_locale/moneypunct.cc: Add tests.
2307 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2308 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2309
2310 * src/locale.cc (money_base::_S_construct_pattern): Move into
2311 gnu-specific file.
2312 * config/locale/moneypunct_members_gnu.cc: Add here.
2313 * config/locale/moneypunct_members_generic.cc: Add generic version
2314 here.
2315
2316 * include/bits/locale_facets.tcc (money_put::do_put): Move member
2317 function definitions here.
2318 * include/bits/locale_facets.h (money_put): Implement.
2319 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2320 Correct money_get, money_put instantiations.
2321 * src/locale.cc (money_base::_S_construct_pattern): Handle case
2322 where __posn == 0.
2323 * testsuite/22_locale/money_put_members_char.cc: Add tests.
2324
2325 2001-09-05 Phil Edwards <pme@sources.redhat.com>
2326
2327 * testsuite_flags.in: No longer need to search testsuite builddir.
2328 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
2329 * Makefile.am: The testsuite directory never needs to be made here.
2330 * Makefile.in: Regenerate.
2331 * include/Makefile.in: Regenerate.
2332 * libio/Makefile.in: Regenerate.
2333 * libmath/Makefile.in: Regenerate.
2334 * libsupc++/Makefile.in: Regenerate.
2335 * po/Makefile.in: Regenerate.
2336 * src/Makefile.in: Regenerate.
2337 * testsuite/Makefile.in: Regenerate.
2338
2339 2001-09-04 Scott Johnston <scott@accom.com>
2340 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2341
2342 * include/backward/iterator.h: Include <bits/std_iterator.h>,
2343 remove reverse_bidirectional_iterator.
2344 * testsuite/backward: New directory.
2345 * testsuite/backward/header_iterator_h.cc: New file.
2346
2347 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
2348
2349 * include/c_std/bits/std_c*.h: Don't use include_next.
2350
2351 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
2352
2353 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2354 tmp from _Unwind_Ptr to _Unwind_Word.
2355
2356 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
2357
2358 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2359 leb128 handling.
2360
2361 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
2362
2363 * include/Makefile.am: Use toplevel_srcdir to refer to src files
2364 outside this component.
2365 * include/Makefile.in: Regenerate.
2366
2367 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
2368
2369 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2370 * config/locale/c_locale_generic.cc: Same.
2371 * config/locale/moneypunct_members_gnu.cc: New file.
2372 * config/locale/moneypunct_members_generic.cc: New file.
2373 * config/locale/numpunct_members_gnu.cc: New file.
2374 * config/locale/numpunct_members_generic.cc: New file.
2375 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2376 options.
2377 * aclocal.m4: Regenerate.
2378 * configure: Regenerate.
2379 * src/Makefile.am (sources): And here.
2380 * src/Makefile.in: Regenerate.
2381
2382 Rename for consistency with rest of testsuite.
2383 * testsuite/22_locale/codecvt.cc: New file.
2384 * testsuite/22_locale/money_put.cc: New file.
2385 * testsuite/22_locale/money_put_members_char.cc: New file.
2386
2387 2001-08-27 Phil Edwards <pme@sources.redhat.com>
2388
2389 PR libstdc++/4143
2390 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
2391 correctly for version-specific-runtime-libs.
2392 * aclocal.m4: Regenerate.
2393 * configure: Regenerate.
2394
2395 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
2396
2397 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2398 define if not already provided by per-OS file.
2399 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2400 Define.
2401
2402 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
2403
2404 * docs/html/17_intro/C++STYLE: Fix typo.
2405
2406 2001-08-24 Phil Edwards <pme@sources.redhat.com>
2407
2408 * docs/html/23_containers/howto.html: Describe implementation of
2409 insertion with hints.
2410
2411 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
2412
2413 libstdc++/3740
2414 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2415
2416 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2417 Phil Edwards <pme@sources.redhat.com>
2418
2419 PR libstdc++/3349
2420 * include/bits/stl_tree.h (insert_unique): Revert last change.
2421 Values inserted at begin() must be less, not greater, than *begin()'s.
2422 * testsuite/23_containers/map_insert.cc: New file.
2423
2424 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
2425
2426 * config/locale/c_locale_gnu.cc: Minor tweaks.
2427 (moneypunct<wchar_t>): Implement.
2428 * include/bits/locale_facets.h: Same.
2429 * testsuite/22_locale/moneypunct.cc: New file.
2430 * testsuite/22_locale/moneypunct_byname.cc: New file.
2431 * testsuite/22_locale/moneypunct_char_members.cc: New file.
2432
2433 2001-08-23 David Edelsohn <edelsohn@gnu.org>
2434
2435 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2436 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2437
2438 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
2439
2440 * testsuite_flags.in (build-includes): Re-add backward.
2441
2442 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
2443
2444 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2445 with _GLIBCPP_USE_WCHAR_T.
2446
2447 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
2448
2449 * testsuite/22_locale/collate_byname.cc (test01): Fix.
2450
2451 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
2452
2453 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2454
2455 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
2456
2457 * testsuite/22_locale/operators.cc: Add test.
2458
2459 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
2460
2461 Implement std::collate.
2462 * config/locale/collate_specializations_gnu.cc: Add here, implement in
2463 MT-safe way.
2464 * config/locale/collate_specializations_generic.cc: Add here, but
2465 in a less sophisticated manner.
2466 * include/bits/locale_facets.tcc (collate): Add generic definition.
2467 * include/bits/locale_facets.h (~collate): Mark virtual.
2468 (collate::_M_compare_helper): New.
2469 (collate::_M_transform_helper): New.
2470 * src/locale.cc: Remove unnecessary specializations.
2471 * src/string-inst.cc: Tweak instantiation of ctors.
2472
2473 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2474 * aclocal.m4: Regenerate.
2475 * configure: Regenerate.
2476 * src/Makefile.am (sources): Add collate.cc.
2477 * src/Makefile.in: Regenerate.
2478
2479 * testsuite/22_locale/collate_byname.cc: New.
2480 * testsuite/22_locale/collate.cc: New file.
2481 * testsuite/22_locale/collate_char_members.cc: New file.
2482 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2483
2484 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2485
2486 * configure.target: Set LIMITSH for powerpc-*-*.
2487 * config/cpu/powerpc/bits/limits.h: New file.
2488
2489 2001-08-16 Marc Espie <espie@openbsd.org>
2490
2491 * configure.in: Check for <sys/types.h>.
2492 * configure: Rebuild.
2493 * config.h.in: Rebuild.
2494 * libmath/mathconf.h: Include <sys/types.h> prior to
2495 <machine/endian.h> if available.
2496
2497 2001-08-15 Andreas Schwab <schwab@suse.de>
2498
2499 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2500 m68k and m680[246]0.
2501 * config/cpu/m68k/bits/atomicity.h: New file.
2502
2503 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2504 Define appropriate long double limits for m68k extended floating
2505 point.
2506 (__glibcpp_f32_digits10): Corrected, off by one.
2507 (__glibcpp_f80_digits10): Likewise.
2508 (__glibcpp_f128_digits10): Likewise.
2509 * config/os/gnu-linux/bits/os_defines.h
2510 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2511
2512 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2513
2514 * testsuite/18_support/numeric_limits.cc: Add more tests.
2515 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2516 typo.
2517
2518 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
2519
2520 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2521 for s390 and s390x.
2522
2523 * config/cpu/s390/bits/atomicity.h: New.
2524
2525 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
2526
2527 * include/bits/std_limits.h: Fix thinko.
2528
2529 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
2530
2531 * include/Makefile.am: Consolidate target rules. Don't clean stamp
2532 files. Tweak target build directory stamp.
2533 * include/Makefile.in: Regenerate.
2534
2535 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2536
2537 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2538 _GBLICPP_HAVE_LOGL with HAVE_LOGL
2539
2540 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
2541
2542 * configure.in (libtool_VERSION): Add.
2543 (VERSION): Change to
2544 (release_VERSION): This.
2545 * configure: Regenerate.
2546 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2547 libtool_VERSION.
2548 * src/Makefile.in: Regenerate.
2549
2550 * intl/Makefile.am: Remove.
2551 * intl/Makefile.in: Remove.
2552 * intl: Remove.
2553 * Makefile.am (SUBDIRS): Remove intl.
2554 * po/Makefile.am (DISTFILES): Add string_literals.cc
2555 (MSGFMT): Add.
2556 * po/string_literals.cc: Add.
2557 * po/POTFILES.in: Fix path.
2558 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2559 * aclocal.m4: Regenerate.
2560 * configure.in: Remove AC_OUTPUT of intl/Makefile.
2561
2562 * include/backward/backward_warning.h: Clarify message.
2563
2564 * testsuite_flags.in (--cxxflags): Use same debug flags for
2565 library and testsuite.
2566
2567 * include/Makefile.am (c_compatibility): Remove.
2568 * include/Makefile.in: Regenerate.
2569
2570 2001-08-13 Mark Mitchell <mark@codesourcery.com>
2571
2572 * configure.in (LIMITS_INC_SRCDIR): New variable.
2573 * configure.target (LIMITSH): New variable.
2574 * porting.texi: Discuss numeric limits.
2575 * config/cpu/generic/bits/limits.h: New file.
2576 * config/cpu/i386/bits/limits.h: New file.
2577 * include/Makefile.am: Install bits/limits.h.
2578 * include/bits/c++config: Include bits/limits.h.
2579
2580 2001-08-13 H.J. Lu (hjl@gnu.org)
2581
2582 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2583 New. Copy files.
2584 (libstdc++-v3-init ): Use it.
2585
2586 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2587
2588 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2589 to '__adjust' to avoid shadowing in nested scope.
2590
2591 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2592
2593 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2594 __CHAR_UNSIGNED__.
2595
2596 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2597 Likewise.
2598 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2599 Remove.
2600
2601 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
2602
2603 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2604 dummy default argument to the non-limit implementation.
2605
2606 bootstrap/3963
2607 * include/Makefile.am: Use relative file path in rule to allow
2608 colon in $(objdir).
2609 * include/Makefile.in: Rebuilt.
2610
2611 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
2612
2613 * include/bits/std_complex.h (complex<long double>::operator*=,
2614 complex<long double>::operator/=): Fix thinko.
2615
2616 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2617
2618 * include/bits/std_limits.h: New file.
2619 * include/Makefile.am (bits_headers): Add std_limits.h
2620 (all-local): std_limits.h is no longer built.
2621 (${target_builddir}/std_limits.h): Remove.
2622 * include/Makefile.in: Regenerate.
2623 * src/limits.cc: New file.
2624 * src/Makefile.am (sources): Add limits.cc in replacement of
2625 limitsMEMBERS.cc.
2626 * src/Makefile.in: Regenerate.
2627
2628 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2629
2630 * src/gen-num-limits.cc (digits10): Fix thinko.
2631
2632 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2633
2634 * po/Makefile.am (check-no): Add.
2635 (check-yes): Same.
2636 * po/Makefile.in: Regenerate.
2637
2638 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
2639
2640 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2641 * config.h.in: Regenerate.
2642 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2643 function.
2644 * aclocal.m4: Regenerate.
2645 * configure.in: Remove duplicate AM_CONFIG_HEADER.
2646 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2647 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2648 * configure: Regenerate.
2649 * testsuite_hooks.h.in: Move to...
2650 * testsuite_hooks.h: Here, include c++config.h. Use it.
2651
2652 * Makefile.am (SUBDIRS): Move testsuite to last directory.
2653 * Makefile.in: Regenerate.
2654 * po/Makefile.am (stamp-po): Add.
2655
2656 2001-08-09 David Edelsohn <edelsohn@gnu.org>
2657
2658 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2659 * config/os/generic/bits/os_defines.h: Likewise.
2660 * config/os/gnu-linux/bits/os_defines.h: Likewise.
2661 * config/os/hpux/bits/os_defines.h: Likewise.
2662 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2663 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2664
2665 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
2666
2667 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2668 -version-info, use substituted VERSION info.
2669 * src/Makefile.in: Regenerate.
2670
2671 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
2672
2673 Implement std::messages.
2674 Make config a fully-nested directory.
2675 * config/locale: New directory.
2676 * config/c_locale_generic.cc: Move into locale subdirectory.
2677 * config/c_locale_generic.h: Same.
2678 * config/c_locale_gnu.cc: Same.
2679 * config/c_locale_gnu.h: Same.
2680 * config/c_locale_ieee_1003.1-200x.cc: Same.
2681 * config/c_locale_ieee_1003.1-200x_.h: Same.
2682 * config/codecvt_specializations_generic.h: Same.
2683 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2684 * config/messages_members_gnu.h: Same.
2685 * config/messaages_members_gnu.cc: Same.
2686 * config/messages_members_generic.h: Same.
2687 * config/messaages_members_generic.cc: Same.
2688 * config/messages_members_ieee_1003.1-200x.h: Same.
2689 * config/messaages_members_ieee_1003.1-200x.cc: Same.
2690 * config/io: New directory.
2691 * config/basic_file_libio.h: Move into io subdirectory.
2692 * config/basic_file_libio.cc: Same.
2693 * config/c_io_libio.h: Same.
2694 * config/c_io_libio_codecvt.c: Same.
2695 * config/basic_file_stdio.h: Same.
2696 * config/basic_file_stdio.cc: Same.
2697 * config/c_io_stdio.h: Same.
2698
2699 * po: New directory.
2700 * po/POTFILES.in: New file.
2701 * po/Makefile.am: New file.
2702 * po/Makefile.in: New file.
2703 * po/libstdc++.pot: Generic translation file.
2704 * po/fr.po: Preliminary French translation.
2705 * po/de.po: Preliminary German translation.
2706 * intl: New directory.
2707 * intl/Makefile.am: New file.
2708 * intl/Makefile.in: New file.
2709 * intl/string_literals.cc: New file.
2710 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2711 requisite setup for gettext. Re-arrange.
2712 * aclocal.m4: Regenerate.
2713 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2714 Output Makefile bits for po and intl.
2715 * configure: Regenerate.
2716 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2717 * Makefile.in: Regenerate.
2718 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2719 * config.h.in: Regenerate.
2720
2721 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2722
2723 * include/Makefile.am (install-data-local): Don't install Makefile.
2724 * include/Makefile.in: Regenerate.
2725
2726 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2727 Add member.
2728 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2729 * config/locale/c_locale_generic.cc: Same.
2730 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2731
2732 * include/bits/codecvt.h: Excise non-standard, non-required
2733 bits. This includes __enc_traits, and partial specializations of
2734 codecvt for __enc_traits.
2735 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2736 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2737 * config/codecvt_partials_generic.h: New file.
2738 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2739 (stamp-codecvt_model): Add.
2740 * include/Makefile.in: Regenerate.
2741 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2742 * aclocal.m4: Regenerate.
2743 * configure: Regenerate.
2744 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2745 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2746 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2747
2748 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2749 as a friend for _S_*_c_locale functions.
2750 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2751 argument to default constructor so that CODESET information can be
2752 deduced.
2753 * include/bits/locale_facets.h (messages_byname):
2754 Re-implement. Remove specializations.
2755 * src/locale.cc (messages_byname<char>): Remove specialization.
2756 (messages_byname<wchar_t>): Same.
2757 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2758 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2759 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2760 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2761 * config/locale/messages_members_gnu.cc: New file.
2762 * config/locale/messages_members_gnu.h: New file.
2763 * config/locale/messages_members_generic.cc: New file.
2764 * config/locale/messages_members_generic.h: New file.
2765
2766 * docs/html/configopts.html: Add documentation for new locale
2767 model, ieee_1003.1. Adjust other flags for current defaults.
2768 * docs/html/22_locale/locale.html: Update.
2769 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2770 * docs/html/22_locale/messages.html: New.
2771
2772 * src/Makefile.am (sources): Add messages_virtuals.cc.
2773 * src/Makefile.in: Regenerate.
2774 * include/Makefile.am (allstamps): Add stamp-messages_model.
2775 (stamp-messages_model): Add.
2776 * include/Makefile.in: Regenerate.
2777 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2778 * aclocal.m4: Regenerate.
2779 * configure: Regenerate.
2780
2781 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2782 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2783 bits for Irix.
2784 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2785 build directories message catalog base directory, and export.
2786 Eventually this should probably be made to deal with build and
2787 install directories. For now, punt on this as the library itself
2788 doesn't use message catalogs (yet).
2789 * testsuite/22_locale/messages.cc: New file.
2790 * testsuite/22_locale/messages_char_members.cc: New file.
2791 * testsuite/22_locale/messages_byname.cc: New file.
2792
2793 2001-08-06 Phil Edwards <pme@sources.redhat.com>
2794
2795 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2796 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
2797 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
2798 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
2799 Call GLIBCPP_CONFIGURE_TESTSUITE.
2800 * aclocal.m4: Regenerate.
2801 * config.h.in: Regenerate.
2802 * configure: Regenerate.
2803
2804 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
2805 of old header.
2806
2807 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
2808 * testsuite/debug_assert.h: Removed; contents merged into...
2809 * testsuite/testsuite_hooks.h.in: ...here. New file.
2810 * testsuite/17_intro/header_ciso646.cc: No longer include
2811 debug_assert.h, include testsuite_hooks.h instead.
2812 * testsuite/17_intro/header_fstream.cc: Likewise.
2813 * testsuite/17_intro/header_iomanip.cc: Likewise.
2814 * testsuite/17_intro/header_ios.cc: Likewise.
2815 * testsuite/17_intro/header_iosfwd.cc: Likewise.
2816 * testsuite/17_intro/header_iostream.cc: Likewise.
2817 * testsuite/17_intro/header_istream.cc: Likewise.
2818 * testsuite/17_intro/header_ostream.cc: Likewise.
2819 * testsuite/17_intro/header_sstream.cc: Likewise.
2820 * testsuite/17_intro/header_streambuf.cc: Likewise.
2821 * testsuite/18_support/numeric_limits.cc: Likewise.
2822 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
2823 * testsuite/20_util/allocator_members.cc: Likewise.
2824 * testsuite/20_util/auto_ptr.cc: Likewise.
2825 * testsuite/20_util/pairs.cc: Likewise.
2826 * testsuite/21_strings/append.cc: Likewise.
2827 * testsuite/21_strings/capacity.cc: Likewise.
2828 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
2829 * testsuite/21_strings/compare.cc: Likewise.
2830 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
2831 call to (disabled) __set_testsuite_memlimit() wrapper.
2832 * testsuite/21_strings/element_access.cc: Likewise.
2833 * testsuite/21_strings/find.cc: Likewise.
2834 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
2835 (disabled) __set_testsuite_memlimit() wrapper.
2836 * testsuite/21_strings/inserters_extractors.cc: Likewise.
2837 * testsuite/21_strings/invariants.cc: Likewise.
2838 * testsuite/21_strings/nonmember.cc: Likewise.
2839 * testsuite/21_strings/operations.cc: Likewise.
2840 * testsuite/21_strings/replace.cc: Likewise.
2841 * testsuite/21_strings/rfind.cc: Likewise.
2842 * testsuite/21_strings/substr.cc: Likewise.
2843 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
2844 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
2845 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
2846 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
2847 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
2848 * testsuite/22_locale/ctype_char_members.cc: Likewise.
2849 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
2850 * testsuite/22_locale/facet.cc: Likewise.
2851 * testsuite/22_locale/global_templates.cc: Likewise.
2852 * testsuite/22_locale/members.cc: Likewise.
2853 * testsuite/22_locale/numpunct_byname.cc: Likewise.
2854 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
2855 * testsuite/22_locale/operators.cc: Likewise.
2856 * testsuite/22_locale/static_members.cc: Likewise.
2857 * testsuite/23_containers/bitset_ctor.cc: Likewise.
2858 * testsuite/23_containers/bitset_members.cc: Likewise.
2859 * testsuite/23_containers/bitset_shift.cc: Likewise.
2860 * testsuite/23_containers/vector_capacity.cc: Likewise.
2861 * testsuite/23_containers/vector_ctor.cc: Likewise.
2862 * testsuite/23_containers/vector_element_access.cc: Likewise.
2863 * testsuite/23_containers/vector_modifiers.cc: Likewise.
2864 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
2865 * testsuite/24_iterators/iterator.cc: Likewise.
2866 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
2867 * testsuite/25_algorithms/binary_search.cc: Likewise.
2868 * testsuite/25_algorithms/copy.cc: Likewise.
2869 * testsuite/25_algorithms/heap.cc: Likewise.
2870 * testsuite/25_algorithms/lower_bound.cc: Likewise.
2871 * testsuite/25_algorithms/min_max.cc: Likewise.
2872 * testsuite/25_algorithms/partition.cc: Likewise.
2873 * testsuite/25_algorithms/rotate.cc: Likewise.
2874 * testsuite/25_algorithms/sort.cc: Likewise.
2875 * testsuite/26_numerics/c_math.cc: Likewise.
2876 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
2877 * testsuite/26_numerics/complex_value.cc: Likewise.
2878 * testsuite/27_io/filebuf.cc: Likewise.
2879 * testsuite/27_io/filebuf_members.cc: Likewise.
2880 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
2881 * testsuite/27_io/fpos.cc: Likewise.
2882 * testsuite/27_io/fstream_members.cc: Likewise.
2883 * testsuite/27_io/ifstream_members.cc: Likewise.
2884 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
2885 * testsuite/27_io/ios_base_members_static.cc: Likewise.
2886 * testsuite/27_io/ios_base_storage.cc: Likewise.
2887 * testsuite/27_io/ios_ctor.cc: Likewise.
2888 * testsuite/27_io/ios_init.cc: Likewise.
2889 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
2890 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
2891 * testsuite/27_io/ios_members.cc: Likewise.
2892 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
2893 * testsuite/27_io/istream_extractor_char.cc: Likewise.
2894 * testsuite/27_io/istream_extractor_other.cc: Likewise.
2895 * testsuite/27_io/istream_manip.cc: Likewise.
2896 * testsuite/27_io/istream_seeks.cc: Likewise.
2897 * testsuite/27_io/istream_sentry.cc: Likewise.
2898 * testsuite/27_io/istream_unformatted.cc: Likewise.
2899 * testsuite/27_io/istringstream_members.cc: Likewise.
2900 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
2901 * testsuite/27_io/ofstream_members.cc: Likewise.
2902 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
2903 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
2904 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
2905 * testsuite/27_io/ostream_manip.cc: Likewise.
2906 * testsuite/27_io/ostream_seeks.cc: Likewise.
2907 * testsuite/27_io/ostream_unformatted.cc: Likewise.
2908 * testsuite/27_io/ostringstream_members.cc: Likewise.
2909 * testsuite/27_io/streambuf.cc: Likewise.
2910 * testsuite/27_io/stringbuf.cc: Likewise.
2911 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
2912 * testsuite/27_io/stringstream.cc: Likewise.
2913 * testsuite/27_io/stringstream_members.cc: Likewise.
2914 * testsuite/27_io/wide_stream_objects.cc: Likewise.
2915
2916 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
2917
2918 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
2919
2920 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
2921
2922 * configure.target: Remove mips from cpu table.
2923 * config/cpu/mips/bits/atomicity.h: Remove generic
2924 versions. Comment sgidefs include.
2925
2926 2001-07-25 H.J. Lu <hjl@gnu.org>
2927
2928 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2929 for mips.
2930
2931 * config/cpu/mips/bits/atomicity.h: New.
2932
2933 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2934
2935 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2936 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
2937 * aclocal.m4: Regenerate.
2938 * config.h.in: Likewise.
2939 * configure: Likewise.
2940 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2941 (EXTRA_DIST): Remove hypot.c hypotf.c.
2942 * libmath/Makefile.am: Regenerate.
2943 * libmath/hypotf.c: Remove.
2944 * libmath/hypot.c: Likewise.
2945 * libmath/hypotl.c: Likewise.
2946 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2947 _GLIBCPP_HAVE_xxx. Add long double versions.
2948
2949 2001-07-23 David Edelsohn <edelsohn@gnu.org>
2950
2951 * include/bits/limits_generic.h (int): Set digits and digits10
2952 appropriately for word size.
2953 (unsigned int,long,unsigned long): Likewise.
2954
2955 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2956
2957 * include/bits/stl_algo.h : Fix typos.
2958 * testsuite/25_algorithms/unique.cc: New file.
2959
2960 2001-07-19 Phil Edwards <pme@sources.redhat.com>
2961 Mark Mitchell <mark@codesourcery.com>
2962
2963 Merge from cp-parser-branch.
2964 * include/bits/basic_string.h: Qualify symbols with 'template'.
2965 * include/bits/basic_string.tcc: Likewise.
2966 * include/bits/fstream.tcc: Likewise.
2967 * include/bits/istream.tcc: Likewise.
2968 * include/bits/sstream.tcc: Likewise.
2969 * include/bits/std_istream.h: Likewise.
2970 * include/bits/stl_iterator.h: Likewise.
2971 * include/bits/streambuf.tcc: Likewise.
2972 * src/gen-num-limits.cc: Add 'template<>' to specializations.
2973 * src/locale.cc: Likewise.
2974
2975 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2976 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2977
2978 * src/gen-num-limits.cc (set_signals_handler): New function.
2979 Factor out signals setting. Set signal handler for SIGILL.
2980
2981 2001-07-18 Phil Edwards <pme@sources.redhat.com>
2982
2983 * docs/html/27_io/howto.html: Fix typo.
2984 * docs/html/faq/index.html: Minor updates for 3.0 all around.
2985 * docs/html/faq/index.txt: Regenerated.
2986
2987 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
2988 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
2989
2990 libstdc++/3599
2991 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
2992 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
2993
2994 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
2995
2996 All occurrences of the __value_type() and __distance_type()
2997 functions, which were required to support the HP STL, have been
2998 removed along with all the auxiliary forwarding functions that
2999 were required to support their use.
3000
3001 The __iterator_category() function was pretty much left alone
3002 because there was no benefit to removing it and its use made code
3003 just a little more readable.
3004
3005 Incidences of distance() with nonstandard argument list were
3006 replaced by calls to the standard function (only in the files
3007 affected by the removal of the other HP functions).
3008
3009 The signature of the rotate() algorithm was changed to match the
3010 standard.
3011
3012 Headers were reformatted under C++STYLE guidelines (indentation,
3013 linebreaks, typename keyword).
3014
3015 * include/bits/stl_algo.h: replaced __value_type() and
3016 __distance_type() with iterator_traits, eliminated auxiliary
3017 support functions required to support said function usage.
3018 Changed nonstandard distance() call to standard call.
3019
3020 * include/bits/stl_algobase.h: Same.
3021 * include/bits/stl_heap.h: Same.
3022 * include/bits/stl_numeric.h: Same.
3023 * include/bits/stl_uninitialized.h: Same.
3024 * include/bits/stl_iterator_base_types.h (__value_type()):
3025 Removed.
3026 (__distance_type()): Removed.
3027 (value_type()): Gone.
3028 (distance_type()): Done in.
3029 (iterator_category()): Hasta la vista, baby.
3030
3031 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3032 Replaced with __iterator_category().
3033 * include/backward/iterator.h: moved definition of value_type(),
3034 distance_type(), and iterator_category() out of std:: and into
3035 here.
3036 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3037 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3038 * testsuite/25_algorithms/rotate.cc: New testcase.
3039 * testsuite/25_algorithms/copy.cc: New testcase.
3040 * testsuite/25_algorithms/sort.cc: Same.
3041 * testsuite/25_algorithms/heap.cc: Same.
3042 * testsuite/25_algorithms/partition.cc: Same.
3043 * testsuite/25_algorithms/binary_search.cc: Same.
3044 * testsuite/26_numerics/sum_diff.cc: Ditto.
3045
3046 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
3047
3048 * testsuite/README: Add notes on naming test cases.
3049 * testsuite/22_locale/members.cc: Mark as xfail.
3050 * testsuite/22_locale/numpunct_char_members.cc: Same.
3051
3052 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
3053
3054 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
3055 setting C_INCLUDE_DIR.
3056 * configure.in: Revert yesterday's LN_S change.
3057 * aclocal.m4: Regenerate.
3058 * configure: Regenerate.
3059
3060 2001-07-15 Phil Edwards <pme@sources.redhat.com>
3061
3062 * configure.in: Temporarily force LN_S to copy instead of symlink.
3063 * configure: Regenerate.
3064
3065 2001-07-13 Phil Edwards <pme@sources.redhat.com>
3066
3067 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3068 Initialize _M_string with pointer-and-size constructor, not just
3069 pointer. Fix some comments.
3070 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
3071 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
3072 (test03): Add embedded-NUL tests.
3073
3074 * mkcheck.in: When printing totals, match the order of the tests.
3075 * include/bits/stringfwd.h: Use same declaration keywords.
3076 * include/bits/std_iosfwd.h: Cosmetic spacing.
3077
3078 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
3079 Loren J. Rittle <ljrittle@acm.org>
3080 Phil Edwards <pme@sources.redhat.com>
3081
3082 * include/Makefile.am: New file encapsulating header generation rules.
3083 * Makefile.am (SUBDIRS): Prepend 'include' directory.
3084 * acinclude.m4: Moved/removed rules for building various headers.
3085 * configure.in (AC_OUTPUT): Add include/Makefile.
3086 * mkc++config: Removed.
3087
3088 * testsuite_flags.in: Changed build-includes to match new scheme.
3089 * mknumeric_limits: Likewise.
3090 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
3091 * libmath/Makefile.am: Likewise.
3092 * libsupc++/Makefile.am: Likewise.
3093 * src/Makefile.am: Likewise; removed rules to build headers.
3094 * libmath/mathconf.h: Changed #include'd header names to match.
3095 * libmath/stubs.c: Likewise.
3096 * src/gen-num-limits.cc: Likewise.
3097
3098 * configure: Regenerated.
3099 * config.h.in: Regenerated.
3100 * aclocal.m4: Regenerated.
3101 * Makefile.in: Regenerated.
3102 * include/Makefile.in: Regenerated.
3103 * libio/Makefile.in: Regenerated.
3104 * libmath/Makefile.in: Regenerated.
3105 * libsupc++/Makefile.in: Regenerated.
3106 * src/Makefile.in: Regenerated.
3107 * testsuite/Makefile.in: Regenerated.
3108
3109 2001-07-11 Felix Natter <fnatter@gmx.net>
3110
3111 * docs/html/17_intro/porting-howto.xml: Initial checkin of
3112 master copy.
3113 * docs/html/17_intro/porting-howto.html: check in v0.9.3
3114
3115 2001-07-11 Phil Edwards <pme@sources.redhat.com>
3116
3117 * docs/doxygen/run_doxygen: Don't keep output from previous run.
3118 * docs/doxygen/user.cfg.in: Tweaks.
3119 * include/bits/c++config: Documentation comments for Doxygen.
3120 * include/bits/char_traits.h: Likewise.
3121 * include/bits/limits_generic.h: Likewise.
3122 * include/bits/std_stdexcept.h: Likewise.
3123 * include/bits/stl_pair.h: Likewise.
3124 * libsupc++/exception: Likewise.
3125 * libsupc++/new: Likewise.
3126 * libsupc++/typeinfo: Likewise.
3127 * libmath/Makefile.am: Update and correct copyright.
3128
3129 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3130
3131 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3132 * aclocal.m4: Regenerate.
3133 * configure: Same.
3134
3135 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3136
3137 * docs/html/configopts.html: Fix thinko.
3138 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
3139 * include/bits/stl_iterator.h: Fix typo.
3140
3141 2001-07-09 Phil Edwards <pme@sources.redhat.com>
3142
3143 * docs/html/explanations.html: New file.
3144 * docs/html/configopts.html: Link to it to provide more notes
3145 on cstdio. Minor markup and spacing fixes.
3146 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
3147
3148 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3149
3150 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3151 for _Expr template template argument.
3152 (_Expr::operator-): Likewise.
3153 (_Expr::operator~): Likewise.
3154 (_Expr::operator!): Likewise.
3155 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3156
3157 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3158
3159 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3160 * libmath/Makefile.in: Regenerate.
3161 * libmath/expf.c: Remove.
3162 * libmath/atan2f.c: Likewise.
3163
3164 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
3165
3166 * configure.in: Remove NATIVE, NULL_TARGET.
3167 Set CANADIAN only for Canadian crosses. Set xcompiling
3168 for both Canadian crosses and host-x-host crosses.
3169 * configure: Regenerated.
3170
3171 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3172
3173 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3174
3175 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
3176
3177 * testsuite_flags.in (--build-includes): backward, not backwards.
3178
3179 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
3180
3181 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3182 Replace destroy by _Destroy.
3183 (_Rope_RopeRep::_S_free_string): Likewise.
3184 (rope::c_str()): Likewise.
3185 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3186 (_Slist_base::_M_erase_after): Likewise.
3187 (slist::_M_create_node): Replace construct by _Construct.
3188 (slist::pop_front): Replace destroy by _Destroy.
3189 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3190 construct by _Construct.
3191 (hashtable::_M_delete_node): Replace destroy by _Destroy.
3192 * include/ext/stl_rope.h (rope::rope): Replace construct by
3193 _Construct.
3194 (rope::copy): Replace destroy by _Destroy.
3195
3196 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
3197
3198 * include/bits/localefwd.h: Format.
3199 * include/bits/locale_facts.tcc (locale::combine): Adjust.
3200 * src/locale.cc (locale::locale::(_Impl)): Don't call
3201 _M_add_reference.
3202 (locale::facet::_M_remove_reference): Simplify.
3203 * src/globals.cc (locale_impl_c): New. Format.
3204 (locale_c): New.
3205 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3206
3207 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3208
3209 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3210 expansion (thanks to Alexandre Oliva).
3211 * aclocal.m4: Regenerate.
3212 * configure: Regenerate.
3213
3214 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
3215
3216 * src/locale.cc (locale::locale(const char*)): Make sure global
3217 locales are initialized.
3218 * include/bits/locale_facets.tcc (locale::combine): Refcout should
3219 be zero, not one as it's return-by-value.
3220 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3221 named locales here.
3222 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3223 for it here.
3224 (test02): Add test.
3225 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3226
3227 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3228
3229 libstdc++/3284
3230 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3231 * aclocal.m4: Regenerate.
3232 * configure: Regenerate.
3233
3234 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3235
3236 libstdc++/3243
3237 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3238 staged/installed area to support -I-. Document.
3239 * aclocal.m4: Regenerate.
3240 * configure: Regenerate.
3241
3242 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
3243
3244 libstdc++/2211
3245 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3246 __out_bufsize. Add __in_bufsize, document it and use it.
3247
3248 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
3249
3250 * include/bits/stl_construct.h (construct): Remove.
3251 (destroy): Remove.
3252 (__destroy): Replaced by use of iterator_traits.
3253 * include/bits/stl_deque.h: replaced HP iterator functions with
3254 iterator_traits.
3255 (construct): changed to _Construct.
3256 (destroy): changed to _Destroy.
3257 * include/bits/stl_tempbuf.h: Same.
3258 * include/bits/stl_tree.h: Same.
3259 * include/bits/stl_vector.h: Same.
3260 * include/backward/iterator.h (construct): moved definition to here.
3261 (destroy): Same.
3262
3263 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
3264
3265 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3266 before replacing facet.
3267 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3268 Correct decrement.
3269 * src/localename.cc (locale::_Impl): Correct ctor initialization
3270 lists. Initialize ref count with one. Simplify.
3271 * src/locale.cc: Add comment.
3272 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3273 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3274 * testsuite/22_locale/members.cc (test02): Fix.
3275
3276 2001-06-27 Phil Edwards <pme@sources.redhat.com>
3277
3278 * include/backward/algo.h: Add "GPL plus runtime exception" comment
3279 block, this time for real.
3280 * include/backward/algobase.h: Likewise.
3281 * include/backward/alloc.h: Likewise.
3282 * include/backward/bvector.h: Likewise.
3283 * include/backward/defalloc.h: Likewise.
3284 * include/backward/deque.h: Likewise.
3285 * include/backward/function.h: Likewise.
3286 * include/backward/hash_map.h: Likewise.
3287 * include/backward/hash_set.h: Likewise.
3288 * include/backward/hashtable.h: Likewise.
3289 * include/backward/heap.h: Likewise.
3290 * include/backward/iterator.h: Likewise.
3291 * include/backward/list.h: Likewise.
3292 * include/backward/map.h: Likewise.
3293 * include/backward/multimap.h: Likewise.
3294 * include/backward/multiset.h: Likewise.
3295 * include/backward/pair.h: Likewise.
3296 * include/backward/rope.h: Likewise.
3297 * include/backward/set.h: Likewise.
3298 * include/backward/slist.h: Likewise.
3299 * include/backward/stack.h: Likewise.
3300 * include/backward/strstream: Likewise.
3301 * include/backward/tempbuf.h: Likewise.
3302 * include/backward/tree.h: Likewise.
3303 * include/backward/vector.h: Likewise.
3304 * include/bits/pthread_allocimpl.h: Likewise.
3305 * include/bits/std_algorithm.h: Likewise.
3306 * include/bits/std_bitset.h: Likewise.
3307 * include/bits/std_deque.h: Likewise.
3308 * include/bits/std_functional.h: Likewise.
3309 * include/bits/std_iterator.h: Likewise.
3310 * include/bits/std_list.h: Likewise.
3311 * include/bits/std_map.h: Likewise.
3312 * include/bits/std_memory.h: Likewise.
3313 * include/bits/std_numeric.h: Likewise.
3314 * include/bits/std_queue.h: Likewise.
3315 * include/bits/std_set.h: Likewise.
3316 * include/bits/std_stack.h: Likewise.
3317 * include/bits/std_utility.h: Likewise.
3318 * include/bits/std_vector.h: Likewise.
3319 * include/bits/stl_algo.h: Likewise.
3320 * include/bits/stl_algobase.h: Likewise.
3321 * include/bits/stl_alloc.h: Likewise.
3322 * include/bits/stl_bvector.h: Likewise.
3323 * include/bits/stl_construct.h: Likewise.
3324 * include/bits/stl_deque.h: Likewise.
3325 * include/bits/stl_function.h: Likewise.
3326 * include/bits/stl_heap.h: Likewise.
3327 * include/bits/stl_iterator.h: Likewise.
3328 * include/bits/stl_iterator_base_funcs.h: Likewise.
3329 * include/bits/stl_iterator_base_types.h: Likewise.
3330 * include/bits/stl_list.h: Likewise.
3331 * include/bits/stl_map.h: Likewise.
3332 * include/bits/stl_multimap.h: Likewise.
3333 * include/bits/stl_multiset.h: Likewise.
3334 * include/bits/stl_numeric.h: Likewise.
3335 * include/bits/stl_pair.h: Likewise.
3336 * include/bits/stl_pthread_alloc.h: Likewise.
3337 * include/bits/stl_queue.h: Likewise.
3338 * include/bits/stl_raw_storage_iter.h: Likewise.
3339 * include/bits/stl_relops.h: Likewise.
3340 * include/bits/stl_set.h: Likewise.
3341 * include/bits/stl_stack.h: Likewise.
3342 * include/bits/stl_tempbuf.h: Likewise.
3343 * include/bits/stl_threads.h: Likewise.
3344 * include/bits/stl_tree.h: Likewise.
3345 * include/bits/stl_uninitialized.h: Likewise.
3346 * include/bits/stl_vector.h: Likewise.
3347 * include/bits/type_traits.h: Likewise.
3348 * include/ext/hash_map: Likewise.
3349 * include/ext/hash_set: Likewise.
3350 * include/ext/rope: Likewise.
3351 * include/ext/ropeimpl.h: Likewise.
3352 * include/ext/slist: Likewise.
3353 * include/ext/stl_hash_fun.h: Likewise.
3354 * include/ext/stl_hashtable.h: Likewise.
3355 * include/ext/stl_rope.h: Likewise.
3356 * src/bitset.cc: Likewise.
3357 * src/strstream.cc: Likewise.
3358
3359 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3360 <vakatov@ncbi.nlm.nih.gov>
3361
3362 libstdc++/3272
3363 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3364 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3365 * testsuite/27_io/istream_extractor_other.cc: Fix.
3366
3367 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
3368
3369 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3370 * aclocal.m4: Regenerate.
3371 * configure: Regenerate.
3372
3373 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3374
3375 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3376 (ostream_iterator): Same.
3377 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3378 Change argument to const_reference.
3379 (back_insert_iterator): Same.
3380
3381 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3382
3383 * include/bits/sbuf_iter.h: Change to..
3384 * include/bits/streambuf_iterator.h: This.
3385 * include/bits/stl_iterator.h: Take out of here...
3386 * include/bits/stream_iterator.h: Add.
3387 * src/Makefile.am (base_headers): Add streambuf_iterator,
3388 stream_iterator.h
3389 * src/Makefile.in: Regenerate.
3390 * include/bits/std_string.h: Adjust includes.
3391 * include/bits/basic_ios.h: Same.
3392 * include/bits/locale_facets.tcc: Same.
3393 * include/bits/std_iosfwd.h: Same.
3394
3395 * include/bits/std_iterator.h: Add istream, ostream includes.
3396 * include/bits/stl_iterator.h: Tweak.
3397 * testsuite/24_iterators/ostream_iterator.cc: Add test.
3398 * testsuite/24_iterators/istream_iterator.cc: Same.
3399 * testsuite/23_containers/multiset.cc: Add iterator include.
3400
3401 2001-06-26 Phil Edwards <pme@sources.redhat.com>
3402
3403 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
3404 * aclocal.m4: Regenerate.
3405 * configure: Regenerate.
3406
3407 2001-06-26 Felix Natter <f.natter@ndh.net>
3408
3409 * docs/html/17_intro/porting-howto.html: Fixed some errors.
3410
3411 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3412
3413 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3414 return values.
3415 (istream_iterator::operator*): Same.
3416
3417 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3418 Alexandre Petit-Bianco <apbianco@redhat.com>
3419
3420 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3421 is on 41st, not 14th.
3422
3423 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
3424
3425 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3426
3427 * include/bits/stl_iterator.h (istream_iterator): Inherit from
3428 iterator.
3429 (ostream_iterator): Same.
3430 * testsuite/24_iterators/istream_iterator.cc: New file.
3431 * testsuite/24_iterators/ostream_iterator.cc: New file.
3432
3433 * include/bits/sbuf_iter.h: Remove self typedef.
3434 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3435 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3436
3437 * include/bits/stl_iterator.h (reverse_iterator): Remove
3438 extraneous typedefs. Add typename.
3439 (__normal_iterator): Remove typedefs referring to self. Add typename.
3440 (reverse_bidiretional_iterator): Remove, not longer required.
3441
3442 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3443
3444 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3445 dependent names with `typename'. Bring in various required
3446 iterator_traits members. Can't imagine why that used to work.
3447
3448 2001-06-25 Phil Edwards <pme@sources.redhat.com>
3449 Kurt Garloff <garloff@suse.de>
3450
3451 PR libstdc++/3377
3452 * src/cmath.cc: New [version of an old] file; instantiate
3453 __cmath_power to start with.
3454 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
3455 * Makefile.in: Regenerate.
3456 * libio/Makefile.in: Regenerate.
3457 * libmath/Makefile.in: Regenerate.
3458 * libsupc++/Makefile.in: Regenerate.
3459 * src/Makefile.in: Regenerate.
3460 * testsuite/Makefile.in: Regenerate.
3461
3462 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3463
3464 * libmath/stubs.c: Fix thinko.
3465
3466 2001-06-24 David Edelsohn <dje@watson.ibm.com>
3467
3468 * libmath/stubs.c (sqrtf): Define.
3469 (tanf): Correct typo.
3470
3471 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
3472
3473 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3474 iterator.
3475 (back_insert_iterator): Same.
3476 (front_insert_iterator): Same.
3477 (insert_iterator): Same.
3478
3479 * testsuite/20_util/raw_storage_iterator.cc: Modify.
3480 * testsuite/24_iterators/reverse_iterator.cc: New file.
3481 * testsuite/24_iterators/back_insert_iterator.cc: New file.
3482 * testsuite/24_iterators/front_insert_iterator.cc: New file.
3483 * testsuite/24_iterators/insert_iterator.cc: New file.
3484
3485 2001-06-22 Phil Edwards <pme@sources.redhat.com>
3486
3487 * include/*: Revert comment/license change from yesterday for all
3488 except libsupc++/unwind-cxx.h.
3489 * src/bitset.cc: Likewise.
3490 * src/strstream.cc: Likewise.
3491
3492 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3493
3494 * libmath/stubs.c: New file.
3495 (tanhf): Fix typo.
3496 (powf): Likewise.
3497
3498 * libmath/Makefile.am (libmath_la_SOURCES): Add.
3499 * libmath/Makefile.in. Regenerate.
3500
3501 2001-06-21 Phil Edwards <pme@sources.redhat.com>
3502
3503 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
3504 * include/backward/algobase.h: Likewise.
3505 * include/backward/alloc.h: Likewise.
3506 * include/backward/bvector.h: Likewise.
3507 * include/backward/defalloc.h: Likewise.
3508 * include/backward/deque.h: Likewise.
3509 * include/backward/function.h: Likewise.
3510 * include/backward/hash_map.h: Likewise.
3511 * include/backward/hash_set.h: Likewise.
3512 * include/backward/hashtable.h: Likewise.
3513 * include/backward/heap.h: Likewise.
3514 * include/backward/iterator.h: Likewise.
3515 * include/backward/list.h: Likewise.
3516 * include/backward/map.h: Likewise.
3517 * include/backward/multimap.h: Likewise.
3518 * include/backward/multiset.h: Likewise.
3519 * include/backward/pair.h: Likewise.
3520 * include/backward/rope.h: Likewise.
3521 * include/backward/set.h: Likewise.
3522 * include/backward/slist.h: Likewise.
3523 * include/backward/stack.h: Likewise.
3524 * include/backward/strstream: Likewise.
3525 * include/backward/tempbuf.h: Likewise.
3526 * include/backward/tree.h: Likewise.
3527 * include/backward/vector.h: Likewise.
3528 * include/bits/pthread_allocimpl.h: Likewise.
3529 * include/bits/std_algorithm.h: Likewise.
3530 * include/bits/std_bitset.h: Likewise.
3531 * include/bits/std_deque.h: Likewise.
3532 * include/bits/std_functional.h: Likewise.
3533 * include/bits/std_iterator.h: Likewise.
3534 * include/bits/std_list.h: Likewise.
3535 * include/bits/std_map.h: Likewise.
3536 * include/bits/std_memory.h: Likewise.
3537 * include/bits/std_numeric.h: Likewise.
3538 * include/bits/std_queue.h: Likewise.
3539 * include/bits/std_set.h: Likewise.
3540 * include/bits/std_stack.h: Likewise.
3541 * include/bits/std_utility.h: Likewise.
3542 * include/bits/std_vector.h: Likewise.
3543 * include/bits/stl_algo.h: Likewise.
3544 * include/bits/stl_algobase.h: Likewise.
3545 * include/bits/stl_alloc.h: Likewise.
3546 * include/bits/stl_bvector.h: Likewise.
3547 * include/bits/stl_construct.h: Likewise.
3548 * include/bits/stl_deque.h: Likewise.
3549 * include/bits/stl_function.h: Likewise.
3550 * include/bits/stl_heap.h: Likewise.
3551 * include/bits/stl_iterator.h: Likewise.
3552 * include/bits/stl_iterator_base_funcs.h: Likewise.
3553 * include/bits/stl_iterator_base_types.h: Likewise.
3554 * include/bits/stl_list.h: Likewise.
3555 * include/bits/stl_map.h: Likewise.
3556 * include/bits/stl_multimap.h: Likewise.
3557 * include/bits/stl_multiset.h: Likewise.
3558 * include/bits/stl_numeric.h: Likewise.
3559 * include/bits/stl_pair.h: Likewise.
3560 * include/bits/stl_pthread_alloc.h: Likewise.
3561 * include/bits/stl_queue.h: Likewise.
3562 * include/bits/stl_raw_storage_iter.h: Likewise.
3563 * include/bits/stl_relops.h: Likewise.
3564 * include/bits/stl_set.h: Likewise.
3565 * include/bits/stl_stack.h: Likewise.
3566 * include/bits/stl_tempbuf.h: Likewise.
3567 * include/bits/stl_threads.h: Likewise.
3568 * include/bits/stl_tree.h: Likewise.
3569 * include/bits/stl_uninitialized.h: Likewise.
3570 * include/bits/stl_vector.h: Likewise.
3571 * include/bits/type_traits.h: Likewise.
3572 * include/ext/hash_map: Likewise.
3573 * include/ext/hash_set: Likewise.
3574 * include/ext/rope: Likewise.
3575 * include/ext/ropeimpl.h: Likewise.
3576 * include/ext/slist: Likewise.
3577 * include/ext/stl_hash_fun.h: Likewise.
3578 * include/ext/stl_hashtable.h: Likewise.
3579 * include/ext/stl_rope.h: Likewise.
3580 * libsupc++/unwind-cxx.h: Likewise.
3581 * src/bitset.cc: Likewise.
3582 * src/strstream.cc: Likewise.
3583
3584 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3585
3586 * include/bits/indirect_array.h (indirect_array<>::operator=):
3587 Make copy and assignment operator public. Implement. Format.
3588
3589 * include/bits/valarray_array.h (__valarray_copy): Add overloads
3590 for copy between index arrays. Format.
3591
3592 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
3593
3594 * mknumeric_limits: Add static definitions, format.
3595 * testsuite/18_support/numeric_limits.cc (test02): Add test.
3596
3597 * include/c_std/bits/std_cwchar.h: Include ctime.
3598 * testsuite/17_intro/header_cwchar.cc : Check.
3599
3600 * include/c_std/bits/std_cwctype.h: Inject wctype.
3601 * testsuite/17_intro/header_cwctype.cc: Update.
3602
3603 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
3604
3605 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3606 * testsuite/20_util/raw_storage_iterator.cc: Same.
3607
3608 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3609 operator new.
3610 (__mem_interface): New typedef for switching between malloc and new.
3611 * testsuite/20_util/allocator_members.cc: New file.
3612
3613 * testsuite/20_util/comparisons.cc: New file.
3614 * testsuite/20_util/pairs.cc: New file.
3615
3616 2001-06-15 Phil Edwards <pme@sources.redhat.com>
3617
3618 * docs/html/documentation.html: Point to new doxygen'ed collection.
3619
3620 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
3621
3622 * configure.in (auxdir): Replace by ...
3623 (toprel): ... new variable.
3624 (toplevel_srcdir): Construct from $toprel.
3625 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3626 rather than .. to locate gcc source directory.
3627 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3628 * aclocal.m4, configure: Rebuilt.
3629
3630 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
3631
3632 (Approved by Mark and Benjamin. Applied by Loren.)
3633
3634 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3635 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3636 and _GLIBCPP_mutex_address.
3637 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3638 once-only runtime initialization of _M_lock mutex when
3639 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3640 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3641 for __GTHREAD_MUTEX_INIT_FUNCTION case.
3642
3643 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3644
3645 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3646
3647 * include/bits/slice_array.h (slice_array<>::operator=): Make
3648 public and implement.
3649 (slice_array<>::slice_array): Make copy-constructor public.
3650
3651 * include/bits/valarray_array.h (__valarray_copy): Add another
3652 overload to copy between strided arrays.
3653
3654 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
3655
3656 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3657 * aclocal.m4: Regenerate.
3658 * configure: Regenerate.
3659 * include/bits/c++config (__GLIBCPP__): Update date.
3660
3661 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3662
3663 * include/bits/fpos.h (fpos::operator-): Don't return reference,
3664 return original, non-modified version.
3665 (fpos::operator+): Same.
3666 * testsuite/27_io/fpos.cc: Add test.
3667
3668 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
3669
3670 libstdc++/2071
3671 * porting.texi: Add documentation about libstdc++-v3-specific
3672 macros that are currently included in os_defines.h files.
3673
3674 * config/basic_file_stdio.h (sys_getc): New method.
3675 (sys_ungetc): New method.
3676 * include/bits/basic_file.h: (sys_getc): New method signature.
3677 (sys_ungetc): New method signature.
3678
3679 * include/bits/fstream.tcc (underflow): Add conditional code
3680 paths which avoid using short seeks on streams (especially
3681 useful when the stream might be interactive or a pipe). At
3682 the moment, this alternate path only avoids seeking when the
3683 ``buffer size'' of underflow() is 1 since the C standard only
3684 guarantees buffer space for one ungetc (this technique could
3685 be extended since *-*-solaris* supports buffering for 4 calls
3686 to ungetc and *-*-*bsd* supports buffering limited only by
3687 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
3688 in a port's os_defines.h file for this alternate path to even
3689 be considered. As a bonus, the idiom of using getc/ungetc
3690 requires no system calls whereas fseek maps to one or two
3691 system call(s) on many platforms.
3692
3693 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3694 Define it.
3695 * config/os/solaris/solaris2.5/bits/os_defines.h
3696 (_GLIBCPP_AVOID_FSEEK): Likewise.
3697 * config/os/solaris/solaris2.6/bits/os_defines.h
3698 (_GLIBCPP_AVOID_FSEEK): Likewise.
3699 * config/os/solaris/solaris2.7/bits/os_defines.h
3700 (_GLIBCPP_AVOID_FSEEK): Likewise.
3701
3702 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3703
3704 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3705 AC_TRY_COMPILE, so that the built compiler is checked, and
3706 bootstraps or cross compiles with an older compile still work.
3707 * aclocal.m4: Regenerate.
3708 * configure: Regenerate.
3709
3710 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
3711
3712 libstdc++/3142
3713 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3714
3715 libstdc++/3141
3716 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3717
3718 libstdc++/3140
3719 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3720
3721 libstdc++/3139
3722 * include/bits/limits_generic.h: Fix as per DR 184.
3723
3724 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3725
3726 libstdc++/3126
3727 * include/bits/basic_string.h (string::compare): Adjust signatures
3728 as per DR 5.
3729 * include/bits/basic_string.tcc: And here.
3730
3731 libstdc++/2346
3732 * config/c_io_stdio.h: Remove whitespace.
3733 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3734 (test02): Add regression.
3735 * testsuite/27_io/istream_seeks-3.tst: New file.
3736
3737 2001-06-11 Phil Edwards <pme@sources.redhat.com>
3738
3739 * README: Update to reflect reality.
3740 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
3741 * configure.in: Make certain target_alias is set and subst'd for 2.50.
3742 * aclocal.m4: Regenerate.
3743 * configure: Regenerate (with 2.13).
3744
3745 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
3746
3747 libstdc++/3114
3748 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3749 per DR 129.
3750 * include/bits/istream.tcc (istream::seekg): Same.
3751 * testsuite/27_io/istream_seeks.cc: Fix.
3752
3753 libstdc++/3113
3754 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3755 (binder1st): Same.
3756 * include/bits/std_queue.h: Add c++config.h.
3757 * testsuite/20_util/binders.cc: New test.
3758
3759 2001-06-11 Matthias Klose <doko@debian.org>
3760 Phil Edwards <pme@sources.redhat.com>
3761
3762 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
3763 (main script): Echo more information.
3764
3765 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3766
3767 * include/c_std/bits/std_cwchar.h: Alphabetize.
3768 * include/bits/char_traits.h: Tweak.
3769 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3770 everything used by std_cwchar.h.
3771 * aclocal.m4: Regenerate.
3772 * configure.in: Regenerate.
3773 * config.h.in: Regenerate.
3774
3775 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3776
3777 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3778 Add checking for strtof, _Exit in stdlib.h
3779 * aclocal.m4: Regenerate.
3780 * configure.in: Regenerate.
3781 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3782 (snprintf): Put C99 functions into __gnu_cxx namespace.
3783 (vfscanf): Same.
3784 (vscanf): Same.
3785 (vsnprintf): Same.
3786 (vsscanf): Same.
3787 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3788 for C99 functions within _GLIBCPP_USE_C99 guard.
3789 (_Exit): Same.
3790 (strtof): Same.
3791 (strtold): Same.
3792 * include/bits/locale_facets.tcc: Check if C99 is enabled.
3793 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3794 C99 guard.
3795 * include/c_std/bits/cmath.tcc: Formatting tweak.
3796 * include/c_std/bits/std_cmath.h: Same.
3797
3798 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
3799
3800 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3801
3802 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
3803 Stephen L Moshier <moshier@mediaone.net>
3804
3805 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3806 nothing, as in autoconf 2.50.
3807 * configure: Rebuilt.
3808
3809 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3810
3811 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3812 include std_cstddef.
3813 * include/c_std/bits/std_ctime.h: Same.
3814 * include/c_std/bits/std_cstring.h: Same.
3815 * include/c_std/bits/std_cstdlib.h: Same.
3816
3817 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3818 * include/c_std/bits/std_cctype.h: Remove isblank.
3819
3820 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
3821
3822 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3823 fgetws.
3824 * aclocal.m4: Regenerate.
3825 * configure: Regenerate.
3826 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3827 injection, guard fgetwc, fgetws.
3828 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3829 * include/c_std/bits/std_clocale.h: And here.
3830 * include/c_std/bits/std_cctype.h: And here.
3831 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3832
3833 * config/basic_file_stdio.h: Don't include unistd.h.
3834 * config/c_io_stdio.h: Don't use compatibility headers.
3835 * libsupc++/eh_terminate.cc: Qualify abort.
3836 (__terminate): And here.
3837 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3838
3839 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3840
3841 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3842
3843 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
3844
3845 libstdc++/2767
3846 libstdc++/2989
3847 libstdc++/2992
3848 * include/std/*: Add copyright notice.
3849 * include/c_std/bits/*: Use using statements instead of extern "C".
3850 * include/c_std/bits/std_cmath.h: Don't overload double versions
3851 of math functions with __buitin versions, use global version to
3852 prevent ambiguities. Remove define hacks.
3853 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3854 functions that have changed signatures and std::
3855 declarations. Remove define hacks.
3856 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3857 __builtins in std::. Remove define hacks.
3858 * testsuite/17_intro/headers_c.cc: Add tests.
3859 * testsuite/17_intro/headers_c++.cc: Add test.
3860
3861 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3862 John David Anglin <dave@hiauly1.hia.nrc.ca>
3863
3864 c++/3082
3865 * libsupc++/eh_alloc.cc: Ensure that required macros are
3866 defined before including gthr.h. Ensure that we get the
3867 version of gthr.h for which we know how to provide a
3868 configuration.
3869 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
3870 code path into line with the current EH model. Use std, where
3871 appropriate.
3872
3873 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
3874 John David Anglin <dave@hiauly1.hia.nrc.ca>
3875
3876 * config/threads-no.h: Remove file.
3877 * config/threads-posix.h: Remove file.
3878
3879 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3880 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3881 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3882 * config.h.in: Regenerate.
3883
3884 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3885 setup and use gthr*.h files. In particular, make gthr.h files
3886 namespace-clean in the staging area (they don't have to be for
3887 libgcc.a).
3888 * aclocal.m4: Regenerate.
3889 * configure: Regenerate.
3890
3891 * src/Makefile.am (build_headers): Remove bits/c++threads.h
3892 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3893 * src/Makefile.in: Regenerate.
3894
3895 * include/bits/c++config: Cleanup threading configuration macros.
3896 In particular, define __STL_GTHREADS macro which controls...
3897 * include/bits/stl_threads.h: ...a brand new gthr.h-based
3898 configuration here.
3899
3900 * config/c_io_stdio.h: Include staged gthr.h instead of local
3901 thread configuration file. Always use __gthread_mutex_t
3902 instead of __mutext_type (or int).
3903 * include/bits/std_fstream.h: Likewise.
3904
3905 * docs/html/17_intro/howto.html: Remove placeholder comment in
3906 case this configuration patch didn't make it. Add advice that
3907 section only applies if configured with --enable-threads.
3908 * docs/html/23_containers/howto.html: Reword to make clear
3909 that _PTHREADS is no longer required for any port to be
3910 correctly using STL with threads. Add advice that section
3911 only applies if configured with --enable-threads.
3912
3913 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
3914
3915 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3916
3917 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
3918
3919 libstdc++/3045
3920 * include/bits/basic_ios.tcc: Formatting tweaks.
3921 * include/bits/ios_base.h: Formatting tweaks.
3922 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3923 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3924 * src/globals.cc: Allocate filebufs for standard streams here.
3925 (buf_cout, buf_cin, buf_cerr): Like so.
3926 (buf_wcout, buf_wcin, buf_wcerr): And so.
3927 * testsuite/27_io/ios_init.cc: Add.
3928
3929 2001-06-04 Brendan Kehoe <brendan@zen.org>
3930 Benjamin Kosnik <bkoz@redhat.com>
3931
3932 libstdc++/3017
3933 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3934 for generic ctype virtuals.
3935 * src/locale.cc: Minor tweaks, naming consistency.
3936 * testsuite/22_locale/ctype.cc: Add test.
3937
3938 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
3939 Phil Edwards <pme@sources.redhat.com>
3940
3941 PR libstdc++/3035 and PR libstdc++/3036
3942 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
3943 to LWG DR 181 and 265.
3944
3945 2001-06-04 Phil Edwards <pme@sources.redhat.com>
3946
3947 PR libstdc++/3034
3948 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3949 equal_range): Add const overloads as per LWG DR 214.
3950 * include/bits/stl_set.h: Likewise.
3951
3952 2001-06-04 Brendan Kehoe <brendan@zen.org>
3953 Phil Edwards <pme@sources.redhat.com>
3954
3955 PR libstdc++/3018
3956 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
3957 comparison; all positions must be < _Nb.
3958 * testsuite/23_containers/bitset_members.cc: New file.
3959
3960 2001-06-04 Brendan Kehoe <brendan@zen.org>
3961
3962 PR libstdc++/3016
3963 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
3964 ctors to match the standard.
3965
3966 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3967
3968 * include/bits/char_traits.h (move): Reverse qualification of
3969 memmove with std::.
3970 (copy): Reverse qualification of memcpy with std::.
3971
3972 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
3973
3974 * include/bits/char_traits.h (move): Qualify memmove with std::.
3975 (copy): Qualify memcpy with std::.
3976 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3977 strncmp with std::.
3978 (test02): Likewise.
3979 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3980
3981 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
3982
3983 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3984 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3985 SUN make VPATH peculiarities.
3986 * libsupc++/Makefile.in: Regenerate.
3987
3988 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
3989
3990 * src/Makefile.am (VPATH): Delimit with ":", not space.
3991 * src/Makefile.in: Regenerate.
3992
3993 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
3994 make isn't found.
3995 * configure: Regenerate.
3996
3997 2001-05-31 scott snyder <snyder@fnal.gov>
3998
3999 libstdc++/2976
4000 * include/bits/istream.tcc: Include std_ostream.h.
4001
4002 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
4003
4004 libstdc++/2997
4005 * src/bitset.cc: Qualify size_t with std::.
4006
4007 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
4008
4009 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4010 (_GLIBCPP_BUGGY_COMPLEX): Remove.
4011 * config.h.in: Regenerate.
4012 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4013 * aclocal.m4: Regenerate.
4014 * configure.in: Don't call it.
4015 * configure: Regenerate.
4016
4017 libstdc++/2970
4018 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4019 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4020 New test.
4021
4022 libstdc++/2985
4023 * include/bits/std_complex.h: Include sstream. Put definitions for
4024 complex inserters and extractors here, and remove them from...
4025 * src/complex_io.cc: ...here.
4026 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4027 parameter.
4028 (basic_ios::__numget_type): Same.
4029 * include/bits/std_istream.h: Same.
4030 * include/bits/std_ostream.h: Same.
4031 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4032 class iterator template arguments.
4033 * src/locale-inst.cc: Add explicit has_facet instantiations.
4034 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4035 (_M_get_fnumput): Remove.
4036 (_M_get_fnumget): Remove.
4037 (basic_ios::_M_check_facet): New function.
4038 (basic_ios::_M_cache_facets): New function.
4039 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4040 (basic_ios::imbue): Call _M_cache_facets.
4041 (basic_ios::init): Same.
4042 * include/bits/istream.tcc: Format, use _M_check_facet.
4043 * include/bits/ostream.tcc: Same.
4044 * include/bits/locale_facets.tcc (__output_float): Change
4045 signature, add _Traits.
4046 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4047 New test.
4048
4049 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4050
4051 * include/bits/c++config (__USE_MALLOC): Do not define it.
4052 Document why not and give pointers to more information.
4053
4054 * docs/html/23_containers/howto.html: Update documentation
4055 to reflect recent understanding of problem.
4056 * docs/html/17_intro/howto.html: Likewise.
4057
4058 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4059
4060 * docs/doxygen/user.cfg.in: Minor addition.
4061 * docs/html/documentation.html: Reorganize. Put most-looked-at
4062 stuff first.
4063 * docs/html/install.html: Update for 3.0. HTML fixups.
4064 * docs/html/17_intro/howto.html: Likewise.
4065 * docs/html/18_support/howto.html: Likewise.
4066 * docs/html/19_diagnostics/howto.html: Likewise.
4067 * docs/html/20_util/howto.html: Likewise.
4068 * docs/html/23_containers/howto.html: Likewise.
4069 * docs/html/24_iterators/howto.html: Likewise. More notes.
4070 * docs/html/25_algorithms/howto.html: Likewise.
4071 * docs/html/26_numerics/howto.html: Likewise. More notes.
4072 * docs/html/27_io/howto.html: Likewise.
4073 * docs/html/ext/howto.html: Likewise.
4074 * docs/html/faq/index.html: Likewise.
4075 * docs/html/faq/index.txt: Regenerate.
4076 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
4077 Doxygen-created documentation.
4078
4079 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4080
4081 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4082 get_multilibs to find gcc.
4083
4084 2001-05-30 Phil Edwards <pme@sources.redhat.com>
4085
4086 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
4087 * aclocal.m4: Regenerate.
4088 * configure: Regenerate.
4089
4090 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4091
4092 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4093 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4094
4095 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4096
4097 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4098 * include/c_std/bits/std_cstdlib.h: Same.
4099 * include/c_std/bits/std_cwchar.h: Same.
4100
4101 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
4102
4103 * docs/html/17_intro/howto.html: Update link.
4104 * docs/html/23_containers/howto.html: Likewise. Add new link.
4105
4106 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
4107
4108 * include/c_std/bits/std_cmath.h (sqrt): #undef.
4109
4110 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4111
4112 * mknumeric_limits: Stop if gen-num-limits dies.
4113
4114 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
4115
4116 other/2931
4117 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4118 * aclocal.m4: Regenerate.
4119 * configure: Same.
4120
4121 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4122 Phil Edwards <pme@sources.redhat.com>
4123 Alexandre Oliva <aoliva@redhat.com>
4124
4125 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4126 in an amd-safe manner. Revert glibcpp_prefixdir.
4127
4128 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
4129
4130 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
4131 fabs, sin, sqrt. They are now implemented in terms of __builtin_
4132 variants.
4133
4134 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4135
4136 libstdc++/2830
4137 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4138 * include/bits/ostream.tcc: Format to match istream.tcc.
4139 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4140
4141 2001-05-24 Phil Edwards <pme@sources.redhat.com>
4142
4143 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
4144 malloc with std:: .
4145 (__cxa_free_exception): Likewise with free.
4146
4147 2001-05-24 Mark Mitchell <mark@codesourcery.com>
4148
4149 * include/c_std/bin/std_cstring.h: #define away all global
4150 functions we will redeclare in namespace `std'.
4151 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4152 std::memset, instead of memset.
4153 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4154 not plain `strcmp'.
4155 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4156 plain `strcpy'.
4157
4158 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
4159
4160 libstdc++/2832
4161 * include/bits/basic_ios.tcc: Small tweak.
4162 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4163 ctors and dtors, and rdbuf settings.
4164 (ofstream): Same.
4165 (fstream): Same.
4166 * include/bits/std_sstream.h: Same, but for stringstream classes.
4167 * testsuite/27_io/ostringstream_members.cc: New.
4168 * testsuite/27_io/stringstream_members.cc: New.
4169 * testsuite/27_io/fstream_members.cc: New.
4170 * testsuite/27_io/ifstream_members.cc: Add test.
4171 * testsuite/27_io/istringstream_members.cc: Add test.
4172 * testsuite/27_io/ofstream_members.cc: Add test.
4173
4174 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4175
4176 * include/bits/c++config(__NO_MATH_INLINES): Move to...
4177 * config/os/gnu-linux/bits/os_defines.h: ...here.
4178
4179 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
4180
4181 * include/bits/c++config (__NO_MATH_INLINES): New macro.
4182 * testsuite/26_numerics/fabs_inline.cc (main): New test.
4183
4184 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
4185
4186 libstdc++/2841
4187 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4188 ld_library_path.
4189 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4190 (libstdc++-v3-finish): Remove.
4191 (libstdc++-v3_exit): Remove.
4192
4193 2001-05-22 Phil Edwards <pme@sources.redhat.com>
4194
4195 * docs/html/documentation.html: Point to doxygen output.
4196
4197 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4198
4199 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4200
4201 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4202 arguments to be non-null.
4203 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4204 try allocations if allocated size is greater than zero.
4205 (filebuf::_M_filebuf_init): Change to
4206 (filebuf::_M_allocate_file): Which is what it does now.
4207 (filebuf::_M_allocate_bufers): Change to
4208 (filebuf::_M_allocate_internal_buffer): This, and create
4209 (filebuf::_M_allocate_pback_buffer): New.
4210 (filebuf::_M_destroy_internal_buffer): New.
4211 (filebuf::_M_buf_allocated): New data member.
4212 (filebuf::setbuf): Use new logic, allow use of external buffer.
4213 * testsuite/27_io/stringbuf_virtuals.cc: New file.
4214 * testsuite/27_io/filebuf_virtuals.cc: New file.
4215
4216 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
4217
4218 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4219 __glibcpp_memchr.
4220 (strchr): Same, but to __glibcpp_strchr.
4221 (strpbrk): Same.
4222 (strrchr): Same.
4223 (strstr): Same.
4224 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4225 (wcsbrk): Same.
4226 (wcsrchr): Same.
4227 (wcsstr): Same.
4228 (wmemchr): Same.
4229
4230 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
4231
4232 * testsuite/21_strings/c_strings.cc (main): Fix.
4233
4234 2001-05-19 Phil Edwards <pme@sources.redhat.com>
4235
4236 * acinclude.m4: Fix --help spacing, correct comments.
4237 * aclocal.m4: Regenerate.
4238 * configure: Regenerate.
4239 * mkcheck.in: Add usage comments.
4240 * docs/html/documentation.html: Point to doxygen'd tarball.
4241
4242 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4243
4244 * testsuite/README: Add notes.
4245
4246 * src/Makefile.am (libstdc++.INC): Remove.
4247 * src/Makefile.in: Regenerate.
4248
4249 Phil Edwards <pedwards@disaster.jaj.com>
4250 * mkcheck.in: Add missing '#'.
4251
4252 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4253
4254 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4255 appropriately for remote testing and testing installed files without
4256 a build dir.
4257
4258 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
4259
4260 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4261 amd glibcpp_prefixdir with absolute paths.
4262
4263 * include/bits/c++config (__GLIBCPP__): Bump.
4264 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4265
4266 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
4267
4268 * include/bits/std_valarray.h (valarray<>::operator[] const):
4269 Return a const reference.
4270 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4271
4272 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4273
4274 * configure.target (ATOMICITYH): Actually use AIX-specific code on
4275 earlier versions of AIX 4.*.
4276
4277 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4278
4279 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
4280 output_file based on the name of the testcase.
4281
4282 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
4283
4284 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
4285 gluefile and use it if needs_status_wrapper is set.
4286
4287 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
4288
4289 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4290 versions of AIX.
4291
4292 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4293
4294 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4295 on earlier versions of AIX.
4296
4297 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
4298
4299 * testsuite_flags.in (query): Add backwards, ext directories.
4300
4301 2001-05-15 Mark Mitchell <mark@codesourcery.com>
4302
4303 * porting.texi: Correct documentation about handling
4304 _LARRGEFILE_SOURCE and its ilk.
4305 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4306 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4307 __EXTENSIONS__.
4308 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4309 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4310
4311 2001-05-15 Zack Weinberg <zackw@stanford.edu>
4312
4313 * testsuite/21_strings/inserters_extractors.cc,
4314 testsuite/27_io/istream_unformatted.cc,
4315 testsuite/27_io/stringstream.cc:
4316 Replace multi-line string constants with C89-style
4317 concatenated string constants.
4318
4319 2001-05-14 Richard Henderson <rth@redhat.com>
4320
4321 * mknumeric_limits: Build with -fno-exceptions.
4322
4323 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
4324
4325 Switch over to new harness.
4326 * testsuite_flags.in: Tweaks via Gaby.
4327 * testsuite/Makefile.am: Change tool to libstdc++-v3.
4328 (EXPECT): Quote directly.
4329 (RUNTEST): Same.
4330 * configure.in: Output testsuite_flags.
4331 * acinclude.m4: Substitute src, bld, and prefix dirs.
4332 Remove glibcpp_expect, glibcpp_runtestflags.
4333 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4334 * mkcheck.in: Port to new interface.
4335
4336 * aclocal.m4: Regerate.
4337 * configure: Regnerate.
4338 * Makefile.in: Regnerate.
4339 * */Makefile.in: Regenerate.
4340
4341 * tests_flags.in: Remove.
4342 * testsuite/lib/libstdc++.exp: Remove.
4343 * testsuite/libstdc++.tests/tests.exp: Remove.
4344
4345 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4346
4347 * configure.target: Remove detection of AIX pthread multilib, now
4348 obtained from `gcc -v'.
4349
4350 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
4351
4352 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4353 size. Add hpux case for HP size.
4354
4355 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4356
4357 * testsuite_flags.in: New, simplified interface.
4358 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4359 * testsuite/libstdc++-v3.dg: Add.
4360 * testsuite/libstdc++-v3.dg/dg.exp: Add.
4361
4362 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
4363
4364 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4365 * testsuite/config/default.exp: Update bugs email address.
4366
4367 2001-05-11 Richard Henderson <rth@redhat.com>
4368
4369 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
4370 all pointer encoding logic.
4371 (struct lsda_header_info): Add ttype_base.
4372 (get_ttype_entry): Use it instead of a context.
4373 (check_exception_spec): Likewise.
4374 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
4375 the c++ exception header for __cxa_call_unexpected.
4376 (__cxa_call_unexpected): Use it.
4377
4378 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
4379
4380 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4381 libgloss_link_flags to find crt0.o for targets that use libgloss
4382 instead of newlib.
4383 Change LDFLAGS to LIBS.
4384 Consistently name procedures libstdc++-XXX.
4385 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4386
4387 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
4388
4389 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4390 (strchr): Same.
4391 (strpbrk): Same.
4392 (strrchr): Same.
4393 (strstr): Same.
4394 * include/c_std/bits/std_cwchar.h (wcschr): Same.
4395 (wcsbrk): Same.
4396 (wcsrchr): Same.
4397 (wcsstr): Same.
4398 (wmemchr): Same.
4399 * testsuite/21_strings/c_strings.cc: Add tests.
4400
4401 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
4402
4403 libstdc++/2523
4404 * include/bits/std_fstream.h (basic_filebuf): Change signature.
4405 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4406 to int_type, pass in buffer size info.
4407 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4408 unbuffered situation.
4409 (underflow): Remove codecvt bits for the time being.
4410 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4411 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4412 values from iterators, clean.
4413 * src/locale.cc: Ditto.
4414 * include/bits/sbuf_iter.h: Format.
4415 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4416 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4417 * testsuite/27_io/filebuf.cc: Tweaks.
4418 * testsuite/27_io/filebuf_members.cc: Tweaks.
4419
4420 2001-05-07 Mark Mitchell <mark@codesourcery.com>
4421
4422 * config/os/solaris/solaris2.7/bits/os_defines.h
4423 (_LARGEFILE_SOURCE): Define it.
4424
4425 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
4426
4427 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4428 -prefer-non-pic depending on whether libtool has shared libraries
4429 enabled or disabled.
4430 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4431 $(LIBSUPCXX_PICFLAGS).
4432 * configure, */Makefile.in: Rebuilt.
4433
4434 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
4435
4436 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4437 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4438
4439 * include/bits/std_sstream.h (stringbuf): Leak
4440 copied string.
4441 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4442
4443 2001-05-01 Tom Browder <tbrowder@home.com>
4444
4445 * docs/html/ext/howto.html: Fix typo.
4446
4447 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4448
4449 * testsuite/libstdc++.tests/tests.exp: Add comment.
4450
4451 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
4452
4453 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4454
4455 2001-04-30 Mark Mitchell <mark@codesourcery.com>
4456
4457 * porting.texi: Use the GFDL.
4458
4459 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4460
4461 libstdc++/2627
4462 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4463 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4464 specializations.
4465
4466 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
4467
4468 libstdc++/2964
4469 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4470
4471 2001-04-28 Phil Edwards <pme@sources.redhat.com>
4472
4473 * docs/doxygen/run_doxygen: Minor tweaks.
4474 * docs/doxygen/style.css: New file.
4475 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
4476 latest parameters available. Use style.css.
4477
4478 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
4479
4480 * docs/doxygen/mainpage.doxy: New.
4481 * docs/doxygen/user.cfg.in: Change default configuration. Single
4482 frame, other tweaks.
4483
4484 2001-04-26 Mark Mitchell <mark@codesourcery.com>
4485
4486 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4487 Indicate obsolete nature of thelist for G++ 3.0.
4488
4489 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
4490
4491 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4492 target_thread_file with `gcc -v'.
4493 * aclocal.m4, configure: Rebuilt.
4494
4495 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
4496
4497 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4498 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4499 * include/c_std/bits/std_cwchar.h (std): Same.
4500 * acconfig.h (std): Remove c99 injection into std.
4501 * config.h.in: Regenerate.
4502
4503 * testsuite/README: Fix typo.
4504
4505 * include/bits/codecvt.h: Remove warnings.
4506
4507 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4508
4509 * include/ext/slist: Include required header files.
4510
4511 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
4512
4513 * include/c_std/bits/std_cerrno.h (errno): Define macro from
4514 identifier declared with external linkage, if needed.
4515 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4516 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4517
4518 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
4519
4520 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4521 re-configures find the build compiler.
4522 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4523 libstdc++/2609.
4524 * aclocal.m4: Regenerate.
4525 * configure: Regenerate.
4526
4527 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
4528
4529 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4530 support is enabled correctly before long long is activated.
4531 * aclocal.m4: Regenerate.
4532 * configure: Regenerate.
4533
4534 * include/backward/backward_warning.h: Format correctly.
4535
4536 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4537 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4538 * testsuite/26_numerics/c99_macros.cc: Remove.
4539
4540 2001-04-20 Phil Edwards <pme@sources.redhat.com>
4541
4542 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
4543 __iterator_category.
4544
4545 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
4546
4547 * acconfig.h (_GLIBCPP_USE_C99): Add.
4548 * config.h.in: Regenerate.
4549 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4550 9899: 1999 support.
4551 * aclocal.m4: Regenerate.
4552 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4553 * configure: Regenerate.
4554 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4555 * configure: Regenerate.
4556 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4557 into c99.
4558 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4559 namespace.
4560 * include/c_std/bits/std_cstdlib.h: Same.
4561 * docs/html/configopts.html: Update.
4562 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4563 math.h
4564 (test_c99_classify): Add.
4565 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4566 (_ISOC99_SOURCE): Remove.
4567
4568 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4569 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4570 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4571 * aclocal.m4: Regenerate.
4572 * configure: Regenerate.
4573
4574 2001-04-19 Phil Edwards <pme@sources.redhat.com>
4575
4576 * Makefile.am (doxygen): Assume script is missing execute perms.
4577 * Makefile.in: Regenerated.
4578 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
4579
4580 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
4581
4582 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4583
4584 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
4585
4586 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4587 * testsuite/23_containers/set_operators.cc: Same.
4588
4589 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4590 default.
4591 (__GLIBCPP__): Bump from value of last release.
4592 * include/bits/concept_check.h: Default to off, edit comments.
4593 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4594 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4595 * src/Makefile.in: Regenerate.
4596
4597 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
4598
4599 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4600 Properly uglify member.
4601
4602 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4603
4604 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
4605 of EqualityCo
4606 mparableConcept.
4607
4608 2001-04-13 Phil Edwards <pme@sources.redhat.com>
4609
4610 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
4611 * include/bits/concept_check.h: Uglify.
4612 * include/bits/stl_algo.h: Likewise.
4613 * include/bits/stl_algobase.h: Likewise.
4614 * include/bits/stl_deque.h: Likewise.
4615 * include/bits/stl_heap.h: Likewise.
4616 * include/bits/stl_iterator_base_funcs.h: Likewise.
4617 * include/bits/stl_list.h: Likewise.
4618 * include/bits/stl_map.h: Likewise.
4619 * include/bits/stl_multimap.h: Likewise.
4620 * include/bits/stl_multiset.h: Likewise.
4621 * include/bits/stl_numeric.h: Likewise.
4622 * include/bits/stl_queue.h: Likewise.
4623 * include/bits/stl_set.h: Likewise.
4624 * include/bits/stl_stack.h: Likewise.
4625 * include/bits/stl_vector.h: Likewise.
4626 * include/ext/hash_map: Likewise.
4627 * include/ext/hash_set: Likewise.
4628 * include/ext/slist: Likewise.
4629
4630 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
4631
4632 * testsuite/23_containers/set_operators.cc: Just try to compile.
4633 Mark as XFAIL.
4634 * testsuite/23_containers/map_operators.cc: Same.
4635
4636 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
4637
4638 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4639 output_file.
4640 (dg-test): Revert rth's change.
4641
4642 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
4643
4644 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4645 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4646
4647 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
4648
4649 * testsuite/README: Add DejaGnu specific documentation.
4650
4651 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
4652
4653 * acinclude.m4: AC_CHECK_TOOL for expect.
4654 * aclocal.m4: Regenerate.
4655 * configure: Regenerate.
4656 * testsuite/Makefile.am (RUNTEST): Use substituted.
4657 (EXPECT): Same.
4658
4659 * configure.in: Remove xcompiling substitution.
4660 * tests_flags.in (CROSS_LIB_PATH): Remove.
4661 (xcompiling): Remove.
4662 (CXX): Use substituted CXX.
4663
4664 2001-04-11 Richard Henderson <rth@redhat.com>
4665
4666 * testsuite/lib/libstdc++.exp: Specify path for output_file.
4667
4668 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
4669
4670 * include/bits/std_valarray.h(valarray<>::operator[]): Make
4671 inline.
4672
4673 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4674
4675 * testsuite/25_algorithms/equal.cc: New test.
4676
4677 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
4678
4679 * stl_algobase.h (std::equal): avoid use of possibly-undefined
4680 operator != (one line patch).
4681
4682 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4683
4684 * include/backward/backward_warning.h: Re-enable.
4685
4686 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4687 Alexandre Oliva <aoliva@redhat.com>
4688
4689 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4690
4691 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
4692
4693 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4694 * testsuite/26_numerics/c99_macros.cc: Add test.
4695
4696 2001-04-06 Phil Edwards <pme@sources.redhat.com>
4697
4698 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
4699 * docs/html/faq/index.txt: Regenerated.
4700
4701 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
4702
4703 * include/backward/backward_warning.h: Temporarily disable until
4704 g++ testsuite changes go in.
4705 * tests_flags.in (CROSS_LIB_PATH): Add.
4706
4707 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4708
4709 Warn when using backward headers.
4710 * include/backward/algo.h: Include warning file.
4711 * include/backward/vector.h: Same.
4712 * include/backward/tree.h: Same.
4713 * include/backward/tempbuf.h: Same.
4714 * include/backward/strstream: Same.
4715 * include/backward/streambuf.h: Same.
4716 * include/backward/stream.h: Same.
4717 * include/backward/stack.h: Same.
4718 * include/backward/slist.h: Same.
4719 * include/backward/set.h: Same.
4720 * include/backward/rope.h:
4721 * include/backward/queue.h: Same.
4722 * include/backward/pair.h: Same.
4723 * include/backward/ostream.h: Same.
4724 * include/backward/new.h: Same.
4725 * include/backward/multiset.h: Same.
4726 * include/backward/multimap.h: Same.
4727 * include/backward/map.h: Same.
4728 * include/backward/list.h: Same.
4729 * include/backward/iterator.h: Same.
4730 * include/backward/istream.h: Same.
4731 * include/backward/iostream.h:
4732 * include/backward/iomanip.h:
4733 * include/backward/heap.h: Same.
4734 * include/backward/hashtable.h:
4735 * include/backward/hash_set.h:
4736 * include/backward/hash_map.h:
4737 * include/backward/function.h:
4738 * include/backward/fstream.h:
4739 * include/backward/deque.h:
4740 * include/backward/defalloc.h: Same.
4741 * include/backward/complex.h: Same.
4742 * include/backward/bvector.h:
4743 * include/backward/alloc.h:
4744 * include/backward/algobase.h: Same.
4745
4746 * include/backward/backward_warning.h: New file.
4747 * src/Makefile.am (backward_headers): Add backward_warning.h
4748 * src/Makefile.in: Regenerate.
4749
4750 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4751
4752 * src/Makefile.am (myinstalldirs): Make sure backward directory is
4753 created.
4754 (myinstallheaders): Install backward headers in backward directory.
4755 * src/Makefile.in: Regenerate.
4756
4757 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
4758
4759 Prepare for libstdc++-2.92.
4760 * docs/html/17_intro/RELEASE-NOTES (New): Update.
4761 * docs/html/configopts.html: Fix formatting.
4762 * README (file): Updates.
4763 * include/bits/c++config (__GLIBCPP__): Update.
4764
4765 2001-04-05 Phil Edwards <pme@sources.redhat.com>
4766
4767 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
4768
4769 2001-04-04 Phil Edwards <pme@sources.redhat.com>
4770
4771 * docs/doxygen/user.cfg.in: Extract all non-private members;
4772 reduce confusing documentation output.
4773
4774 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
4775
4776 * include/backward/fstream.h: Add missing semicolons.
4777
4778 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
4779
4780 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4781 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4782 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4783 (ios_base::Init::_S_ios_create): New.
4784 (ios_base::Init::_S_ios_destroy): New.
4785 * include/bits/std_fstream.h: Change ctor args.
4786 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4787 (ios_base::Init::~Init): Use _S_ios_destroy.
4788 (ios_base::sync_with_stdio): Use new members.
4789 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4790 filebuf ctor.
4791
4792 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4793
4794 * include/backward/fstream.h: Expose streampos to global
4795 namespace.
4796
4797 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4798
4799 * include/bits/stl_iterator_base_types.h: Fix typo
4800
4801 2001-04-03 Andreas Schwab <schwab@suse.de>
4802
4803 * include/backward/fstream.h: Define filebuf and wfilebuf.
4804
4805 2001-04-02 Phil Edwards <pme@sources.redhat.com>
4806
4807 New concept checking implementation.
4808 * docs/html/19_diagnostics/howto.html: Document.
4809 * docs/html/17_intro/concept_check.diff: New file, for reference.
4810 * include/bits/boost_concept_check.h: New file from Boost.
4811 * include/bits/c++config: Update comments.
4812
4813 * include/bits/concept_check.h: New file.
4814 * include/bits/concept_checks.h: Removed.
4815 * include/bits/container_concepts.h: Removed.
4816 * include/bits/sequence_concepts.h: Removed.
4817 * include/bits/stl_iterator_base.h: Removed; split into...
4818 * include/bits/stl_iterator_base_funcs.h: ...this new file...
4819 * include/bits/stl_iterator_base_types.h: ...and this new file.
4820
4821 * include/bits/sbuf_iter.h: Update to use new implementation.
4822 * include/bits/std_iterator.h: Likewise.
4823 * include/bits/std_memory.h: Likewise.
4824 * include/bits/stl_algo.h: Likewise.
4825 * include/bits/stl_algobase.h: Likewise.
4826 * include/bits/stl_construct.h: Likewise.
4827 * include/bits/stl_deque.h: Likewise.
4828 * include/bits/stl_heap.h: Likewise.
4829 * include/bits/stl_list.h: Likewise.
4830 * include/bits/stl_map.h: Likewise.
4831 * include/bits/stl_multimap.h: Likewise.
4832 * include/bits/stl_multiset.h: Likewise.
4833 * include/bits/stl_numeric.h: Likewise.
4834 * include/bits/stl_queue.h: Likewise.
4835 * include/bits/stl_set.h: Likewise.
4836 * include/bits/stl_stack.h: Likewise.
4837 * include/bits/stl_uninitialized.h: Likewise.
4838 * include/bits/stl_vector.h: Likewise.
4839 * include/ext/hash_map: Likewise.
4840 * include/ext/hash_set: Likewise.
4841 * include/ext/slist: Likewise.
4842 * include/ext/stl_hashtable.h: Likewise.
4843
4844 * src/Makefile.am (base_headers): Update list of headers.
4845 * Makefile.in: Regenerated.
4846 * src/Makefile.in: Regenerated.
4847 * libio/Makefile.in: Regenerated.
4848 * libmath/Makefile.in: Regenerated.
4849 * libsupc++/Makefile.in: Regenerated.
4850 * testsuite/Makefile.in: Regenerated.
4851
4852 * docs/html/install.html: Update contact information.
4853 * docs/html/17_intro/howto.html: Ditto.
4854 * docs/html/18_support/howto.html: Ditto.
4855 * docs/html/20_util/howto.html: Ditto.
4856 * docs/html/21_strings/howto.html: Ditto.
4857 * docs/html/22_locale/howto.html: Ditto.
4858 * docs/html/23_containers/howto.html: Ditto.
4859 * docs/html/24_iterators/howto.html: Ditto.
4860 * docs/html/25_algorithms/howto.html: Ditto.
4861 * docs/html/26_numerics/howto.html: Ditto.
4862 * docs/html/27_io/howto.html: Ditto.
4863 * docs/html/faq/index.html: Ditto, plus info on new checking code.
4864 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
4865 * docs/html/faq/index.txt: Regenerated.
4866
4867 2001-04-02 Zack Weinberg <zackw@stanford.edu>
4868
4869 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4870 messages with $which_library as well as $tool_flags and
4871 ${dg-extra-tool-flags}. Factor out annotation text into
4872 a single variable.
4873
4874 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
4875
4876 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4877 * include/c_std/bits/std_cwchar.h: Same.
4878 * testsuite/21_strings/c_strings.cc: Add.
4879
4880 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
4881
4882 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4883
4884 2001-04-01 Zack Weinberg <zackw@stanford.edu>
4885
4886 * tests_flags.in: Use test a = b, not test a == b which is not
4887 portable.
4888
4889 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
4890
4891 * configure.target: Remove duplicate aix entry.
4892
4893 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
4894
4895 * include/ext/stl_bvector.h: Move to...
4896 * include/bits/stl_vector.h: ...here.
4897 * include/ext/bvector: Move to...
4898 * include/backward/bvector.h: ...here.
4899 * include/bits/std_vector.h: Change stl_bvector include.
4900 * include/bits/std_queue.h: Remove bvector include.
4901 * include/ext/tree: Insert using rb_tree, move to...
4902 * include/backward/tree.h: ...here.
4903 * include/backward/hash_map.h: Include ext/hash_map.
4904 * include/backward/hash_set.h: Include ext/hash_set.
4905 * include/backward/queue.h: New file.
4906 * include/backward/stack.h: Edit.
4907 * include/backward/algo.h: Same.
4908 * include/backward/algobase.h: Same.
4909 * include/backward/alloc.h: Same.
4910 * include/backward/function.h: Same.
4911 * include/backward/iomanip.h: Same.
4912 * include/backward/istream.h: Same.
4913 * include/backward/iterator.h: Same.
4914 * include/backward/list.h: Same.
4915 * include/backward/map.h: Same.
4916 * include/backward/multimap.h: Same.
4917 * include/backward/multiset.h: Same.
4918 * include/backward/ostream.h: Same.
4919 * include/backward/pair.h: Same
4920 * include/backward/rope.h: Same.
4921 * include/backward/set.h: Same.
4922 * include/backward/stream.h: Same.
4923 * include/backward/strstream.h: Same.
4924 * include/backward/tempbuf.h: Same.
4925 * src/Makefile.am (ext_headers): Edit.
4926 * src/Makefile.in: Regenerate.
4927 * testsuite/ext/headers.cc (main): Fix.
4928 * mkcheck.in: Fix.
4929
4930 2001-03-30 Phil Edwards <pme@sources.redhat.com>
4931
4932 * tests_flags.in (LIBS): Pass correct path for installed testing.
4933
4934 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
4935
4936 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4937 * tests_flags.in (CXX): Construct here.
4938 (static_fail): Don't remove compile.out. Format with spaces.
4939 (INCLUDES): Deal with xcompiling.
4940 * configure.in (xcompiling): Substitute.
4941 * testsuite/Makefile.am: Snake libjava configury.
4942 * testsuite/Makefile.in: Regenerate.
4943 * testsuite/23_containers/map_operators.cc: Tweaks.
4944 * testsuite/23_containers/set_operators.cc: Tweaks.
4945
4946 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4947
4948 Enable dejagnu testing framework.
4949 * configure.in: Generate testsuite/Makefile.
4950 * configure: Regenerate.
4951 * Makefile.am (check-install): Change rule from this...
4952 (check-script-install): ...to this.
4953 (check): Change rule from this...
4954 (check-script):...to this.
4955 * Makefile.in: Regenerate.
4956
4957 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
4958
4959 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4960 --tag CXX.
4961 (LIBTOOL): Let automake take care of its definition.
4962 * libsupc++/Makefile.in: Rebuilt.
4963
4964 2001-03-28 Richard Henderson <rth@redhat.com>
4965
4966 IA-64 ABI Exception Handling:
4967 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4968 * configure.in: Use it.
4969 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4970 * libsupc++/Makefile.am (sources): Update files list.
4971 * libsupc++/Makefile.in: Regenerate.
4972 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4973 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4974 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4975 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4976 * libsupc++/exception_support.cc: Remove.
4977 * libsupc++/exception_support.h: Remove.
4978 * libsupc++/pure.cc: Use std::terminate.
4979 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4980 (__is_pointer): Remove.
4981 * libsupc++/unwind-cxx.h: New file.
4982 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4983
4984 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
4985
4986 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
4987 CXX tag explicitly.
4988 * src/Makefile.am (CXXLINK): Likewise.
4989 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
4990
4991 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
4992
4993 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
4994
4995 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4996
4997 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
4998 and libc
4999
5000 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
5001
5002 * include/bits/basic_file.h (get_fileno): Remove.
5003 (_M_fileno): Remove.
5004 (_M_cfile_created): Add.
5005 (basic_file::basic_file(__c_file_type*, openmode): Add.
5006 (basic_file::basic_file(int, const char*, openmode): Remove.
5007 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5008 const char*, ios_base::openmode): Don't allocate
5009 internal buffers. Turn off internal buffers.
5010 (basic_filebuf::overflow): Remove test for null buffer.
5011 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5012 * include/bits/streambuf.cc: Tweak.
5013 * include/bits/std_ostream.h: Tweak.
5014 * config/basic_file_libio.h: Same.
5015 * config/basic_file_stdio.h: Same.
5016 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5017 * testsuite/27_io/filebuf_members.cc: Tweaks.
5018 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5019
5020 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5021
5022 * Makefile.am: New targets, doxygen and doxygen-maint.
5023 * Makefile.in: Regenerated.
5024 * docs/doxygen/run_doxygen: Finally implemented.
5025 * docs/doxygen/maint.cfg.in: New file.
5026 * docs/doxygen/user.cfg.in: New file.
5027
5028 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5029
5030 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
5031 * src/Makefile.am: Replace leading spaces with tabs on continuation
5032 lines.
5033 * aclocal.m4: Regenerated.
5034 * configure: Ditto.
5035 * Makefile.in: Ditto.
5036 * src/Makefile.in: Ditto.
5037 * libio/Makefile.in: Ditto.
5038 * libmath/Makefile.in: Ditto.
5039 * libsupc++/Makefile.in: Ditto.
5040
5041 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5042
5043 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
5044 concept-checking code and current status of same.
5045 * docs/html/ext/howto.html: Ditto.
5046 * docs/html/faq/index.html: Ditto.
5047 * docs/html/faq/index.txt: Regenerated.
5048
5049 2001-03-24 Phil Edwards <pme@sources.redhat.com>
5050
5051 * include/bits/std_bitset.h: Include ostream and istream headers
5052 instead of iostream.
5053
5054 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
5055
5056 * include/bits/ostream.tcc: Use __builtin_alloca.
5057
5058 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
5059
5060 * src/misc-inst.cc (__sink_unused_warning): Move to...
5061 * src/locale-inst.cc (__sink_unused_warning): Move to...
5062 * src/stl-inst.cc: Here.
5063 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5064 commented it out.
5065
5066 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5067
5068 * intclude/bits/basic_file.h: Fix typos in comments.
5069
5070 2001-03-20 Richard Henderson <rth@redhat.com>
5071
5072 * src/gen-num-limits.cc: Instantiate for wchar_t.
5073 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5074
5075 2001-03-20 Jason Merrill <jason@redhat.com>
5076
5077 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5078 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5079 * libsupc++/cxxabi.h: Declare it.
5080
5081 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
5082
5083 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5084 signal_func with an unspecified argument list.
5085
5086 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
5087
5088 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5089
5090 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5091
5092 * include/bits/basic_string.tcc (operator+): Fix thinko.
5093
5094 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
5095
5096 libstdc++/2020
5097 * include/bits/std_streambuf.h: Remove cached locale facets.
5098 (basic_streambuf::_M_buf_fctype): Remove.
5099 (basic_streambuf::~basic_streambuf): Remove here.
5100 (basic_streambuf::basic_streambuf): Same.
5101 (basic_streambuf::imbue): Same.
5102 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5103 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5104 (basic_filebuf::~basic_filebuf()): Remove here.
5105 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5106 (basic_filebuf::imbue): Same.
5107 * include/bits/localefwd.h (_Count_ones): Remove.
5108 (locale::_S_num_categories): Just use 6, since this doesn't
5109 actually change, ever.
5110 * include/bits/locale_facets.tcc (has_facet): Simplify.
5111 (use_facet): Same.
5112 * testsuite/27_io/filebuf.cc (test06): Add tests.
5113
5114 2001-03-13 Steve Ellcey <sje@cup.hp.com>
5115
5116 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5117 match HP-UX ctype.h header file.
5118
5119 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
5120
5121 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5122 duplicate definitions of __dj_ctype_*
5123
5124 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
5125
5126 * libsupc++/new: Remove pragma interface.
5127 * libsupc++/typeinfo: Same.
5128 * libsupc++/exception: Same.
5129 * libsupc++/new_handler.cc: Remove pragma implementation.
5130 (bad_alloc::~bad_alloc()): Add.
5131 * libsupc++/exception_support.cc: Same.
5132 (exception::~exception): Add.
5133 (bad_exception::~bad_exception): Add.
5134 * libsupc++/tinfo.cc: Same.
5135 (bad_cast::~bad_cast): Add.
5136 (bad_typeid::~bad_typeid): Add.
5137
5138 2001-03-13 Phil Edwards <pme@sources.redhat.com>
5139
5140 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
5141
5142 2001-03-12 Felix Lee <flee@redhat.com>
5143
5144 * mkcheck.in: workaround for bash 2.01 IFS bug.
5145
5146 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5147
5148 Fixups for -fno-for-scope
5149 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5150 * src/valarray-inst.cc (__gslice_to_index): Same.
5151
5152 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
5153
5154 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5155 prior to trapping signal (UnixWare 7 workaround).
5156
5157 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
5158
5159 * include/backward/hashtable.h: Same.
5160 * include/backward/rope.h: Fix include.
5161
5162 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
5163
5164 * include/backward/vector.h: Include std_vector.h.
5165
5166 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5167 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5168 Fix typo.
5169
5170 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5171
5172 * include/ext/stl_hashtable.h: Change type of __n to size_t
5173 * include/backward/bvector.h: Include <ext/stl_bvector.h>
5174
5175 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5176
5177 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5178 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5179 Use streamsize, not int_type.
5180
5181 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
5182
5183 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5184 moment.
5185
5186 2001-03-08 Andreas Schwab <schwab@suse.de>
5187
5188 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5189 command.
5190 * aclocal.m4, configure: Regenerated.
5191
5192 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
5193
5194 * include/bits/std_iosfwd.h: Remove string forward decls here.
5195 * include/bits/stringfwd.h: Add forward decls for char_traits
5196 specializations.
5197 * config/c_io_libio.h (wstreamoff): Delete.
5198 * config/c_io_stdio.h (wstreamoff): Same.
5199 * include/bits/char_traits.h: Use streamoff not wstreamoff for
5200 char_traits<wchar_t>::off_type.
5201 Remove duplicate typedefs.
5202 * include/bits/fpos.h: Define streampos/wstreampos here.
5203 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5204 values to off_type.
5205 (test05): Same.
5206 Changeup output files.
5207 * testsuite/27_io/istream_unformatted.cc: Change output files.
5208 * testsuite/27_io/istream_seeks-1.txt: Add.
5209 * testsuite/27_io/istream_seeks-2.tst: Add.
5210 * testsuite/27_io/istream_seeks-1.tst: Add.
5211 * testsuite/27_io/istream_unformatted-2.tst: Delete.
5212 * testsuite/27_io/istream_unformatted-3.tst: Delete.
5213 * testsuite/27_io/istream_unformatted-3.txt: Delete.
5214
5215 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
5216
5217 Add Irix 5.2, 6.3 support.
5218 * config/os/irix/bits: Renamed to...
5219 * config/os/irix/irix6.5/bits: this.
5220 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5221 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5222 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5223 * config/os/irix/irix5.2/bits/ctype_noninline.h
5224 (ctype<char>::ctype): Initialize _M_table with __ctype.
5225 * configure.target: Adjust.
5226
5227 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
5228
5229 libstdc++/2181
5230 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5231 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5232 sentry.
5233 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5234 (*__pf)(__ios_type&)): Same.
5235 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5236 (*__pf)(ios_base&))): Same.
5237 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5238 * testsuite/27_io/istream_manip.cc (test01): Fix.
5239
5240 2001-03-06 Nathan Myers <ncm@cantrip.org>
5241 Benjamin Kosnik <bkoz@redhat.com>
5242
5243 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5244 * testsuite/17_intro/header_cerrno.cc (test01): New file.
5245 * testsuite/17_intro/header_cassert.cc (test01): New file.
5246 * testsuite/17_intro/header_cstddef.cc (test01): New file.
5247 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5248 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5249
5250 2001-03-05 scott snyder <snyder@fnal.gov>
5251
5252 libstdc++/2190
5253 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5254 from here...
5255 * include/c_std/bits/std_cstdlib.h: ... to here.
5256 * testsuite/17_intro/header_cstdlib.cc: Add test.
5257
5258 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
5259
5260 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5261
5262 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
5263
5264 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5265 definition. Replace enum with static const variables.
5266
5267 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5268 throw specification, fix typos, use <static_cast>.
5269 (ctype<char>::scan_is): remove throw specification.
5270 (ctype<char>::scan_not): likewise.
5271
5272 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5273 (ctype<char>::do_toupper(char)): use <static_cast>.
5274 (ctype<char>::do_toupper(char *, const char *)): likewise.
5275 (ctype<char>::do_tolower(char)): likewise.
5276 (ctype<char>::do_tolower(char *, const char *)): likewise.
5277
5278 2001-03-04 Phil Edwards <pme@sources.redhat.com>
5279
5280 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5281 * include/backward/algo.h: Use std not __STD. Remove unneeded
5282 macros and "never happens" code. Adjust to C++STYLE guidelines.
5283 * include/backward/algobase.h: Likewise.
5284 * include/backward/alloc.h: Likewise.
5285 * include/backward/bvector.h: Likewise.
5286 * include/backward/deque.h: Likewise.
5287 * include/backward/function.h: Likewise.
5288 * include/backward/hash_map.h: Likewise.
5289 * include/backward/hash_set.h: Likewise.
5290 * include/backward/hashtable.h: Likewise.
5291 * include/backward/heap.h: Likewise.
5292 * include/backward/iterator.h: Likewise.
5293 * include/backward/list.h: Likewise.
5294 * include/backward/map.h: Likewise.
5295 * include/backward/multimap.h: Likewise.
5296 * include/backward/multiset.h: Likewise.
5297 * include/backward/pair.h: Likewise.
5298 * include/backward/rope.h: Likewise.
5299 * include/backward/set.h: Likewise.
5300 * include/backward/slist.h: Likewise.
5301 * include/backward/stack.h: Likewise.
5302 * include/backward/strstream: Likewise.
5303 * include/backward/tempbuf.h: Likewise.
5304 * include/backward/tree.h: Likewise.
5305 * include/backward/vector.h: Likewise.
5306 * include/bits/basic_ios.h: Likewise.
5307 * include/bits/basic_ios.tcc: Likewise.
5308 * include/bits/basic_string.h: Likewise.
5309 * include/bits/c++config: Likewise.
5310 * include/bits/concept_checks.h: Likewise.
5311 * include/bits/fpos.h: Likewise.
5312 * include/bits/fstream.tcc: Likewise.
5313 * include/bits/functexcept.h: Likewise.
5314 * include/bits/ios_base.h: Likewise.
5315 * include/bits/istream.tcc: Likewise.
5316 * include/bits/mask_array.h: Likewise.
5317 * include/bits/ostream.tcc: Likewise.
5318 * include/bits/pthread_allocimpl.h: Likewise.
5319 * include/bits/sbuf_iter.h: Likewise.
5320 * include/bits/slice.h: Likewise.
5321 * include/bits/slice_array.h: Likewise.
5322 * include/bits/sstream.tcc: Likewise.
5323 * include/bits/std_bitset.h: Likewise.
5324 * include/bits/std_fstream.h: Likewise.
5325 * include/bits/std_iomanip.h: Likewise.
5326 * include/bits/std_ios.h: Likewise.
5327 * include/bits/std_istream.h: Likewise.
5328 * include/bits/std_iterator.h: Likewise.
5329 * include/bits/std_memory.h: Likewise.
5330 * include/bits/std_ostream.h: Likewise.
5331 * include/bits/std_sstream.h: Likewise.
5332 * include/bits/std_streambuf.h: Likewise.
5333 * include/bits/std_string.h: Likewise.
5334 * include/bits/std_valarray.h: Likewise.
5335 * include/bits/stl_algo.h: Likewise.
5336 * include/bits/stl_algobase.h: Likewise.
5337 * include/bits/stl_alloc.h: Likewise.
5338 * include/bits/stl_construct.h: Likewise.
5339 * include/bits/stl_deque.h: Likewise.
5340 * include/bits/stl_function.h: Likewise.
5341 * include/bits/stl_heap.h: Likewise.
5342 * include/bits/stl_iterator.h: Likewise.
5343 * include/bits/stl_iterator_base.h: Likewise.
5344 * include/bits/stl_list.h: Likewise.
5345 * include/bits/stl_map.h: Likewise.
5346 * include/bits/stl_multimap.h: Likewise.
5347 * include/bits/stl_multiset.h: Likewise.
5348 * include/bits/stl_numeric.h: Likewise.
5349 * include/bits/stl_pair.h: Likewise.
5350 * include/bits/stl_pthread_alloc.h: Likewise.
5351 * include/bits/stl_queue.h: Likewise.
5352 * include/bits/stl_raw_storage_iter.h: Likewise.
5353 * include/bits/stl_relops.h: Likewise.
5354 * include/bits/stl_set.h: Likewise.
5355 * include/bits/stl_stack.h: Likewise.
5356 * include/bits/stl_tempbuf.h: Likewise.
5357 * include/bits/stl_threads.h: Likewise.
5358 * include/bits/stl_tree.h: Likewise.
5359 * include/bits/stl_uninitialized.h: Likewise.
5360 * include/bits/stl_vector.h: Likewise.
5361 * include/bits/streambuf.tcc: Likewise.
5362 * include/bits/type_traits.h: Likewise.
5363 * include/bits/valarray_meta.h: Likewise.
5364 * include/ext/bvector: Likewise.
5365 * include/ext/hash_map: Likewise.
5366 * include/ext/hash_set: Likewise.
5367 * include/ext/ropeimpl.h: Likewise.
5368 * include/ext/slist: Likewise.
5369 * include/ext/stl_bvector.h: Likewise.
5370 * include/ext/stl_hash_fun.h: Likewise.
5371 * include/ext/stl_hashtable.h: Likewise.
5372 * include/ext/stl_rope.h: Likewise.
5373 * src/complex_io.cc: Likewise.
5374 * src/ios.cc: Likewise.
5375 * src/locale-inst.cc: Likewise.
5376 * src/locale.cc: Likewise.
5377 * src/localename.cc: Likewise.
5378 * src/misc-inst.cc: Likewise.
5379 * src/stdexcept.cc: Likewise.
5380 * src/stl-inst.cc: Likewise.
5381 * src/strstream.cc: Likewise.
5382 * src/valarray-inst.cc: Likewise.
5383
5384 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
5385
5386 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5387
5388 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5389
5390 * include/bits/istream.tcc: change type of __extracted to __size_type
5391
5392 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
5393
5394 * src/wstring-inst.cc: New file.
5395 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5396 (libinst_wstring_la_SOURCES): Remove.
5397 (libstdc___la_LIBADD): Remove libinst_wstring_la.
5398 (sources): Add wstring-inst.cc
5399 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5400 libinst_wstring_la.
5401
5402 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
5403
5404 * src/locale.cc: initialise __ret with zero
5405 * src/strstream.cc:cast gptr to int_type
5406
5407 2001-03-01 Phil Edwards <pme@sources.redhat.com>
5408
5409 * docs/html/faq/index.html: Update broken links.
5410 * docs/html/faq/index.txt: Regenerated.
5411
5412 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5413
5414 libstdc++/2064
5415 * configure.target: Change irix* to irix6.5* in target_os table.
5416
5417 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
5418
5419 libstdc++/2103
5420 * include/bits/c++config (__GLIBCPP__): Bump number in
5421 anticipation of 2.92.
5422
5423 * include/bits/codecvt.h: Fix typo.
5424 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5425 stdio model.
5426 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5427 instantiations for stdio model.
5428
5429 2001-02-28 Phil Edwards <pme@sources.redhat.com>
5430
5431 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
5432 and GLIBCPP_CXXFLAGS as unused variables.
5433 * configure.host: Likewise.
5434 * configure.target: Likewise.
5435 * aclocal.m4: Regenerated.
5436 * configure: Regenerated.
5437 * Makefile.in: Regenerated.
5438 * libio/Makefile.in: Regenerated.
5439 * libmath/Makefile.in: Regenerated.
5440 * libsupc++/Makefile.in: Regenerated.
5441 * src/Makefile.in: Regenerated.
5442
5443 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5444
5445 libstdc++/1886
5446 * include/bits/basic_file.h: Include basic_file_model.h.
5447 * config/c_io_libio.cc: Move to...
5448 * config/basic_file_libio.cc: Here.
5449 * config/basic_file_libio.h: New file.
5450 * config/c_io_stdio.cc: Move to...
5451 * config/basic_file_stdio.cc: Here.
5452 * config/basic_file_stdio.h: New file.
5453 * config/c_io_libio.h: Tweak.
5454 * config/c_io_stdio.h: Tweak.
5455 * src/Makefile.am (build_headers): Add basic_file_model.h.
5456 (sources): Add basic_file.cc, remove c++io.cc.
5457 * src/Makefile.in: Regenerate.
5458 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5459 basic_file_model.h and basic_file.cc.
5460 * aclocal.m4: Regenerate.
5461 * configure: Regenerate.
5462 * testsuite/27_io/filebuf.cc (test05): Add regression.
5463
5464 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5465
5466 Correct license.
5467 * config/cpu/alpha/bits/atomicity.h: Change.
5468 * config/cpu/arm/bits/atomicit3y.h
5469 * config/cpu/generic/bits/atomicity.h
5470 * config/cpu/i386/bits/atomicity.h
5471 * config/cpu/i486/bits/atomicity.h
5472 * config/cpu/ia64/bits/atomicity.h
5473 * config/cpu/powerpc/bits/atomicity.h
5474 * config/cpu/sparc/sparc32/bits/atomicity.h
5475 * config/cpu/sparc/sparc64/bits/atomicity.h
5476 * config/os/aix/bits/atomicity.h
5477 * config/os/irix/bits/atomicity.h
5478
5479 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
5480
5481 * include/bits/std_stdexcept.h (runtime_error): Make string
5482 member non-const.
5483 (logic_error): Same.
5484 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5485 (test03): Fix.
5486
5487 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
5488
5489 libstdc++/1972
5490 libstdc++/2089
5491 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5492 string object, not reference.
5493 (runtime_error::runtime_error): Same.
5494 * testsuite/19_diagnostics/stdexceptions.cc: New file.
5495
5496 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5497
5498 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
5499 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
5500 diagnostics. Remove WFMT_FLAGS.
5501 * configure.in: Replace WFMT_FLAGS with diagnostics options.
5502 * libsupc++/Makefile.am: Likewise.
5503 * src/Makefile.am: Likewise.
5504 * aclocal.m4: Regenerated.
5505 * configure: Regenerated.
5506 * Makefile.in: Regenerated.
5507 * libio/Makefile.in: Regenerated.
5508 * libmath/Makefile.in: Regenerated.
5509 * libsupc++/Makefile.in: Regenerated.
5510 * src/Makefile.in: Regenerated.
5511
5512 2001-02-26 Phil Edwards <pme@sources.redhat.com>
5513
5514 Fixes libstdc++/2079
5515 * include/backward/iomanip.h: Expose <ios> manipulators to global
5516 namespace.
5517 * include/backward/iostream.h: Also expose std::ws.
5518
5519 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
5520
5521 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5522
5523 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
5524
5525 * include/bits/codecvt.h: Use __builtin_alloca.
5526 * include/bits/ostream.tcc: Same.
5527 * include/bits/fstream.tcc: Same.
5528
5529 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
5530
5531 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5532
5533 2001-02-23 David Edelsohn <dje@watson.ibm.com>
5534
5535 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5536
5537 2001-02-23 Phil Edwards <pme@sources.redhat.com>
5538
5539 c++/2052
5540 * include/backward/iostream.h: Expose std::flush in old headers.
5541
5542 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5543
5544 * mknumeric_limits: Remove special-casing on target. Use gcc
5545 instead of g++ to build gen-num-limits.cc
5546
5547 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
5548
5549 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5550
5551 * include/bits/codecvt.h: Use alloca instead of __extension__ for
5552 the time being.
5553 * include/bits/ostream.tcc: Same.
5554 * include/bits/std_ostream.h: Same.
5555 * include/bits/fstream.tcc: Same.
5556 * include/bits/locale_facets.tcc: Add typename.
5557 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5558
5559 2001-02-21 Phil Edwards <pme@sources.redhat.com>
5560
5561 * tests_flags.in: Remove -n flag from call to echo.
5562
5563 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
5564
5565 * config/c_locale_gnu.h: Add clocale include.
5566
5567 2001-02-20 Phil Edwards <pme@sources.redhat.com>
5568
5569 * include/bits/stl_config.h: Remove file.
5570 * src/Makefile.am (base_headers): Remove from list.
5571 * configure: Regenerate.
5572 * Makefile.in: Ditto.
5573 * libio/Makefile.in: Ditto.
5574 * libmath/Makefile.in: Ditto.
5575 * libsupc++/Makefile.in: Ditto.
5576 * src/Makefile.in: Ditto.
5577
5578 * include/bits/c++config: Move relevant macros to here.
5579 * include/backward/alloc.h: Include c++config.h instead.
5580 * include/backward/function.h: Ditto.
5581 * include/backward/heap.h: Ditto.
5582 * include/backward/pair.h: Ditto.
5583 * include/bits/pthread_allocimpl.h: Ditto.
5584 * include/bits/std_functional.h: Ditto.
5585 * include/bits/std_iterator.h: Ditto.
5586 * include/bits/std_numeric.h: Ditto.
5587 * include/bits/std_utility.h: Ditto.
5588 * include/bits/stl_algobase.h: Ditto.
5589 * include/bits/type_traits.h: Ditto.
5590 * src/stl-inst.cc: Ditto.
5591
5592 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5593
5594 * include/bits/basic_file.h: Add #pragma system_header
5595 * include/bits/basic_ios.h: Ditto.
5596 * include/bits/basic_string.h: Ditto.
5597 * include/bits/char_traits.h: Ditto.
5598 * include/bits/codecvt.h: Ditto.
5599 * include/bits/cpp_type_traits.h: Ditto.
5600 * include/bits/fpos.h: Ditto.
5601 * include/bits/gslice.h: Ditto.
5602 * include/bits/gslice_array.h: Ditto.
5603 * include/bits/indirect_array.h: Ditto.
5604 * include/bits/ios_base.h: Ditto.
5605 * include/bits/limits_generic.h: Ditto.
5606 * include/bits/locale_facets.h: Ditto.
5607 * include/bits/localefwd.h: Ditto.
5608 * include/bits/mask_array.h: Ditto.
5609 * include/bits/sbuf_iter.h: Ditto.
5610 * include/bits/sequence_concepts.h: Ditto.
5611 * include/bits/slice.h: Ditto.
5612 * include/bits/slice_array.h: Ditto.
5613 * include/bits/std_algorithm.h: Likewise.
5614 * include/bits/std_bitset.h: Likewise.
5615 * include/bits/std_complex.h: Likewise.
5616 * include/bits/std_deque.h: Likewise.
5617 * include/bits/std_fstream.h: Likewise.
5618 * include/bits/std_functional.h: Likewise.
5619 * include/bits/std_iomanip.h: Likewise.
5620 * include/bits/std_ios.h: Likewise.
5621 * include/bits/std_iosfwd.h: Likewise.
5622 * include/bits/std_iostream.h: Likewise.
5623 * include/bits/std_istream.h: Likewise.
5624 * include/bits/std_iterator.h: Likewise.
5625 * include/bits/std_list.h: Likewise.
5626 * include/bits/std_locale.h: Likewise.
5627 * include/bits/std_map.h: Likewise.
5628 * include/bits/std_memory.h: Likewise.
5629 * include/bits/std_numeric.h: Likewise.
5630 * include/bits/std_ostream.h: Likewise.
5631 * include/bits/std_queue.h: Likewise.
5632 * include/bits/std_set.h: Likewise.
5633 * include/bits/std_sstream.h: Likewise.
5634 * include/bits/std_stack.h: Likewise.
5635 * include/bits/std_stdexcept.h: Likewise.
5636 * include/bits/std_streambuf.h: Likewise.
5637 * include/bits/std_string.h: Likewise.
5638 * include/bits/std_utility.h: Likewise.
5639 * include/bits/std_valarray.h: Likewise.
5640 * include/bits/std_vector.h: Likewise.
5641 * include/bits/stringfwd.h: Likewise.
5642 * include/bits/type_traits.h: Likewise.
5643 * include/bits/valarray_array.h: Likewise.
5644 * include/bits/valarray_meta.h: Likewise.
5645
5646 2001-02-19 Andreas Jaeger <aj@suse.de>
5647
5648 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5649 Fix typo.
5650
5651 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
5652
5653 libstdc++/1734
5654 * include/bits/std_ostream.h: Replaced usage of
5655 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5656 * include/bits/char_traits.h: Removed non-standard
5657 methods that cannot be used elsewhere.
5658
5659 libstdc++/1885
5660 * include/bits/basic_ios.h: Uncommented #include of
5661 bits/basic_ios.tcc
5662
5663 libstdc++/1897
5664 * include/bits/codecvt.h: See next...
5665 * include/bits/fstream.tcc: See next...
5666 * include/bits/ostream.tcc: Add __extension__
5667 to variable-length arrays.
5668
5669 libstdc++/1967
5670 * include/bits/localefwd.h: Changed int counter type to size_t.
5671
5672 libstdc++/1968
5673 * include/bits/std_fstream.h: Added typedef for __ctype_type.
5674
5675 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
5676
5677 * testsuite/21_strings/char_traits.cc: Move to ...
5678 * testsuite/21_strings/char_traits_requirements.cc: ..here.
5679 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5680 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5681
5682 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
5683
5684 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5685 definitions.
5686
5687 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5688
5689 * include/bits/c++config: Revert.
5690
5691 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5692
5693 * include/bits/istream.tcc: Use ios_base::iostate in place of
5694 iostate throughout. Insert `typename' keyword where necessary.
5695 * include/bits/ostream.tcc: Insert `typename' keyword where
5696 necessary.
5697
5698 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
5699
5700 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5701 Define so library is compliant.
5702
5703 2001-02-15 Anthony Green <green@redhat.com>
5704
5705 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5706 compilation.
5707 * aclocal.m4: Regenerate.
5708 * configure: Regenerate.
5709
5710 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
5711
5712 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5713 Include ieeefp.h for fpclass on UnixWare{2,7}.
5714 * aclocal.m4: Regenerate.
5715 * configure: Regenerate.
5716 * mkcheck.in (size_command): Do without GNU-grep when using
5717 size from binutils.
5718
5719 2001-02-15 Mark Mitchell <mark@codesourcery.com>
5720
5721 Remove old ABI support from libsupc++.
5722 * libsupc++/cxxabi.h: Remove conditionally compiled code.
5723 * libsupc++/exception_support.cc: Likewise.
5724 * libsupc++/pure.cc: Likewise.
5725 * libsupc++/tinfo.cc: Likewise.
5726 * libsupc++/tinfo.h: Likewise.
5727 * libsupc++/tinfo2.cc: Likewise.
5728 * libsupc++/typeinfo: Likewise.
5729 * libsupc++/vec.cc: Likewise.
5730
5731 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
5732
5733 Add support for -fno-exceptions.
5734 * include/bits/exception_support.h: Remove.
5735 * include/bits/basic_string.h: Remove exception_support.
5736 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5737 (string::at): Same.
5738 (string::substr): Same.
5739 * include/bits/basic_string.tcc (string::reserve): Replace
5740 __LENGTHERROR with __throw_length_error.
5741 (string::_S_create): Same.
5742 (string::resize): Same.
5743 (string::_M_replace): Same.
5744 (string::replace): Same.
5745 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5746 (string::compare): Same.
5747 * include/bits/stl_vector.h: Remove exception_support.
5748 * src/Makefile.am (base_headers): Remove here.
5749 * src/Makefile.in: Regenerate.
5750
5751 * include/bits/stl_range_errors.h: Remove.
5752 * include/bits/stl_deque.h: Use __throw_range_error.
5753 * include/bits/std_deque.h: Include functexcept.h.
5754 * include/bits/std_vector.h: Same.
5755 * src/Makefile.am (base_headers): Remove here.
5756 * src/Makefile.in: Regenerate.
5757 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5758 * include/ext/bvector: Remove stl_range_errors.h
5759
5760 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5761
5762 * include/bits/functexcept.h: New file.
5763 * src/functexcept.cc: New file. Definitions for function-based
5764 exception routines.
5765 * src/Makefile.am (sources): Add functexcept.cc.
5766 * src/Makefile.in: Regenerate.
5767
5768 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5769 __EXCEPTIONS.
5770
5771 * include/bits/localefwd.h: Include functexcept.h.
5772 * include/bits/std_iosfwd.h: Same.
5773
5774 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5775 throw basic_ios::failure.
5776 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5777 Use __throw_exception_again.
5778 (filebuf::_M_filebuf_init): Same.
5779 * include/bits/streambuf.tcc (__copy_streambufs): Same.
5780 * include/bits/ostream.tcc (ostream::operator<<): Same.
5781 * include/bits/istream.tcc (istream::operator>>): Same.
5782 * include/bits/basic_string.tcc (string::_M_mutate): Same.
5783 (string::_S_construct): Same.
5784 (string::_M_clone): Same.
5785 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5786 __throw_bad_cast.
5787 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5788 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5789 __throw_exception_again.
5790 (locale::_Imp::_Imp(string, size_t): Same.
5791 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5792 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5793 (locale::locale(const char*)): Use __throw_runtime_error.
5794 (locale::classic): Use __throw_exception_again.
5795 (locale::_S_normalize_category): Use __throw_runtime_error.
5796
5797 * src/stdexcept.cc: Remove cruft.
5798
5799 * libsupc++/exception_defines.h: New file.
5800 * libsupc++/new_opnt.cc: Include exception_defines.h.
5801 * libsupc++/vec.cc: Same.
5802 (__cxa_vec_new2): Use __throw_exception_again.
5803 (__cxa_vec_new3): Same.
5804 (__cxa_vec_ctor): Same.
5805 (__cxa_vec_delete3): Same.
5806 (__cxa_vec_cctor): Same.
5807 (__cxa_vec_delete2): Same.
5808 (__cxa_vec_dtor): Same.
5809 * libsupc++/exception_support.cc: Include exception_defines.h. Only
5810 compile exception-handling bits if __EXCEPTIONS is defined.
5811 Remove old ABI support.
5812 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5813 std::__throw_bad_alloc() instead of throw bad_alloc.
5814 * libsupc++/Makefile.am: Add exception_defines.h.
5815 * libsupc++/Makefile.in: Reformat.
5816 * libsupc++/*: Format.
5817
5818 2001-02-15 Phil Edwards <pme@sources.redhat.com>
5819
5820 * docs/html/configopts.html: Minor updates and typo fixes.
5821 * docs/html/faq/index.html: Updates of the "not really bugs" list.
5822 * docs/html/faq/index.txt: Regenerated.
5823
5824 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
5825
5826 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5827 dejagnu/dg.exp. Adapt to log options used to run testcases.
5828
5829 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5830
5831 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5832 dejagnu/dg.exp.
5833
5834 2001-02-13 Dirk Mueller <dmuell@gmx.net>
5835 Phil Edwards <pme@sources.redhat.com>
5836
5837 * include/backward/function.h: Do not use rel_ops for older
5838 headers either.
5839 * include/backward/pair.h: Likewise.
5840
5841 2001-02-12 Mark Mitchell <mark@codesourcery.com>
5842
5843 * src/locale.cc: Remove bogus locale::id definitions.
5844
5845 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5846
5847 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5848 not _DEFINE_VALARRAY_OPERATOR which is not existent.
5849
5850 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5851 thinko in member initialisation.
5852
5853 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5854
5855 * include/bits/std_valarray.h(valarray<>::shift): Avoid
5856 comparaison between signed and unsigned integer types.
5857 (valarray<>::cshift): Reformat.
5858
5859 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
5860
5861 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5862 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5863 * configure.in: Test for sigsetjmp.
5864 * configure, config.h.in: Rebuilt.
5865
5866 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5867
5868 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5869 lengths and strides.
5870 (__gslice_to_index): Document.
5871
5872 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
5873
5874 * include/bits/char_traits.h char_traits<char>::int_type: Change
5875 to `int' to match 21.1.3.1/2.
5876
5877 * testsuite/21_strings/char_traits-int_type.C: New test.
5878
5879 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
5880
5881 * testsuite/Makefile.am: New file.
5882
5883 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
5884
5885 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5886
5887 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
5888
5889 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5890
5891 2001-02-08 David Edelsohn <edelsohn@gnu.org>
5892
5893 * configure.target (aix4*): Remove extra set of brackets.
5894
5895 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
5896
5897 Clean up stdexcept.
5898 * include/bits/stringfwd.h: New file.
5899 * include/bits/stl_string_fwd.h: Remove.
5900 * include/bits/localefwd.h: Remove declaration for allocator.
5901 * include/bits/std_iosfwd: Same.
5902 * include/bits/std_string.h: Include it.
5903 * include/bits/std_ios.h: Remove include.
5904 * include/bits/basic_string.h: Tweak.
5905 * libsupc++/new: Format.
5906 * src/Makefile.am (base_headers): Add stringfwd.h, remove
5907 stl_string_fwd.h
5908 * src/Makefile.in: Regenerate.
5909 * include/bits/std_stdexcept.h: Rewrite.
5910 * src/stdexcept.cc: Same.
5911
5912 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5913
5914 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5915 install locations too.
5916 * aclocal.m4: Regenerate.
5917 * configure.in: Remove USE_LIBDIR.
5918 * configure: Regenerate.
5919 * src/Makefile.am (toolexecdir): Simplify, use
5920 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5921 * src/Makefile.in: Regenerate.
5922 * libsupc++/Makefile.am: Same.
5923 * libsupc++/Makefile.in: Regenerate.
5924
5925 * src/Makefile.am: Just remove special rules for locale-inst.cc and
5926 misc-inst.cc as no longer necessary.
5927
5928 Follow C++STYLE for naming non-static functions.
5929 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5930 __pad_char.
5931 * include/bits/streambuf.tcc: Same.
5932 * include/bits/ostream.tcc: Same.
5933 * include/bits/istream.tcc: Same.
5934 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5935 (_S_output_float): To __output_float.
5936 * include/bits/std_streambuf.h (_S_copy_streambufs): To
5937 __copy_streambufs.
5938 * include/bits/locale_facets.tcc (_S_build_float_format): To
5939 __build_float_format.
5940 (_S_format): To __output_integer.
5941 (_S_fill): To __pad.
5942 * src/locale.cc: Same.
5943 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5944 names.
5945 * include/bits/locale_facets.tcc (_S_group_digits): To
5946 __group_digits.
5947 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5948 for collate, numpunct.
5949
5950 2001-02-06 Phil Edwards <pme@sources.redhat.com>
5951
5952 * docs/html/configopts.html: Fix HTML markup.
5953 * docs/html/install.html: Bring up to date.
5954 * docs/html/17_intro/C++STYLE: Add global variable conventions.
5955 * docs/html/21_strings/howto.html: More notes.
5956 * docs/html/22_locale/howto.html: Fix HTML markup.
5957 * docs/html/27_io/howto.html: More notes.
5958 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
5959 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
5960
5961 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
5962
5963 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5964 to match header files.
5965 (_S_output_float): Likewise.
5966 (_S_copy_streambufs): Likewise.
5967
5968 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
5969 Phil Edwards <pme@sources.redhat.com>
5970
5971 * include/bits/std_istream.h (op>> signed,unsigned char): Must
5972 use reinterpret_cast, not static_cast.
5973
5974 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
5975
5976 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5977 * aclocal.m4: Regenerate.
5978 * configure: Regenerate.
5979
5980 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5981
5982 * include/bits/locale_facets.h (class moneypunct): Fix typos.
5983 * libsupc++/pure.cc: Revert.
5984
5985 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
5986
5987 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
5988 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
5989 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
5990 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
5991 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
5992 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
5993 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
5994 * aclocal.m4: Regenerate.
5995 * configure: Regenerate.
5996
5997 2001-02-05 Mark Mitchell <mark@codesourcery.com>
5998
5999 * include/bits/locale_facets.tcc: Remove `static' keyword on
6000 function definitions.
6001 * include/bits/std_streambuf.h: Likewise.
6002 * src/Makefile.am: Remove use of -fimplicit-templates.
6003 * src/Makefile.in: Regenerated.
6004 * src/locale-inst.cc: Explicitly instantiate more functions.
6005 * src/misc-inst.cc: Likewise.
6006 * src/string-inst.cc: Likewise.
6007
6008 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6009
6010 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6011 macro. Consolidate all the bits to do with where includes might be
6012 installed.
6013 * aclocal.m4: Regenerate.
6014 * configure.in: Use it.
6015 * configure: Regenerate.
6016 * src/Makefile.am (targetincludep): Use simplified rules.
6017 (targetincludep): Rename gxx_target_include_dir.
6018 (myincludep): Rename gxx_include_dir.
6019 * src/Makefile.in: Regenerate.
6020 * libsupc++/Makefile.am: Use simplified rules.
6021 * libsupc++/Makefile.in: Regenerate.
6022
6023 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
6024
6025 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6026 * include/c_std/bits/std_cctype.h: Same.
6027 * include/c_std/bits/std_cassert.h: Same.
6028 * include/c_std/bits/std_cstdarg.h: Same.
6029 * include/c_std/bits/std_cstddef.h: Same.
6030
6031 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6032 namespace std.
6033 * include/c_std/bits/std_ctime.h: Same.
6034 * include/c_std/bits/std_clocale.h: Same.
6035 * include/c_std/bits/std_cmath.h: Same.
6036 * include/c_std/bits/std_csetjmp.h: Same.
6037 * include/c_std/bits/std_csignal.h: Same.
6038 * include/c_std/bits/std_cstring.h: Same.
6039 * include/c_std/bits/std_cstdlib.h: Same.
6040 * include/c_std/bits/std_cwchar.h: Same.
6041
6042 2001-02-05 Phil Edwards <pme@sources.redhat.com>
6043
6044 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
6045
6046 2001-02-05 Mark Mitchell <mark@codesourcery.com>
6047
6048 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6049 (string::_S_construct): Likewise.
6050
6051 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
6052
6053 * testsuite/config/default.exp: New file.
6054 * testsuite/config: New directory.
6055
6056 2001-02-04 Mark Mitchell <mark@codesourcery.com>
6057
6058 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6059 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6060 whenever !__GXX_MERGED_TYPEINFO_NAMES.
6061 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6062
6063 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6064 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6065
6066 * Makefile.am (mkinstalldirs): Set.
6067 * src/Makefile.am (mkinstalldirs): Set.
6068 * libmath/Makefile.am (mkinstalldirs): Set.
6069 * libsup++/Makefile.am (mkinstalldirs): Set.
6070 * libio/Makefile.am (mkinstalldirs): Set.
6071 * */Makefile.in: Regenerate.
6072
6073 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
6074
6075 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6076 * include/bits/localefwd.h: More initialization cleanups.
6077
6078 2001-02-03 Jeffrey A Law <law@cygnus.com>
6079
6080 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6081 correctly targets with 16bit ints.
6082 (_S_ios_openmode_end): Similarly.
6083 (_S_ios_iostate_end): Similarly.
6084 (_S_ios_Seekdir_end): Similarly.
6085
6086 2001-02-02 Phil Edwards <pme@sources.redhat.com>
6087
6088 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
6089
6090 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6091
6092 * configure.in (toplevel_srcdir, auxdir): Set.
6093 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6094 * aclocal.m4, configure, Makefile.in: Rebuilt.
6095 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6096 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6097 * libsupc++-v3/Makefile.in: Rebuilt.
6098 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6099 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6100
6101 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
6102
6103 * config/c_locale_generic.cc: Remove langinfo include.
6104
6105 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
6106
6107 Preliminary named locales.
6108 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6109 * aclocal.m4: Regenerate.
6110 * configure.in: Use it.
6111 * configure: Regerate.
6112 * src/Makefile.am (sources): Add c++locale.cc.
6113 (build_headers): Add c++locale.h.
6114 * src/Makefile.in: Regenerate.
6115 * config/c_locale_gnu.h: New file.
6116 * config/c_locale_gnu.cc: New file. Non-inline member functions
6117 for named locales, gnu-specific.
6118 * config/c_locale_generic.h: New file.
6119 * config/c_locale_generic.cc: New file. Non-inline member
6120 functions for named locales, generic version.
6121 * docs/html/configopts.html: Add documentation on new options.
6122
6123 * include/bits/locale_facets.h (class _Messages): Remove.
6124 (class _Moneypunct): Remove.
6125 * src/locale-inst.cc: Remove.
6126
6127 * include/bits/locale_facets.h (class _Collate): Remove.
6128 * src/locale-inst.cc (std): Remove.
6129 * src/locale.cc: And here.
6130
6131 * include/bits/localefwd.h (locale::_M_coalesce): New
6132 function. Correctly put together multi-name locales.
6133 (_Impl(const _Impl&, category, size_t)): Remove.
6134
6135 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6136 member functions.
6137 (_M_normalize_category_names): Remove.
6138 (_M_replace_categories): Fix.
6139
6140 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6141 (locale::_Impl::_M_construct_ctype): Remove.
6142 (locale::_Impl::_M_construct_monetary): Remove.
6143 (locale::_Impl::_M_construct_numeric): Remove.
6144 (locale::_Impl::_M_construct_time): Remove.
6145 (locale::_Impl::_M_construct_messages): Remove.
6146
6147 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6148 (_Use_facet_failure_handle): Remove.
6149 * src/locale.cc: Remove definitions.
6150 * src/locale-inst.cc: And here.
6151
6152 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6153
6154 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6155 create and error-check underlying locale object.
6156 (locale::facet::_S_destroy_c_locale): Add, take care of properly
6157 tearing down underlying locale object.
6158 * include/bits/localefwd.h (locale::facet): Declare.
6159 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6160 correctness, as glibc apparently has incorrect info in it. Test
6161 with it when it works again.....
6162
6163 * include/bits/localefwd.h (locale::_Impl::__vec_string):
6164 Remove. Number of categories is fixed at six, so just simplify and
6165 make this an array of strings.
6166 (locale::_Impl::_M_has_name): Remove.
6167 (locale::_Impl::_M_name): Remove.
6168 (locale::_Impl::_M_category_names): Turns into...
6169 (locale::_Impl::_M_names): ...this.
6170 (locale::_Impl::_M_has_same_name()): New function.
6171 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6172 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6173 signature.
6174 * src/locale.cc (locale::name()): Construct mangled name
6175 accurately reflecting combined locale categories.
6176
6177 * src/locale.cc (locale::classic()): Don't initialize here.
6178 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6179 __refs, bool __has_name, string __str): Do it here.
6180
6181 * include/bits/localefwd.h: _S_categories_num to
6182 _S_num_categories. _S_facets_num to _S_num_facets.
6183 (locale::id::id()): Explicitly set _M_index to zero.
6184 * src/locale.cc: Same.
6185
6186 * src/locale.cc: (locale::locale(const char*)): Construct named
6187 locales uniquely.
6188
6189 * src/locale.cc: Remove numpunct_byname ctors.
6190 * testsuite/22_locale/numpunct_byname.cc: New file.
6191 * testsuite/22_locale/numpunct.cc: New file.
6192
6193 * include/bits/localefwd.h (class locale): Change data members to
6194 protected, from private.
6195 (_Impl::_M_get_c_locale): Add member function.
6196 (locale::facet::_M_get_global_impl()): Add member function.
6197 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6198 a __c_locale pointer.
6199 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6200 named locales.
6201 * testsuite/22_locale/members.cc: New file, test name and combine.
6202
6203 * include/bits/locale_facets.h (class numpunct): Remove class
6204 _Punct and _Numpunct. Rewrite class numpunct to be correct for
6205 named locales.
6206 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6207 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6208 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6209 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6210 * testsuite/22_locale/numpunct_char_members.cc: New file.
6211
6212 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
6213
6214 * testsuite/README: Add more comment.
6215 * testsuite/lib/libstdc++.exp: Tweak comment.
6216
6217 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
6218
6219 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6220
6221 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
6222
6223 * testsuite/21_strings/inserters_extractors.cc: Remove
6224 explicit reference to 'testsuite/'.
6225
6226 2001-01-25 Richard Henderson <rth@redhat.com>
6227
6228 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6229 bits. Fixes Tru64 build issues.
6230
6231 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6232
6233 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6234 (use ${MAKE-make}, not ${MAKE:-make}).
6235 * aclocal.m4, configure: Regenerate.
6236
6237 2001-01-25 Mark Mitchell <mark@codesourcery.com>
6238
6239 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6240 checkin.
6241
6242 * src/Makefile.am (sources): Add globals.cc.
6243 * src/Makefile.in: Regenerated.
6244 * src/globals.cc: New file.
6245 * src/ios.cc (cin): Don't define here, just declare extern.
6246 (cout): Likewise.
6247 (cerr): Likewise.
6248 (clog): Likewise.
6249 (wcin): Likewise.
6250 (wcout): Likewise.
6251 (wcerr): Likewise.
6252 (wclog): Likewise.
6253
6254 2001-01-25 Phil Edwards <pme@sources.redhat.com>
6255
6256 * include/bits/std_iterator.h: Do not include stl_relops.h.
6257 * include/bits/std_numeric.h: Ditto.
6258 * include/bits/stl_algobase.h: Ditto.
6259 * include/bits/stl_relops.h: Add comment warning about problems.
6260
6261 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
6262
6263 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6264 in testcases. Prepare for the DejaGnu based framework.
6265 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
6266 directory -- it is now mkcheck working directory.
6267 * tests_flags.in: Remove reference to $(top_srcdir). Use
6268 ${SRC_DIR} instead.
6269 * Makefile.am (check, check-install): Change mkcheck invocation
6270 logic.
6271 * Makefile.in: Regenerate.
6272
6273 2001-01-24 Mark Mitchell <mark@codesourcery.com>
6274
6275 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6276 (__always_swap): Likewise.
6277
6278 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6279
6280 * libsupc++/exception_support.cc (__terminate_func): Remove
6281 declaration.
6282 (__terminate_func_ptr): New typedef.
6283 (__terminate, __terminate_set_func): New extern function
6284 prototypes.
6285 (std::terminate): Use __terminate function.
6286 (std::set_terminate): Use __terminate_set_func function.
6287
6288 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
6289
6290 * configure.target: Just use os_include_dir always.
6291 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6292 Link atomicity files and ctype files here.
6293 * configure: Regenerate.
6294 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6295 (GLIBCPP_ENABLE_ATOMICITY): Remove.
6296 * aclocal.m4: Regenerate.
6297
6298 2001-01-23 Chris Demetriou <cgd@broadcom.com>
6299
6300 * configure.in: Place definition of MULTISUBDIR in
6301 libsupc++/Makefile as is done for src/Makefile.
6302 * configure: Regenerate.
6303
6304 2001-01-23 Phil Edwards <pme@sources.redhat.com>
6305
6306 * acinclude.m4: Cosmetic changes only.
6307 * aclocal.m4: Regenerated.
6308 * configure: Regenerated.
6309 * configure.target: Update documented list of changed variables.
6310 * docs/html/install.html: Fix typo.
6311 * docs/html/20_util/howto.html: More notes on auto_ptr.
6312 * docs/html/27_io/howto.html: More notes on streabufs.
6313 * docs/html/faq/index.html: Add rel_ops problem and mention the
6314 DEC as(1) .subsection difficulty.
6315 * docs/html/faq/index.txt: Regenerated.
6316
6317 2001-01-23 Mark Mitchell <mark@codesourcery.com>
6318
6319 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6320 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6321 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6322 its already provided in config.target.
6323 * aclocal.m4: Regenerated.
6324 * configure: Likewise.
6325 * configure.target: Set ctype_include_dir for lots of systems.
6326 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6327 * libsupc++/Makefile.in: Regenerated.
6328
6329 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
6330
6331 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
6332 keyword capability.
6333
6334 * testsuite/README: Add comment.
6335
6336 2001-01-21 Phil Edwards <pme@sources.redhat.com>
6337
6338 * docs/html/configopts.html: Update for current status. Fix HTML.
6339 * docs/html/install.html: Update for current status.
6340
6341 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6342
6343 * testsuite/libstdc++.tests/tests.exp: New file.
6344 * testsuite/lib/libstdc++.exp: Itou.
6345 * testsuite/README: Itou.
6346
6347 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
6348
6349 * tests_flags.in: Just output the bare minimum to run tests.
6350 Let's the caller do its own arrangement.
6351
6352 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
6353 computations.
6354
6355 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
6356
6357 * testsuite/17_intro: Prepare testcases for new style DejaGnu
6358 framework.
6359
6360 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
6361
6362 * testsuite/libstdc++.tests, testsuite/lib: New directories.
6363
6364 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
6365
6366 * mkcheck.in: Construct file names that match $objdir structure.
6367 * testsuite/27_io/filebuf_members-1.txt: New file.
6368 * testsuite/27_io/ifstream_members-1.txt: New file.
6369 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6370
6371 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6372 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6373
6374 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6375
6376 * testsuite/27_io/istream_sentry.cc (test02): Fix.
6377
6378 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
6379
6380 libstdc++/1605
6381 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6382 * src/ios.cc (ios_base::failure): Make definitions match.
6383 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6384 (class bad_cast): Same.
6385 * libsupc++/exception (class exception): Add throw specs.
6386 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6387 (set_unexpected): Same.
6388 (uncaught_exception): Same.
6389 (what): Same.
6390
6391 * docs/html/17_intro/C++STYLE (classname): Fix.
6392
6393 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6394
6395 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6396 Use it do explicitly instantiate predicate<T> and value<T> for
6397 all the builtin Ts.
6398
6399 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
6400
6401 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6402 uninitialized thinko in last change.
6403
6404 2001-01-16 Mark Mitchell <mark@codesourcery.com>
6405
6406 * libsupc++/exception_support.cc (__cp_pop_exception): Change
6407 prototype.
6408
6409 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
6410
6411 * docs/html/17_intro/C++STYLE (classname): Add more existing
6412 and stylish patterns.
6413
6414 libstdc++/944
6415 * include/bits/istream.tcc (istream::sentry::sentry()): Set
6416 failbit if the state of the stream is not good.
6417 * testsuite/27_io/istream_sentry.cc (test02): Add test.
6418 * testsuite/27_io/istream_manip.cc (test01): Modify.
6419
6420 libstdc++/1019
6421 reported by Paolo Carlini <pcarlini@unitus.it>
6422 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6423 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6424
6425 libstdc++/1057
6426 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6427 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6428 (xsgetn): Same. Simplify.
6429 * testsuite/27_io/streambuf.cc (test04): Add testcases.
6430
6431 reported by Larry Evans <jcampbell3@prodigy.net>
6432 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6433 equality with eof on returned value from overflow.
6434
6435 2001-01-14 Andreas Jaeger <aj@suse.de>
6436
6437 * libio/libio.h: Add test for glibc 2.0.
6438
6439 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
6440
6441 * config/os/djgpp/bits/*: Fix dates.
6442
6443 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6444 _CharT* __end, _CharT __c): Remove.
6445 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6446 * include/bits/char_traits.h: Tweak.
6447
6448 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
6449
6450 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6451 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6452 bash bug.
6453 * aclocal.m4: regenerated.
6454 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6455 * configure: regenerated.
6456 * config/os/djgpp, config/os/djgpp/bits: new directories.
6457 * config/os/djgpp/bits/ctype_base.h,
6458 config/os/djgpp/bits/ctype_inline.h,
6459 config/os/djgpp/bits/ctype_noninline.h,
6460 config/os/djgpp/bits/os_defines.h: new files.
6461
6462 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
6463
6464 * include/c_std/bits/std_cstdio.h: Undef printf.
6465
6466 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
6467
6468 * src/ios.cc: Fix typo: change cout->wcout.
6469
6470 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6471 * src/Makefile.in: Regenerate.
6472
6473 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6474
6475 * include/bits/std_complex.h: Fix a typo.
6476
6477 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
6478 <kainz@ilm.com>
6479
6480 Fixes for libstdc++/1576
6481 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6482 file, move contents into....
6483 * src/ios.cc: ...Here. Put defines for iostreams objects and
6484 initialization routines into one file to simplify DSO interaction.
6485 * include/bits/std_iostream.h: Touch.
6486 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6487 * src/Makefile.am (sources): Remove stdstreams.cc.
6488 * src/Makefile.in: Regenerate.
6489
6490 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
6491
6492 * tests_flags.in (check_directory): Fix typo.
6493
6494 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
6495
6496 * include/bits/std_complex.h: Fix a typo.
6497
6498 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
6499
6500 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6501 code path:) Remove magic constants and restructure to handle
6502 ctype.h bit mask layout changes more gracefully. (Make fast
6503 code path:) Use __maskrune (), if available.
6504 (is): Remove special case for digit and xdigit masks.
6505
6506 2001-01-09 Robert Lipe <robertlipe@usa.net>
6507
6508 * include/c_std/bits/std_ctime.h: Undefine difftime.
6509
6510 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6511
6512 * src/gen-num-limits.cc (signal_adapter): New template function.
6513 (signal_handler): Use it, instead of signal.
6514 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
6515 require both tests to trap to set trap_flag.
6516
6517 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6518
6519 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6520 initialize mbstate_t member, name offset data members *off, not pos.
6521 * include/bits/fstream.tcc (filebuf::filebuf): Same.
6522
6523 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
6524
6525 reported by Chris G. Demetriou <cgd@sibyte.com>
6526 * configure.in: Change -linux-* to -linux*.
6527 * configure: Regenerate.
6528
6529 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
6530
6531 Fix 27_io/filebuf_members.cc
6532 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6533 const string& __name, category __cat, size_t __refs): Set
6534 _M_has_name with _M_name.
6535 * include/bits/localefwd.h (locale::operator!=): Protect member
6536 function call with this->.
6537 * src/locale.cc (locale::operator==): Make fast checks first.
6538 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6539
6540 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6541 to ios_base::Init.
6542 * src/ios.cc (ios_base::Init::Init): Initialize here.
6543 (ios_base::sync_with_stdio): Set here.
6544
6545 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
6546
6547 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6548 systems that support it, call dup() before fdopen().
6549
6550 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
6551
6552 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6553 * testsuite/17_intro/header_cwctype.cc (main): New file.
6554
6555 * src/Makefile.am (base_headers): Change.
6556 * include/bits/std_string.h: And here.
6557 * include/bits/string.tcc: Tweaks, move to...
6558 * include/bits/basic_string.tcc: ...Here.
6559 * src/string-inst.cc: Simplify, just instantiate the whole class,
6560 not member-by-member.
6561
6562 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
6563
6564 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6565 * aclocal.m4: Regenerate.
6566 * configure: Regenerate.
6567
6568 * include/bits/c++config (__GLIBCPP__): Bump version number.
6569
6570 * ChangeLog: Start new log for year 2001
6571 * ChangeLog-2000: New file.
6572
6573 * docs/html/configopts.html: Make sure default values are current,
6574 add commentary.
6575
6576 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
6577
6578 * include/c_std/bits/std_cwchar.h: Same.
6579 * testsuite/17_intro/header_cwchar.cc: Same.
6580 * include/c_std/bits/std_ctime.h: Same.
6581 * testsuite/17_intro/header_ctime.cc: Same.
6582 * include/c_std/bits/std_cstdlib.h: Same.
6583 Clean up undefs, make consistent with cwchar and cmath, etc.
6584 * testsuite/17_intro/header_cstdlib.cc: Same.
6585 * include/c_std/bits/std_cstdio.h: Same here.
6586 * testsuite/17_intro/header_cstring.cc: Same.
6587 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6588 * testsuite/17_intro/header_cstring.cc: New file. Check for
6589 size_t in namespace std.
6590
6591 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6592 * acconfig.h (HAVE_MBSTATE_T): Add.
6593 * config.h.in: Regenerate.
6594 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6595 mbstate_t.
6596 * aclocal.m4: Regenerate.
6597 * configure: Regenerate.
6598 * testsuite/17_intro/headers_c++.cc: New file.
6599 * testsuite/17_intro/headers_c.cc: Small changes.
6600
6601 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
6602
6603 * tests_flags.in: Fix typo in usage.
6604
6605 * tests_flags.in: Set target specific LIBS for cygwin.