1 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
3 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4 find_first_of, find_last_of and find_last_not_of tests.
5 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
7 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
8 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
9 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
10 wchar_t find_first_of tests here, new file.
11 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
13 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
15 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
16 wchar_t find_last_of tests here.
17 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
18 wchar_t find_last_not_of tests here.
20 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
22 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
25 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
28 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
29 * include/std/std_complex.h (norm): Use faster,
30 less accurate computation for builtin float types under --fast-math.
32 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
34 * testsuite/testsuite_hooks.h: Fix warning nits.
36 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
38 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
39 Only .set mips2 for the o32 ABI.
41 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
43 * testsuite/21_strings/char_traits/requirements/char/1.cc:
44 Test char not wchar_t.
46 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
48 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
49 Correct size, taking into account sizeof(wchar_t).
51 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
53 Reshuffle 21_strings testsuite.
54 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
55 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
56 element_access.cc, operations.cc, char_traits_requirements.cc,
57 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
58 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
59 wchar_t tests as follows.
60 * 21_strings/basic_string/append/char/1.cc: New.
61 * 21_strings/basic_string/append/wchar_t/1.cc: New.
62 * 21_strings/basic_string/assign/char/1.cc: New.
63 * 21_strings/basic_string/assign/char/2.cc: New.
64 * 21_strings/basic_string/assign/char/3.cc: New.
65 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
66 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
67 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
68 * 21_strings/basic_string/capacity/1.cc: New.
69 * 21_strings/basic_string/capacity/char/1.cc: New.
70 * 21_strings/basic_string/capacity/char/2.cc: New.
71 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
72 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
73 * 21_strings/basic_string/compare/char/1.cc: New.
74 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
75 * 21_strings/basic_string/cons/char/1.cc: New.
76 * 21_strings/basic_string/cons/char/2.cc: New.
77 * 21_strings/basic_string/cons/char/3.cc: New.
78 * 21_strings/basic_string/cons/char/4.cc: New.
79 * 21_strings/basic_string/cons/char/5.cc: New.
80 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
81 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
82 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
83 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
84 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
85 * 21_strings/basic_string/element_access/char/1.cc: New.
86 * 21_strings/basic_string/element_access/char/2.cc: New.
87 * 21_strings/basic_string/element_access/char/3.cc: New.
88 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
89 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
90 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
91 * 21_strings/basic_string/find/char/1.cc: New.
92 * 21_strings/basic_string/find/wchar_t/1.cc: New.
93 * 21_strings/basic_string/insert/char/1.cc: New.
94 * 21_strings/basic_string/insert/char/2.cc: New.
95 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
96 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
97 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
98 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
99 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
100 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
101 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
102 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
103 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
104 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
105 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
106 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
107 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
108 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
109 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
110 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
111 * 21_strings/basic_string/operators/char/1.cc: New.
112 * 21_strings/basic_string/operators/char/2.cc: New.
113 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
114 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
115 * 21_strings/basic_string/replace/char/1.cc: New.
116 * 21_strings/basic_string/replace/char/2.cc: New.
117 * 21_strings/basic_string/replace/char/3.cc: New.
118 * 21_strings/basic_string/replace/char/4.cc: New.
119 * 21_strings/basic_string/replace/char/5.cc: New.
120 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
121 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
122 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
123 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
124 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
125 * 21_strings/basic_string/rfind/char/1.cc: New.
126 * 21_strings/basic_string/rfind/char/2.cc: New.
127 * 21_strings/basic_string/rfind/char/3.cc: New.
128 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
129 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
130 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
131 * 21_strings/basic_string/substr/char/1.cc: New.
132 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
133 * 21_strings/c_strings/char/1.cc: New.
134 * 21_strings/c_strings/char/2.cc: New.
135 * 21_strings/c_strings/wchar_t/1.cc: New.
136 * 21_strings/c_strings/wchar_t/2.cc: New.
137 * 21_strings/char_traits/requirements/char/1.cc: New.
138 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
139 * 21_strings/char_traits/typedefs/char/1.cc: New.
141 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
142 Petur Runolfsson <peturr02@ru.is>
145 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
146 basic_filebuf<wchar_t>::_M_underflow_common):
147 if (gptr() < egptr()) return *gptr().
148 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
150 * testsuite/27_io/filebuf_members.cc (test_04): Minor
151 changes: unlink fifo before making it, fix spelling error.
153 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
155 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
156 * testsuite/Makefile.in: Regenerate.
157 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
160 2003-03-17 Petur Runolfsson <peturr02@ru.is>
163 * include/bits/fstream.tcc (basic_filebuf::close):
164 Always close file, even when write fails.
165 * testsuite/27_io/filebuf_members.cc (test_07): New test.
167 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
169 * libsupc++/Makefile.am (C_COMPILE): Remove.
170 (LTCOMPILE): Likewise.
171 * libsupc++/Makefile.in: Regenerate.
173 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
175 * testsuite/23_containers/bitset_members.cc: Add test variable.
176 * testsuite/23_containers/map_insert.cc: Same.
177 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
178 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
179 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
180 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
181 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
182 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
183 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
184 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
185 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
186 * testsuite/27_io/istream_exception.cc: Same.
187 * testsuite/27_io/filebuf_virtuals.cc: Same.
188 * testsuite/27_io/stringbuf_virtuals.cc: Same.
189 * testsuite/27_io/ostream_inserter_arith.cc: Same.
190 * testsuite/26_numerics/valarray_operators.cc: Same.
191 * testsuite/26_numerics/slice.cc: Same.
192 * testsuite/26_numerics/slice_array_assignment.cc: Same.
193 * testsuite/24_iterators/istream_iterator.cc: Same.
194 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
196 2003-03-14 Petur Runolfsson <peturr02@ru.is>
200 * config/locale/generic/ctype_members.cc,
201 * config/locale/gnu/ctype_members.cc
202 (ctype<wchar_t>::do_widen(char)): Cast argument to
203 unsigned char before passing to btowc.
204 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
205 Convert characters with btowc instead of mbsrtowcs.
206 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
208 Convert characters with wctob instead of wcsrtombs.
209 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
210 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
211 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
213 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
215 * include/stdc++.h: New.
216 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
217 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
218 * include/Makefile.in: Regenerate.
219 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
220 (--cxxflags): Put -g -O2 here.
221 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
223 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
225 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
226 missing named locale.
228 2003-03-14 Andreas Schwab <schwab@suse.de>
230 * configure.in: Only append to makefiles that are newly created to
231 avoid multiple multi-do/multi-clean rules.
232 * configure: Rebuilt.
234 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
236 * docs/html/configopts.html, docs/html/documentation.html,
237 docs/html/explanations.html, docs/html/install.html,
238 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
239 invalid XHTML and make page header style consistent.
241 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
243 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
244 * docs/html/faq/index.txt: Regenerate.
245 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
247 2003-03-12 Andreas Schwab <schwab@suse.de>
249 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
250 glibcpp_toolexeclibdir.
251 * aclocal.m4, configure: Rebuilt.
253 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
255 * docs/html/faq/index.html: Update text about location of headers.
256 * docs/html/faq/index.txt: Regenerate.
258 2003-03-11 Carlo Wood <carlo@alinoe.com>
260 * include/bits/demangle.h: Prepend accessors of
261 class qualifier with 'get_' in order to fix warnings
262 when compiling with -Wshadow.
264 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
266 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
268 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
270 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
271 report lack of setenv().
273 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
275 * config/io/basic_file_stdio.cc: include <unistd.h>.
277 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
278 Nathan Myers <ncm@cantrip.org>
281 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
282 seekoff, seekpos): Add a boolean parameter __stdio.
283 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
284 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
285 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
287 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
288 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
289 * include/std/std_fstream.h (sync): Likewise.
290 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
291 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
292 libstdc++/8399 commit involving isatty(0).
293 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
294 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
295 * configure.in: Remove call.
296 * aclocal.m4: Regenerate.
297 * config.h.in: Regenerate.
298 * configure: Regenerate.
299 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
301 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
304 * include/bits/fstream.tcc (overflow): don't write EOF to file.
305 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
307 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
310 * include/bits/basic_ios.h (_M_setstate): New.
311 * include/bits/ostream.tcc (operator<<): Use it.
312 * include/bits/istream.tcc (operator>>): Use it.
313 * include/std/std_ostream.h (operator<<): Make friends.
314 * include/std/std_istream.h (operator>>): Make friends.
315 * testsuite/27_io/ostream_exception.cc,
316 testsuite/27_io/istream_exception.cc: New tests.
318 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
320 * include/bits/locale_facets.tcc: Fix typo.
322 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
324 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
326 * config/locale/generic/c_locale.cc
327 (locale::facet::_S_create_c_locale): Throw runtime exception when
328 unsupported language is specified.
329 * testsuite/testsuite_hooks.h
330 (run_test_wrapped_generic_locale_exception_catcher): New function.
331 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
332 Suppress runtime exception thrown by generic implementation.
333 (run_tests_wrapped_env): Likewise.
334 (run_test_wrapped_generic_locale_exception_catcher): New function.
335 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
336 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
337 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
338 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
339 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
340 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
341 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
342 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
343 * testsuite/22_locale/facet/2.cc: New test wrap.
344 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
345 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
346 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
347 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
348 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
349 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
350 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
351 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
352 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
353 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
354 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
355 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
356 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
357 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
358 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
359 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
360 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
361 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
362 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
363 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
364 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
365 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
366 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
367 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
368 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
369 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
370 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
371 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
372 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
373 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
374 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
375 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
376 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
377 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
378 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
379 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
380 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
381 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
382 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
383 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
384 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
385 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
386 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
387 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
388 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
389 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
390 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
391 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
392 * testsuite/27_io/ios_members.cc: New test wrap.
393 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
395 * testsuite/27_io/streambuf_members.cc: New test wrap.
396 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
398 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
399 Petur Runolfsson <peturr02@ru.is>
402 * include/bits/streambuf.tcc (__copy_streambufs): Use
403 sgetn-sputn only when sputn cannot fail, otherwise fall back
404 to safe snextc-sputc.
405 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
407 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
409 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
410 locale cache for truename and falsename.
412 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
414 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
415 _M_word_size initialization.
417 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
419 * include/bits/fstream.tcc (_M_convert_to_external):
420 Set __elen to zero if codecvt::out eventually fails.
422 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
425 * include/bits/fstream.tcc (_M_really_overflow): Check
426 for _M_convert_to_external possible failures.
427 * include/std/std_fstream.h (sync): Check _M_really_overflow
428 return value and return -1 in case of failure.
429 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
431 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
434 * include/bits/istream.tcc (operator>>(_CharT*),
435 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
436 * testsuite/27_io/stringstream.cc (test02): Add.
438 * include/bits/istream.tcc (operator>>(_CharT*)):
439 Assign a char_type to *__s.
441 2003-03-07 Petur Runolfsson <peturr02@ru.is>
444 * include/bits/locale_facets.tcc
445 (collate::do_compare, collate::do_transform):
446 Handle nul characters in input.
447 * testsuite/22_locale/collate/compare/char/3.cc: New test.
448 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
449 * testsuite/22_locale/collate/transform/char/3.cc: New test.
450 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
452 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
454 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
456 * testsuite/27_io/ostream_fail.cc: New test.
458 2003-03-07 Matthias Klose <doko@debian.org>
460 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
461 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
462 * Makefile.in: Regenerate.
463 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
465 AM_MAKEFLAGS: Pass gxx_include_dir.
466 * libsupc++/Makefile.in: Regenerate.
468 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
470 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
471 mask. Test setting small-numbered pword and iword slots. Test
472 behavior at limit of numeric_limits::max. Check that values are
473 still good after failures.
475 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
477 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
478 (ios_base::ios_base): Set _M_word, _M_word_size.
479 (ios_base::~ios_base): Remove redundant test.
480 * testsuite/27_io/ios_base_storage.cc (test03): New.
482 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
484 * src/strstream.cc, include/bits/basic_string.tcc: Remove
485 incorrect whitespace added in my previous change.
487 2003-03-05 Carlo Wood <carlo@alinoe.com>
489 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
490 _S_initialized() in order to allow debugging libraries to detect
491 when the std streams are initialized from an overloaded operator
494 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
496 * libsupc++/demangle.h: Move to..
497 * include/bits/demangle.h: ...here.
498 * src/demangle.cc: Adjust include.
499 * include/Makefile.am (bits_headers): Add.
500 * include/Makefile.in: Regenerate.
502 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
504 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
506 * config/linker-map.gnu: Filter typeinfo and vtable info.
508 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
510 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
511 new failure. Throw exception if badbit and exception mask when ix
512 >= numeric_limits<int>::max().
514 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
516 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
517 min and max have the same type.
518 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
520 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
522 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
523 * include/Makefile.in: Regenerate.
525 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
527 * testsuite/abi_check.cc (report_symbol_info): Add version info.
529 * config/linker-map.gnu: Hide more stuff.
530 * include/Makefile.am: Cleanups.
531 * include/Makefile.in: Regenerate.
533 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
535 * config/locale/generic/messages_members.h (messages::messages):
536 Remove name from unused parameter.
538 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
540 * src/Makefile.am (sources): Add demangle.cc.
543 * src/Makefile.in: Regenerate.
544 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
545 * libsupc++/Makefile.in: Regenerate.
547 * testsuite/testsuite_hooks.h
548 (__gnu_cxx_test::verify_demangle): New.
549 * testsuite/testsuite_hooks.cc: Define.
551 2003-02-27 Carlo Wood <carlo@alinoe.com>
553 * src/demangle.cc: New.
554 * libsupc++/demangle.h: New.
556 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
557 Carlo Wood <carlo@alinoe.com>
559 * testsuite/demangle/abi_examples/01.cc: New.
560 * testsuite/demangle/abi_examples/02.cc: New.
561 * testsuite/demangle/abi_examples/03.cc: New.
562 * testsuite/demangle/abi_examples/04.cc: New.
563 * testsuite/demangle/abi_examples/05.cc: New.
564 * testsuite/demangle/abi_examples/06.cc: New.
565 * testsuite/demangle/abi_examples/07.cc: New.
566 * testsuite/demangle/abi_examples/08.cc: New.
567 * testsuite/demangle/abi_examples/09.cc: New.
568 * testsuite/demangle/abi_examples/10.cc: New.
569 * testsuite/demangle/abi_examples/11.cc: New.
570 * testsuite/demangle/abi_examples/12.cc: New.
571 * testsuite/demangle/abi_examples/13.cc: New.
572 * testsuite/demangle/abi_examples/14.cc: New.
573 * testsuite/demangle/abi_examples/15.cc: New.
574 * testsuite/demangle/abi_examples/16.cc: New.
575 * testsuite/demangle/abi_examples/17.cc: New.
576 * testsuite/demangle/abi_examples/18.cc: New.
577 * testsuite/demangle/abi_examples/19.cc: New.
578 * testsuite/demangle/abi_examples/20.cc: New.
579 * testsuite/demangle/abi_examples/21.cc: New.
580 * testsuite/demangle/abi_examples/22.cc: New.
581 * testsuite/demangle/abi_examples/23.cc: New.
582 * testsuite/demangle/abi_examples/24.cc: New.
583 * testsuite/demangle/abi_examples/25.cc: New.
584 * testsuite/demangle/abi_examples/26.cc: New.
585 * testsuite/demangle/abi_text/01.cc: New.
586 * testsuite/demangle/abi_text/02.cc: New.
587 * testsuite/demangle/abi_text/03.cc: New.
588 * testsuite/demangle/abi_text/04.cc: New.
589 * testsuite/demangle/abi_text/05.cc: New.
590 * testsuite/demangle/abi_text/06.cc: New.
591 * testsuite/demangle/abi_text/07.cc: New.
592 * testsuite/demangle/abi_text/08.cc: New.
593 * testsuite/demangle/abi_text/09.cc: New.
594 * testsuite/demangle/abi_text/10.cc: New.
595 * testsuite/demangle/abi_text/11.cc: New.
596 * testsuite/demangle/abi_text/12.cc: New.
597 * testsuite/demangle/abi_text/13.cc: New.
598 * testsuite/demangle/abi_text/14.cc: New.
599 * testsuite/demangle/regression/3111-1.cc: New.
600 * testsuite/demangle/regression/3111-2.cc: New.
601 * testsuite/demangle/regression/7986-01.cc: New.
602 * testsuite/demangle/regression/7986-02.cc: New.
603 * testsuite/demangle/regression/7986-03.cc: New.
604 * testsuite/demangle/regression/7986-04.cc: New.
605 * testsuite/demangle/regression/7986-05.cc: New.
606 * testsuite/demangle/regression/7986-06.cc: New.
607 * testsuite/demangle/regression/7986-07.cc: New.
608 * testsuite/demangle/regression/7986-08.cc: New.
609 * testsuite/demangle/regression/7986-09.cc: New.
610 * testsuite/demangle/regression/7986-10.cc: New.
611 * testsuite/demangle/regression/7986-11.cc: New.
612 * testsuite/demangle/regression/7986-12.cc: New.
613 * testsuite/demangle/regression/7986.cc: New.
614 * testsuite/demangle/regression/8897.cc: New.
615 * testsuite/demangle/regression/cw-01.cc: New.
616 * testsuite/demangle/regression/cw-02.cc: New.
617 * testsuite/demangle/regression/cw-03.cc: New.
618 * testsuite/demangle/regression/cw-04.cc: New.
619 * testsuite/demangle/regression/cw-05.cc: New.
620 * testsuite/demangle/regression/cw-06.cc: New.
621 * testsuite/demangle/regression/cw-07.cc: New.
622 * testsuite/demangle/regression/cw-08.cc: New.
623 * testsuite/demangle/regression/cw-09.cc: New.
624 * testsuite/demangle/regression/cw-10.cc: New.
625 * testsuite/demangle/regression/cw-11.cc: New.
626 * testsuite/demangle/regression/cw-12.cc: New.
627 * testsuite/demangle/regression/cw-13.cc: New.
628 * testsuite/demangle/regression/cw-14.cc: New.
629 * testsuite/demangle/regression/old.cc: New.
631 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
633 * docs/doxygen/Intro.3: Update with new (proper) names.
634 * docs/doxygen/TODO: Update.
635 * docs/doxygen/run_doxygen: More comments, fix up man pages.
636 Fake entries for standard typedefs.
637 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
638 * docs/html/documentation.html: Top-level man page is now called
640 * include/std/std_limits.h: Doxygenate.
642 2003-02-25 Scott Snyder <snyder@fnal.gov>
645 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
646 Correct documentation.
647 * include/bits/stl_multimap.h (lower_bound, upper_bound,
648 equal_range): Likewise.
650 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
654 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
655 __bump is true (uflow), always increment the read pointer
656 (_M_in_cur) before returning successfully.
657 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
659 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
660 Nathan Myers <ncm@cantrip.org>
662 PR libstdc++/9404, PR libstdc++/9701 (partial)
663 (aka pptr == epptr implies overflow)
664 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
665 Consistently, _M_out_end points to the end of the buffer just
667 (overflow): Tweak to use _M_out_buf_size().
668 (_M_convert_to_external): The role of the old _M_out_end is
669 now played by _M_out_lim.
670 (_M_really_overflow): Likewise.
672 (setbuf): _M_out_end points to the end of the external buffer.
673 * include/bits/sstream.tcc (overflow): Rewrote, taking into
674 account the resolution of DR 169 (TC).
675 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
676 (seekpos): Use _M_string.capacity(); tweak.
677 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
678 * include/std/std_fstream.h (sync): The role of the old
679 _M_out_end is now played by _M_out_lim.
680 (_M_set_indeterminate): Use _M_set_determinate.
681 (_M_set_determinate): _M_out_end is now _M_out_lim.
682 (_M_is_indeterminate): Likewise.
683 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
684 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
685 which have the information readily available as _M_string.capacity();
686 for ate and app modes, pass the string size to _M_really_sync.
687 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
688 point to the end of the buffer (i.e., epptr) and to the string end,
690 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
691 which points to the right limit of the used put area.
692 (_M_out_cur_move): The role of the old _M_out_end is now played
694 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
695 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
697 (basic_streambuf()): Initialize _M_out_lim too.
698 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
699 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
700 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
702 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
704 * testsuite/27_io/ios_base_storage.cc (main): Call
707 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
709 * include/bits/locale_facets.tcc (_M_convert_float): Replace
710 numpunct facet accesses with data from __locale_cache.
712 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
714 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
715 * docs/html/faq/index.txt: Regenerate.
717 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
719 * config/linker-map.gnu: Also export locking symbols needed for the
720 generic atomicity.h case.
722 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
724 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
726 * configure: Rebuilt.
728 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
730 * include/bits/sstream.tcc (overflow): According to
731 27.7.1.3, p5, actual output is performed by sputc(c).
733 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
736 * include/bits/stl_alloc.h: Remove all traces of assert().
738 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
740 * include/std/std_sstream.h (str()): the size of the
741 current string may be different from the initial one
742 whenever _M_out_end > _M_out_beg.
743 * testsuite/27_io/stringbuf_members.cc (test07): Add.
745 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
748 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
750 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
752 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
753 * testsuite/27_io/ios_members.cc (test03): New.
755 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
757 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
758 (basic_ios::_M_cache_facets): Move into above.
759 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
761 (basic_ios::imbue): Force locale cache to be built.
762 (basic_ios::_M_init): Create and initialize locale cache.
763 * include/bits/ios_base.h (__locale_cache_base): Declare.
764 (ios_base::_M_locale_cache): New.
765 (ios_base::_M_cache): Define.
766 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
768 (__locale_cache_base,__locale_cache<_CharT>): New classes.
769 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
770 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
771 cache literal string, grouping flag, thousands separator.
772 (__locale_cache<_CharT>::__locale_cache): New.
773 (__locale_cache<_CharT>::_M_init): New.
774 * src/ios.cc: Clear _M_locale_cache in constructor.
775 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
778 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
780 * src/locale-inst.cc: Do not include <cassert>.
781 * src/locale.cc: Likewise.
783 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
786 * include/std/std_fstream.h: Declare underflow and uflow
787 specializations, change generic definitions to do nothing.
788 * src/fstream.cc: Add underflow and uflow specializations.
790 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
793 * include/bits/fstream.tcc (_M_convert_to_external):
794 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
795 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
797 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
799 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
800 * include/bits/basic_ios.tcc: Guard use of extern template.
801 * include/std/std_iomanip.h: Same.
802 * include/bits/streambuf.tcc: Same.
803 * include/bits/stl_alloc.h: Same.
804 * include/bits/locale_facets.tcc: Same.
805 * include/bits/ostream.tcc: Same.
806 * include/bits/istream.tcc: Same.
807 * include/bits/fstream.tcc: Same.
808 * include/bits/basic_string.tcc: Same.
810 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
812 * include/bits/ostream.tcc (sentry::sentry): Improve
813 performance-wise the fix for libstdc++/9563.
815 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
817 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
818 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
819 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
820 when we don't have static mutex initialization.
821 (__exchange_and_add): Use _Atomic_add_mutex_once.
822 * src/misc-inst.cc: Definitions of all the above.
824 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
827 * include/bits/ostream.tcc (sentry::sentry): Check
828 the state of the stream after the preparation.
829 * testsuite/27_io/ostream_sentry.cc (test02): Add.
831 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
833 * include/Makefile.am (stamp-std-precompile): Add rule.
834 * include/Makefile.in: Regenerated.
836 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
837 Benjamin Kosnik <benjamin@redhat.com>
839 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
840 Add indexes into this array.
841 (__num_base::_S_atoms): To _S_atoms_in.
842 (num_put::_M_insert): Rename to _M_pad.
843 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
844 (num_put::_M_widen_int): Rename to _M_group_int.
845 (num_put::_M_widen_float): Rename to _M_group_float.
846 * include/bits/locale_facets.tcc (__int_to_char): New inline
847 function and adapter functions.
848 (num_put::_M_group_int): Streamline.
849 (num_put::_M_group_float): Streamline.
850 (num_put::_M_convert_int): Remove unused parameter names. Choose
851 large enough buffer for text. Use __int_to_char instead of
852 __convert_from_v. Formatted text is now at the end of the buffer.
853 (num_put::_M_convert_float): Preliminary fixups.
854 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
855 (__int_to_char<unsigned long long>): Same.
856 (__int_to_char<char, unsigned long>): New.
857 (__int_to_char<char, unsigned long long>): New.
858 (__int_to_char<wchar_t, unsigned long>): New.
859 (__int_to_char<wchar_t, unsigned long long>): New.
861 2003-02-11 Scott Snyder <snyder@fnal.gov>
864 * include/bits/fstream.tcc (seekoff): Avoid operator+
867 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
870 * include/ext/stdio_filebuf.h
871 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
872 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
873 Change to take a __size parameter of type size_t, not
874 of type (template parameter dependent) int_type.
875 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
877 * testsuite/ext/stdio_filebuf.cc: Add.
879 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
880 Petur Runolfsson <peturr02@ru.is>
883 * include/bits/streambuf.tcc (__copy_streambufs):
884 Don't conditionalize the copy to __testput.
885 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
887 2002-02-11 DJ Delorie <dj@redhat.com>
889 * acinclude.m4: Check for native targets that can't link at
890 this point in the build.
891 * aclocal.m4: Regenerate.
892 * configure: Regenerate.
894 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
896 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
898 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
901 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
903 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
904 unsigned char platforms.
906 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
909 * include/std/std_istream.h
910 (basic_istream::sentry::operator bool()): Make const.
911 * include/std/std_ostream.h
912 (basic_ostream::sentry::operator bool()): Likewise.
913 * testsuite/27_io/istream_sentry.cc (test03): Add.
914 * testsuite/27_io/ostream_sentry.cc: Add.
916 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
919 Implement resolution of DR 231 (Ready)
920 * include/bits/locale_facets.h (__num_base::_S_format_float):
921 Change declaration: return void, remove __prec parameter.
922 * src/locale.cc (__num_base::_S_format_float): Implement
923 resolution of DR 231.
924 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
925 Tweak uses. Check for negative precision.
926 * testsuite/22_locale/num_put/put/char/6.cc: Add
927 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
929 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
931 * config/io/basic_file_libio.h: Fixups.
932 * config/io/c_io_libio.h: Same.
933 * libio/Makefile.am: Same.
934 * libio/Makefile.in: Regenerated.
936 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
938 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
939 Explicitly use the "C" locale.
940 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
942 2003-02-06 Petur Runolfsson <peturr02@ru.is>
946 PR libstdc++/9028 (partial)
952 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
953 codecvt<wchar_t, char, mbstate_t>::do_length,
954 codecvt<wchar_t, char, mbstate_t>::do_max_length):
956 * config/locale/generic/codecvt_members.cc: ...here.
957 * config/locale/gnu/codecvt_members.cc: ...and here.
959 * config/locale/generic/codecvt_members.cc,
960 * config/locale/gnu/codecvt_members.cc
961 (codecvt<wchar_t, char, mbstate_t>::do_encoding
962 codecvt<wchar_t, char, mbstate_t>::do_in,
963 codecvt<wchar_t, char, mbstate_t>::do_length,
964 codecvt<wchar_t, char, mbstate_t>::do_max_length,
965 codecvt<wchar_t, char, mbstate_t>::do_out):
966 New implementation that handles stateless encodings,
969 * config/locale/generic/codecvt_members.cc,
970 * config/locale/gnu/codecvt_members.cc,
971 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
972 * include/bits/codecvt.h,
974 (codecvt::length, codecvt::do_length):
975 Change type of first argument of length and do_length from
976 'const state_type&' to 'state_type&' according to DR 75.
978 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
979 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
980 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
981 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
982 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
983 Cleanup and check for correct return value from encoding
985 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
986 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
987 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
988 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
989 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
990 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
991 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
992 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
993 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
994 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
995 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
996 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
997 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
998 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
999 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
1000 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
1001 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
1002 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
1003 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
1004 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
1005 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
1006 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
1007 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
1008 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
1009 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
1010 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
1011 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
1012 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
1013 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
1014 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
1015 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
1016 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
1017 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
1018 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
1019 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
1020 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
1021 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
1023 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
1025 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
1026 (money_put::do_put): Same.
1028 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
1030 * include/bits/ios_base.h (ios_base): Document reserved storage.
1032 * include/bits/locale_facets.h: (struct __pad): Comment on
1034 (__verify_grouping): Same.
1035 (__add_grouping): Same.
1036 * include/bits/locale_facets.tcc (__verify_grouping): Move
1037 comments to declaration.
1038 (__add_grouping): Same.
1040 * include/bits/locale_facets.tcc:
1041 (__write<_CharT, _OutIter>): New function.
1042 (__write<_CharT>): New function specialization.
1043 (num_put::_M_insert): Remove explicit loop over iterator. Use
1045 (num_put::_M_widen_float): Remove __basefield.
1046 (num_put::_M_widen_int): Move __basefield to within grouping block.
1048 * include/bits/streambuf_iterator.h: Include <streambuf>.
1049 (ostreambuf_iterator::_M_put): Add.
1051 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
1053 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
1055 2003-02-04 Nathan Myers <ncm@cantrip.org>
1057 * testsuite/25_algorithms/min_max.cc (test02): Add.
1059 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
1061 PR libstdc++/9439, PR libstdc++/9425
1062 * config/io/basic_file_stdio.cc
1063 (__basic_file<char>::seekoff, seekpos): Return -1L if
1065 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1066 Check _M_file.seekoff return value; always return
1067 pos_type(off_type(-1)) in case of failure.
1068 (basic_filebuf::pbackfail): Check this->seekoff return
1069 value and return traits_type::eof() in case of failure.
1070 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
1072 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
1074 * include/std/std_ostream.h (ostream::_M_write): Declare.
1075 * ostream.tcc (ostream::_M_write): Define.
1076 (basic_ostream::write): Use it.
1077 (operator<<(basic_ostream, _CharT)): Ditto.
1078 (operator<<(basic_ostream, char)): Ditto.
1079 (operator<<(basic_ostream, _CharT*)): Ditto.
1080 (operator<<(basic_ostream, char*)): Ditto.
1081 (operator<<(basic_ostream, basic_string)): Ditto.
1083 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
1085 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
1087 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
1089 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
1090 add HTML comment about updating links if numbering changes.
1092 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
1095 * include/bits/streambuf.tcc (sputbackc): Access
1096 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
1097 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1099 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
1102 * include/bits/fstream.tcc (open): If the 'ate' repositioning
1103 operation fails, calls close _and_ returns a null pointer
1104 to indicate failure (27.8.1.3,4).
1105 * testsuite/27_io/filebuf_members.cc (test_06): Add.
1107 2003-02-04 Petur Runolfsson <peturr02@ru.is>
1109 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
1111 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
1113 * docs/html/27_io/howto.html: New section on stdio_filebuf.
1114 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
1115 * docs/html/documentation.html: Regenerate.
1117 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
1119 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
1120 * docs/html/17_intro/porting.html: Regenerate.
1122 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
1123 Phil Edwards <pme@gcc.gnu.org>
1125 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
1126 numeric_limits for bits-per-word values.
1127 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
1128 Use __builtin_popcountl instead.
1129 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
1130 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
1131 Use __builtin_ctzl instead.
1132 (_S_bit_count, _S_first_one): Remove.
1133 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
1134 * src/Makefile.am (sources): Remove bitset.cc.
1135 * src/bitset.cc: Delete file.
1136 * src/Makefile.in: Regenerate.
1138 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
1140 PR libstdc++/9527, PR libstdc++/8713
1141 * docs/html/install.html: Mention glibc version requirement.
1142 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
1143 with 3.2.1+ (formatting bugfixes).
1144 * docs/html/faq/index.txt: Regenerate.
1146 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1149 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
1152 * include/bits/valarray_before.h (__not_equal_to): Use != instead
1155 * testsuite/26_numerics/valarray_operators.cc: New test.
1157 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
1159 * docs/html/faq/index.html: Correct link to libg++ information.
1160 * docs/html/faq/index.txt: Regenerated.
1162 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
1163 Benjamin Kosnik <bkoz@redhat.com>
1165 Const correctness issue:
1166 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
1167 * include/bits/locale_classes.h
1168 (locale::_Impl::_M_facets): Change type to const facet**.
1169 (locale::_Impl::_M_install_facet): Change declaration to
1171 (locale::facet::_M_references): Make mutable.
1172 (locale::facet::_M_add_reference): Declare const.
1173 (locale::facet::_M_remove_reference): Likewise.
1174 * include/bits/locale_facets.tcc
1175 (use_facet(const locale&)): Tweak for const facet** _M_facets.
1176 (has_facet(const locale&)): Likewise.
1178 (locale::facet::_M_add_reference): Adjust definition.
1179 (locale::facet::_M_remove_reference): Likewise.
1181 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
1182 const facet** _M_facets.
1183 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
1184 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
1185 (locale::_Impl::_M_install_facet): Adjust definition to take
1186 const facet* and for const facet** _M_facets.
1187 * testsuite/22_locale/locale/cons/8.cc: Add.
1189 2003-01-29 Mark Mitchell <mark@codesourcery.com>
1191 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
1192 Use __FLT_HAS_INIFINITY__ to initialize.
1193 (numeric_limits<float>::has_quiet_NaN): Likewise.
1194 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
1196 (numeric_limits<double>::has_quiet_NaN): Likewise.
1197 (numeric_limits<long double>::has_infinity): Use
1198 __LDBL_HAS_INIFINITY__ to initialize.
1199 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
1201 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
1204 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1205 with bases which are very ambiguous.
1207 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
1209 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1210 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1211 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1212 * src/Makefile.in: Regenerate.
1213 * libsupc++/Makefile.in: Regenerate.
1215 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1217 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1218 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1219 version_specific_libs is enabled.
1220 * aclocal.m4, configure: Rebuilt.
1222 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
1224 * include/bits/valarray_meta.h: Remove, split into ...
1225 * include/bits/valarray_before.h: ... this, and ...
1226 * include/bits/valarray_after.h: ... this.
1227 * include/std/std_valarray.h: Adjust.
1228 * include/Makefile.am (bits_headers): Adjust.
1229 * include/Makefile.in: Regenerate.
1231 2003-01-24 Andreas Schwab <schwab@suse.de>
1233 * config/linker-map.gnu: Fix for size_t variance.
1235 2003-01-23 Petur Runolfsson <peturr02@ru.is>
1238 * include/std/std_streambuf.h
1239 (basic_streambuf::basic_streambuf,
1240 basic_streambuf::~basic_streambuf,
1241 basic_streambuf::getloc, basic_streambuf::imbue):
1242 Remove _M_buf_locale_init
1243 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
1244 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1245 * testsuite/27_io/streambuf_members.cc (test08): Add.
1246 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
1248 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1250 Revert include ordering.
1251 * config/locale/generic/c_locale.h: Add include guards.
1252 * config/locale/gnu/c_locale.h: Same.
1253 * include/bits/locale_classes.h: Remove cctype include.
1254 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1255 * include/std/std_fstream.h: Remove streambuf include.
1256 * include/std/std_sstream.h: Remove streambuf include.
1258 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1260 * configure.in (libtool_VERSION): To 6:0:0.
1261 * configure: Regenerated.
1262 * config/linker-map.gnu: Clean.
1264 * src/misc-inst.cc: Remove instantiations.
1266 * include/bits/stl_alloc.h (__malloc_alloc_template):
1268 (__default_alloc_template): To __pool_alloc.
1269 * src/stl-inst.cc: Same.
1270 * include/backward/alloc.h: Update.
1271 * testsuite/ext/allocators.cc: Update.
1273 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
1274 really try to remove these if possible.
1275 * src/locale.cc (std): Same.
1277 * testsuite/abi_check.cc (check_version): Add.
1279 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1280 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
1281 Mark Mitchell <mark@codesourcery.com>
1284 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1285 (basic_filebuf::underflow): Declare.
1288 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1290 * include/bits/locale_facets.h: Move non-facet classes requiring
1292 * include/bits/locale_classes.h: New.
1293 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1294 * include/bits/Makefile.in: Regenerate.
1296 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
1297 * config/locale/gnu/c_locale.h: ...here.
1298 * config/locale/generic/c_locale.h: Same.
1300 * include/bits/locale_facets.tcc: Move declarations to...
1301 * include/bits/locale_facets.h: ...here.
1302 * include/bits/basic_ios.h: Tweak includes accordingly.
1303 * include/std/std_sstream.h: Add streambuf include.
1304 * include/std/std_fstream.h: Ditto.
1305 * include/std/std_locale.h: Add locale_classes.h include.
1306 * include/std/std_iosfwd.h: Tweak.
1307 * src/concept-inst.cc: Add iterator include.
1309 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1310 bits as unexported in the future.
1312 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
1314 Reshuffle 22_locale testsuite.
1315 * 22_locale/(codecvt.cc money_get.cc
1316 codecvt_members_char_char.cc money_get_members_char.cc
1317 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
1318 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
1319 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
1320 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
1321 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
1322 money_put_members_char.cc ctor_copy_dtor.cc
1323 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
1324 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
1325 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
1326 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
1327 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
1328 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
1329 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
1330 operators.cc ctype_widen_char.cc static_members.cc
1331 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
1332 global_templates.cc time_get_members_wchar_t.cc, members.cc,
1333 time_put.cc, messages_byname.cc, time_put_members_char.cc,
1334 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
1335 Split up into individual test cases...
1336 * 22_locale/codecvt/1.cc: New.
1337 * 22_locale/codecvt/2.cc: New.
1338 * 22_locale/codecvt/always_noconv/char/1.cc: New.
1339 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
1340 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
1341 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
1342 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
1343 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
1344 * 22_locale/codecvt/encoding/char/1.cc: New.
1345 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
1346 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
1347 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
1348 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
1349 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
1350 * 22_locale/codecvt/in/char/1.cc: New.
1351 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
1352 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
1353 * 22_locale/codecvt/in/wchar_t/1.cc: New.
1354 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
1355 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
1356 * 22_locale/codecvt/length/char/1.cc: New.
1357 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
1358 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
1359 * 22_locale/codecvt/length/wchar_t/1.cc: New.
1360 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
1361 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
1362 * 22_locale/codecvt/max_length/char/1.cc: New.
1363 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
1364 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
1365 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
1366 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
1367 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
1368 * 22_locale/codecvt/out/char/1.cc: New.
1369 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
1370 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
1371 * 22_locale/codecvt/out/wchar_t/1.cc: New.
1372 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
1373 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
1374 * 22_locale/codecvt/unicode/char.cc: New.
1375 * 22_locale/codecvt/unicode/wchar_t.cc: New.
1376 * 22_locale/codecvt/unshift/char/1.cc: New.
1377 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
1378 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
1379 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
1380 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
1381 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
1382 * 22_locale/collate/1.cc: New.
1383 * 22_locale/collate/2.cc: New.
1384 * 22_locale/collate/compare/char/1.cc: New.
1385 * 22_locale/collate/compare/char/2.cc: New.
1386 * 22_locale/collate/compare/char/wrapped_env.cc: New.
1387 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
1388 * 22_locale/collate/compare/wchar_t/1.cc: New.
1389 * 22_locale/collate/compare/wchar_t/2.cc: New.
1390 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
1391 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
1392 * 22_locale/collate/hash/char/1.cc: New.
1393 * 22_locale/collate/hash/char/2.cc: New.
1394 * 22_locale/collate/hash/char/wrapped_env.cc: New.
1395 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
1396 * 22_locale/collate/hash/wchar_t/1.cc: New.
1397 * 22_locale/collate/hash/wchar_t/2.cc: New.
1398 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
1399 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
1400 * 22_locale/collate/transform/char/2.cc: New.
1401 * 22_locale/collate/transform/char/wrapped_env.cc: New.
1402 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
1403 * 22_locale/collate/transform/wchar_t/2.cc: New.
1404 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
1405 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
1406 * 22_locale/collate_byname/1.cc: New.
1407 * 22_locale/ctype/1.cc: New.
1408 * 22_locale/ctype/2.cc: New.
1409 * 22_locale/ctype/cons/char/1.cc: New.
1410 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
1411 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
1412 * 22_locale/ctype/is/char/1.cc: New.
1413 * 22_locale/ctype/is/char/2.cc: New.
1414 * 22_locale/ctype/is/char/3.cc: New.
1415 * 22_locale/ctype/is/char/wrapped_env.cc: New.
1416 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
1417 * 22_locale/ctype/is/wchar_t/1.cc: New.
1418 * 22_locale/ctype/is/wchar_t/2.cc: New.
1419 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
1420 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
1421 * 22_locale/ctype/narrow/char/1.cc: New.
1422 * 22_locale/ctype/narrow/char/2.cc: New.
1423 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
1424 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
1425 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
1426 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
1427 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
1428 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
1429 * 22_locale/ctype/scan/char/1.cc: New.
1430 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
1431 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
1432 * 22_locale/ctype/scan/wchar_t/1.cc: New.
1433 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
1434 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
1435 * 22_locale/ctype/to/char/1.cc: New.
1436 * 22_locale/ctype/to/char/wrapped_env.cc: New.
1437 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
1438 * 22_locale/ctype/to/wchar_t/1.cc: New.
1439 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
1440 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
1441 * 22_locale/ctype/widen/char/1.cc: New.
1442 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
1443 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
1444 * 22_locale/ctype/widen/wchar_t/1.cc: New.
1445 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
1446 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
1447 * 22_locale/facet/1.cc: New.
1448 * 22_locale/facet/2.cc: New.
1449 * 22_locale/global_templates/1.cc: New.
1450 * 22_locale/locale/cons/1.cc: New.
1451 * 22_locale/locale/cons/2.cc: New.
1452 * 22_locale/locale/cons/3.cc: New.
1453 * 22_locale/locale/cons/4.cc: New.
1454 * 22_locale/locale/cons/5.cc: New.
1455 * 22_locale/locale/cons/6.cc: New.
1456 * 22_locale/locale/cons/7.cc: New.
1457 * 22_locale/locale/global_locale_objects/1.cc: New.
1458 * 22_locale/locale/global_locale_objects/2.cc: New.
1459 * 22_locale/locale/global_locale_objects/3.cc: New.
1460 * 22_locale/locale/operations/1.cc: New.
1461 * 22_locale/locale/operations/2.cc: New.
1462 * 22_locale/messages/1.cc: New.
1463 * 22_locale/messages/2.cc: New.
1464 * 22_locale/messages/members/char/1.cc: New.
1465 * 22_locale/messages/members/char/2.cc: New.
1466 * 22_locale/messages/members/char/3.cc: New.
1467 * 22_locale/messages/members/char/wrapped_env.cc: New.
1468 * 22_locale/messages/members/char/wrapped_locale.cc: New.
1469 * 22_locale/messages_byname/1.cc: New.
1470 * 22_locale/money_get/1.cc: New.
1471 * 22_locale/money_get/2.cc: New.
1472 * 22_locale/money_get/get/char/1.cc: New.
1473 * 22_locale/money_get/get/char/2.cc: New.
1474 * 22_locale/money_get/get/char/3.cc: New.
1475 * 22_locale/money_get/get/char/4.cc: New.
1476 * 22_locale/money_get/get/char/5.cc: New.
1477 * 22_locale/money_get/get/char/6.cc: New.
1478 * 22_locale/money_get/get/char/7.cc: New.
1479 * 22_locale/money_get/get/char/8.cc: New.
1480 * 22_locale/money_get/get/char/wrapped_env.cc: New.
1481 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
1482 * 22_locale/money_get/get/wchar_t/1.cc: New.
1483 * 22_locale/money_get/get/wchar_t/2.cc: New.
1484 * 22_locale/money_get/get/wchar_t/3.cc: New.
1485 * 22_locale/money_get/get/wchar_t/4.cc: New.
1486 * 22_locale/money_get/get/wchar_t/5.cc: New.
1487 * 22_locale/money_get/get/wchar_t/6.cc: New.
1488 * 22_locale/money_get/get/wchar_t/7.cc: New.
1489 * 22_locale/money_get/get/wchar_t/8.cc: New.
1490 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
1491 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
1492 * 22_locale/money_put/1.cc: New.
1493 * 22_locale/money_put/2.cc: New.
1494 * 22_locale/money_put/put/char/1.cc: New.
1495 * 22_locale/money_put/put/char/2.cc: New.
1496 * 22_locale/money_put/put/char/3.cc: New.
1497 * 22_locale/money_put/put/char/4.cc: New.
1498 * 22_locale/money_put/put/char/5.cc: New.
1499 * 22_locale/money_put/put/char/6.cc: New.
1500 * 22_locale/money_put/put/char/wrapped_env.cc: New.
1501 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
1502 * 22_locale/money_put/put/wchar_t/1.cc: New.
1503 * 22_locale/money_put/put/wchar_t/2.cc: New.
1504 * 22_locale/money_put/put/wchar_t/3.cc: New.
1505 * 22_locale/money_put/put/wchar_t/4.cc: New.
1506 * 22_locale/money_put/put/wchar_t/5.cc: New.
1507 * 22_locale/money_put/put/wchar_t/6.cc: New.
1508 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
1509 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
1510 * 22_locale/moneypunct/1.cc: New.
1511 * 22_locale/moneypunct/2.cc: New.
1512 * 22_locale/moneypunct/3.cc: New.
1513 * 22_locale/moneypunct/members/char/1.cc: New.
1514 * 22_locale/moneypunct/members/char/2.cc: New.
1515 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
1516 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
1517 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
1518 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
1519 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
1520 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
1521 * 22_locale/moneypunct_byname/1.cc: New.
1522 * 22_locale/num_get/1.cc: New.
1523 * 22_locale/num_get/2.cc: New.
1524 * 22_locale/num_get/get/char/1.cc: New.
1525 * 22_locale/num_get/get/char/2.cc: New.
1526 * 22_locale/num_get/get/char/3.cc: New.
1527 * 22_locale/num_get/get/char/4.cc: New.
1528 * 22_locale/num_get/get/char/5.cc: New.
1529 * 22_locale/num_get/get/char/6.cc: New.
1530 * 22_locale/num_get/get/char/wrapped_env.cc: New.
1531 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
1532 * 22_locale/num_get/get/wchar_t/1.cc: New.
1533 * 22_locale/num_get/get/wchar_t/2.cc: New.
1534 * 22_locale/num_get/get/wchar_t/3.cc: New.
1535 * 22_locale/num_get/get/wchar_t/4.cc: New.
1536 * 22_locale/num_get/get/wchar_t/5.cc: New.
1537 * 22_locale/num_get/get/wchar_t/6.cc: New.
1538 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
1539 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
1540 * 22_locale/num_put/1.cc: New.
1541 * 22_locale/num_put/2.cc: New.
1542 * 22_locale/num_put/put/char/1.cc: New.
1543 * 22_locale/num_put/put/char/2.cc: New.
1544 * 22_locale/num_put/put/char/3.cc: New.
1545 * 22_locale/num_put/put/char/4.cc: New.
1546 * 22_locale/num_put/put/char/5.cc: New.
1547 * 22_locale/num_put/put/char/wrapped_env.cc: New.
1548 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
1549 * 22_locale/num_put/put/wchar_t/1.cc: New.
1550 * 22_locale/num_put/put/wchar_t/2.cc: New.
1551 * 22_locale/num_put/put/wchar_t/3.cc: New.
1552 * 22_locale/num_put/put/wchar_t/4.cc: New.
1553 * 22_locale/num_put/put/wchar_t/5.cc: New.
1554 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
1555 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
1556 * 22_locale/numpunct/1.cc: New.
1557 * 22_locale/numpunct/2.cc: New.
1558 * 22_locale/numpunct/members/char/1.cc: New.
1559 * 22_locale/numpunct/members/char/2.cc: New.
1560 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
1561 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
1562 * 22_locale/numpunct/members/wchar_t/1.cc: New.
1563 * 22_locale/numpunct/members/wchar_t/2.cc: New.
1564 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
1565 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
1566 * 22_locale/numpunct_byname/1.cc: New.
1567 * 22_locale/numpunct_byname/2.cc: New.
1568 * 22_locale/time_get/1.cc: New.
1569 * 22_locale/time_get/2.cc: New.
1570 * 22_locale/time_get/date_order/char/1.cc: New.
1571 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
1572 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
1573 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
1574 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
1575 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
1576 * 22_locale/time_get/get_date/char/1.cc: New.
1577 * 22_locale/time_get/get_date/char/2.cc: New.
1578 * 22_locale/time_get/get_date/char/3.cc: New.
1579 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
1580 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
1581 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
1582 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
1583 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
1584 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
1585 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
1586 * 22_locale/time_get/get_monthname/char/1.cc: New.
1587 * 22_locale/time_get/get_monthname/char/2.cc: New.
1588 * 22_locale/time_get/get_monthname/char/3.cc: New.
1589 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
1590 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
1591 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
1592 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
1593 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
1594 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
1595 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
1596 * 22_locale/time_get/get_time/char/1.cc: New.
1597 * 22_locale/time_get/get_time/char/2.cc: New.
1598 * 22_locale/time_get/get_time/char/3.cc: New.
1599 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
1600 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
1601 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
1602 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
1603 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
1604 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
1605 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
1606 * 22_locale/time_get/get_weekday/char/1.cc: New.
1607 * 22_locale/time_get/get_weekday/char/2.cc: New.
1608 * 22_locale/time_get/get_weekday/char/3.cc: New.
1609 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
1610 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
1611 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
1612 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
1613 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
1614 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
1615 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
1616 * 22_locale/time_get/get_year/char/1.cc: New.
1617 * 22_locale/time_get/get_year/char/3.cc: New.
1618 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
1619 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
1620 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
1621 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
1622 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
1623 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
1624 * 22_locale/time_put/1.cc: New.
1625 * 22_locale/time_put/2.cc: New.
1626 * 22_locale/time_put/put/char/1.cc: New.
1627 * 22_locale/time_put/put/char/10.cc: New.
1628 * 22_locale/time_put/put/char/2.cc: New.
1629 * 22_locale/time_put/put/char/3.cc: New.
1630 * 22_locale/time_put/put/char/4.cc: New.
1631 * 22_locale/time_put/put/char/5.cc: New.
1632 * 22_locale/time_put/put/char/6.cc: New.
1633 * 22_locale/time_put/put/char/7.cc: New.
1634 * 22_locale/time_put/put/char/8.cc: New.
1635 * 22_locale/time_put/put/char/9.cc: New.
1636 * 22_locale/time_put/put/char/wrapped_env.cc: New.
1637 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
1638 * 22_locale/time_put/put/wchar_t/1.cc: New.
1639 * 22_locale/time_put/put/wchar_t/10.cc: New.
1640 * 22_locale/time_put/put/wchar_t/2.cc: New.
1641 * 22_locale/time_put/put/wchar_t/3.cc: New.
1642 * 22_locale/time_put/put/wchar_t/4.cc: New.
1643 * 22_locale/time_put/put/wchar_t/5.cc: New.
1644 * 22_locale/time_put/put/wchar_t/6.cc: New.
1645 * 22_locale/time_put/put/wchar_t/7.cc: New.
1646 * 22_locale/time_put/put/wchar_t/8.cc: New.
1647 * 22_locale/time_put/put/wchar_t/9.cc: New.
1648 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1649 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1651 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
1653 * config/locale/generic/messages_members.h
1654 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1655 unqualified members of base clasess.
1657 2003-01-16 Mark Mitchell <mark@codesourcery.com>
1658 Jeffrey Oldham <oldham@codesourcery.com>
1660 * config/locale/gnu/messages_members.h: Use this-> to refer to
1661 unqualified members of base clasess.
1662 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1663 * include/bits/codecvt.h: Likewise.
1664 * include/bits/deque.tcc: Likewise.
1665 * include/bits/fstream.tcc: Likewise.
1666 * include/bits/istream.tcc: Likewise.
1667 * include/bits/list.tcc: Likewise.
1668 * include/bits/locale_facets.h: Likewise.
1669 * include/bits/ostream.tcc: Likewise.
1670 * include/bits/sstream.tcc: Likewise.
1671 * include/bits/stl_bvector.h: Likewise.
1672 * include/bits/stl_deque.h: Likewise.
1673 * include/bits/stl_list.h: Likewise.
1674 * include/bits/stl_tree.h: Likewise.
1675 * include/bits/stl_vector.h: Likewise.
1676 * include/bits/vector.tcc: Likewise.
1677 * include/ext/ropeimpl.h: Likewise.
1678 * include/ext/stdio_filebuf.h: Likewise.
1679 * include/ext/stl_rope.h: Likewise.
1680 * include/std/std_fstream.h: Likewise.
1681 * include/std/std_sstream.h: Likewise.
1683 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
1685 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1687 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
1689 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1690 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1691 * aclocal.m4: Regenerate.
1692 * configure: Regenerate.
1693 * testsuite/Makefile.am (all-local): Add conditional rule to
1694 generate testsuite_wchar_t.
1695 * testsuite/Makefile.in: Regenerate.
1696 * testsuite/lib/libstdc++-v3-dg.exp
1697 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1698 testsuite_wchar_t is not present in the build directory.
1699 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1700 Remove setulimit bits.
1701 * testsuite/26_numerics/complex_value.cc: Set to noopts.
1702 * testsuite/Makefile.am (CLEANFILES): Add.
1703 * testsuite/Makefile.in: Regenerate.
1705 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1707 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1710 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
1712 Further conform g++'s __vmi_class_type_info to the C++ ABI
1714 * libsupc++/cxxabi.h
1715 (__vmi_class_type_info::__flags_masks): Remove enumerations not
1716 required by the specification.
1718 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
1720 Renames, namespaces for testsuite utilities.
1721 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1722 (gnu_allocator_tracker): Rename to allocation_tracker.
1723 (gnu_new_allocator): Rename to tracker_alloc.
1724 (__set_testsuite_memlimit): Rename to set_memory_limits.
1725 (gnu_assignment_operator): Rename to assignment_operator.
1726 (gnu_destructor): Rename to destructor.
1727 (gnu_copy_tracker): Rename to copy_tracker.
1728 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1729 (run_tests_wrapped_locale): New.
1730 (run_tests_wrapped_env): New.
1731 * testsuite/testsuite_hooks.cc: Same.
1732 (class locale_data): Add.
1733 (class enviornment_variable): Add.
1734 (class not_found): Add.
1735 * testsuite/testsuite_allocator.h: Same.
1736 * testsuite/testsuite_allocator.cc: Same.
1737 * testsuite/23_containers/deque_ctor.cc
1738 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1740 Change gnu_new_allocator to tracker_alloc.
1741 Change gnu_counting_struct to counter.
1742 Change gnu_copy_tracker to copy_tracker.
1743 Change gnu_copy_constructor to copy_constructor.
1744 Change gnu_assignment_operator to assignment_operator.
1746 * testsuite/23_containers/vector_capacity.cc: Same.
1747 * testsuite/23_containers/vector_ctor.cc (test01): Same.
1748 * testsuite/23_containers/list_modifiers.cc: Change
1749 gnu_copy_tracker to copy_tracker.
1750 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1751 __set_testsuite_memlimit to set_memory_limits.
1752 * testsuite/21_strings/insert.cc (main): Same.
1753 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1754 * testsuite/27_io/stringstream.cc: Same.
1755 * testsuite/27_io/stringbuf.cc: Same.
1756 * testsuite/27_io/streambuf.cc: Same.
1757 * testsuite/27_io/ostream.cc: Same.
1758 * testsuite/27_io/istream.cc: Same.
1759 * testsuite/27_io/fstream.cc: Same.
1760 * testsuite/lib/libstdc++-v3-dg.exp
1761 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1762 three levels deeper in glob patterns.
1764 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
1766 * docs/doxygen/tables.html: Finished now.
1767 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
1768 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
1771 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1772 include/bits/stl_deque.h, include/bits/stl_list.h,
1773 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
1776 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
1778 * configure.in: Revert.
1779 * configure: Regenerate.
1781 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1783 * include/Makefile.am (install-data-local): Prepend
1784 $(DESTDIR) to destination paths in all (un)installation
1785 commands. Use ${c_base_builddir} and ${std_builddir}
1786 as destination subdirectories to achieve consistency with
1787 preceding mkinstalldirs commands. No effect because both
1788 variables contain "." only.
1789 * include/Makefile.in: Regenerate.
1791 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
1793 * include/Makefile.am (stamp-*): Add checks for existing stamps.
1794 * include/Makefile.in: Regenerate.
1796 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1797 * aclocal.m4: Regenerate.
1799 * configure.in: Don't add new multi-do rules every time the
1800 directory is reconfigured.
1801 * configure: Regenerate.
1803 2003-01-08 Brad Spencer <spencer@infointeractive.com>
1804 Nathan Myers <ncm@cantrip.org>
1806 * src/Makefile.am (stamp-debug): Clean.
1807 * src/Makefile.in: Regenerate.
1809 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
1812 * Makefile.am (distclean-multi): Fix.
1813 * Makefile.in: Regenerate.
1815 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
1817 * include/bits/locale_facets.h (messages): Move ctor, dtor
1819 (__timepunct): Same.
1820 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1821 definitions. Conditionalize for GNU systems.
1822 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1824 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1825 definitions. Conditionalize for GNU systems.
1826 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1828 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1829 * src/locale.cc: Define.
1830 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1832 * config/locale/gnu/time_members.h: Use it.
1833 * config/locale/gnu/messages_members.h: Use it.
1834 * config/linker-map.gnu: Add locale::facets details.
1835 * include/Makefile.am (target_headers_extra): Add time_members.h.
1836 * include/Makefile.in: Regenerate.
1837 * acinclude.m4: Export CTIME_H.
1838 * aclocal.m4: Regenerate.
1839 * configure: Regnerate.
1841 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1844 (codecvt<char, char, mbstate_t>::do_in, do_out):
1845 Tweak parameters to avoid unused parameter warnings.
1847 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1850 * include/bits/locale_facets.cc (num_put::_M_convert_float):
1851 Limit __prec to digits10 + 2, not digits10 + 1, taking into
1852 account the possibility of %{g,G} conversion specifiers
1853 inside _S_format_float.
1854 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1856 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1858 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1859 libstdc++-v3-list-sourcefiles): Additionally handle files one
1860 level deeper in glob patterns.
1862 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1863 * testsuite/27_io/istream_extractor_arith/01.cc,
1864 testsuite/27_io/istream_extractor_arith/02.cc,
1865 testsuite/27_io/istream_extractor_arith/03.cc,
1866 testsuite/27_io/istream_extractor_arith/06.cc,
1867 testsuite/27_io/istream_extractor_arith/07.cc,
1868 testsuite/27_io/istream_extractor_arith/08.cc,
1869 testsuite/27_io/istream_extractor_arith/09.cc,
1870 testsuite/27_io/istream_extractor_arith/10.cc,
1871 testsuite/27_io/istream_extractor_arith/11.cc,
1872 testsuite/27_io/istream_extractor_arith/12.cc,
1873 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1874 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1877 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
1881 (codecvt<char, char, mbstate_t>::do_in, do_out):
1882 Implement the resolution of DR19 (TC).
1883 * testsuite/22_locale/codecvt_members_char_char.cc
1886 2003-01-02 Jason Merrill <jason@redhat.com>
1888 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1889 *__mem is also an output.
1890 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.