]>
Commit | Line | Data |
---|---|---|
29ae3843 MM |
1 | 2005-03-23 Mark Mitchell <mark@codesourcery.com> |
2 | ||
3 | * testsuite/Makefile.am (all-local): Do not build testsuite_files. | |
4 | * testsuite/Makefile.in: Regenerated. | |
5 | ||
347669a0 BK |
6 | 2005-03-23 Benjamin Kosnik <bkoz@redhat.com> |
7 | ||
8 | * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies | |
9 | using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and | |
10 | _GLIBCXX_USE_C99_WCHAR. | |
11 | Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99 | |
12 | and GLIBCXX_ENABLE_WCHAR_T. | |
13 | Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in | |
14 | GLIBCXX_ENABLE_C99. | |
15 | Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to | |
16 | GLIBCXX_CHECK_ICONV_SUPPORT. | |
17 | * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use | |
18 | GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T. | |
19 | * crossconfig.m4: Same. | |
20 | * acconfig.h: Same, adjust comments. | |
21 | * config.h.in: Regenerate. | |
22 | * configure: Regenerate. | |
23 | * docs/html/configopts.html: Change --enable-c-mbchar to | |
24 | --enable-wchar_t. | |
25 | ||
26 | * config/locale/gnu/c++locale_internal.h: Guard wide functions | |
27 | with _GLIBCXX_USE_WCHAR_T. | |
28 | * include/c_std/std_cwctype.h: Alphabetize, remove duplicates. | |
29 | * include/c_std/std_cstdio.h: Spacing. | |
30 | ||
31 | * config/locale/gnu/c_locale.h: Tweaks for unused warnings. | |
32 | * src/debug.cc: Same. | |
33 | ||
0b3deaaf MM |
34 | 2005-03-23 Mark Mitchell <mark@codesourcery.com> |
35 | ||
a53ed3de MM |
36 | * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it |
37 | exists. | |
38 | ||
0b694555 MM |
39 | * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ... |
40 | (v3-wchar_t): ... this. | |
41 | (libstdc++_threads): Rename to ... | |
42 | (v3-threads): ... this. | |
43 | (libstdc++_test_objs): Rename to ... | |
44 | (v3-test_objs): ... this. | |
45 | (libstdc++_build_support): Rename to ... | |
46 | (v3-build_support): ... this. | |
47 | * testsuite/libstdc++-dg/normal.exp: Adjust to use new names. | |
48 | ||
0b3deaaf MM |
49 | * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling |
50 | of compilers not in the build directory. | |
51 | (libstdc++_wchar_t): New variable. | |
52 | (libstdc++_threads): Likewise. | |
53 | (libstdc++_test_objs): Likewise. | |
54 | (v3_target_compile): Use libstdc++_test_objs. | |
55 | (v3-list-tests): Remove. | |
56 | (listdc++_build_support): New function. | |
57 | * testsuite/libstdc++-dg/normal.exp: Rework to dynamically | |
58 | generate list of tests. | |
59 | ||
aed63147 CJ |
60 | 2005-03-21 Chris Jefferson <chris@bubblescope.net> |
61 | ||
62 | PR libstdc++/20577 | |
63 | * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap | |
64 | to swap when the iterator's reference_type is a reference to its | |
65 | value_type. | |
66 | * testsuite/25_algorithms/iter_swap/20577.cc: New. | |
67 | ||
47194af4 ZW |
68 | 2005-03-21 Zack Weinberg <zack@codesourcery.com> |
69 | ||
70 | * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic. | |
71 | (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version} | |
72 | is expanded by the Makefiles, not by configure. | |
73 | * fragment.am: Set gcc_version. | |
74 | * libmath/Makefile.am: Likewise. | |
75 | * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in | |
76 | * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in | |
77 | * testsuite/Makefile.in: Regenerate. | |
78 | ||
b0ea9c01 PC |
79 | 2005-03-16 Paolo Carlini <pcarlini@suse.de> |
80 | ||
81 | * testsuite/20_util/functional/binders.cc: Remove explicit | |
82 | instantiations for non-weak systems. | |
83 | * testsuite/20_util/memory/allocator/1.cc: Likewise. | |
84 | * testsuite/20_util/memory/allocator/10378.cc: Likewise. | |
85 | * testsuite/20_util/memory/allocator/10416.cc: Likewise. | |
86 | * testsuite/20_util/memory/allocator/8230.cc: Likewise. | |
87 | * testsuite/20_util/utility/rel_ops.cc: Likewise. | |
88 | * testsuite/22_locale/ctype/is/char/2.cc: Likewise. | |
89 | * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise. | |
90 | * testsuite/23_containers/deque/cons/1.cc: Likewise. | |
91 | * testsuite/23_containers/deque/cons/2.cc: Likewise. | |
92 | * testsuite/23_containers/deque/invalidation/1.cc: Likewise. | |
93 | * testsuite/23_containers/deque/invalidation/2.cc: Likewise. | |
94 | * testsuite/23_containers/deque/invalidation/3.cc: Likewise. | |
95 | * testsuite/23_containers/deque/invalidation/4.cc: Likewise. | |
96 | * testsuite/23_containers/deque/modifiers/swap.cc: Likewise. | |
97 | * testsuite/23_containers/deque/operators/1.cc: Likewise. | |
98 | * testsuite/23_containers/list/capacity/1.cc: Likewise. | |
99 | * testsuite/23_containers/list/cons/1.cc: Likewise. | |
100 | * testsuite/23_containers/list/cons/2.cc: Likewise. | |
101 | * testsuite/23_containers/list/cons/3.cc: Likewise. | |
102 | * testsuite/23_containers/list/cons/4.cc: Likewise. | |
103 | * testsuite/23_containers/list/cons/5.cc: Likewise. | |
104 | * testsuite/23_containers/list/cons/6.cc: Likewise. | |
105 | * testsuite/23_containers/list/cons/7.cc: Likewise. | |
106 | * testsuite/23_containers/list/cons/8.cc: Likewise. | |
107 | * testsuite/23_containers/list/cons/9.cc: Likewise. | |
108 | * testsuite/23_containers/list/invalidation/1.cc: Likewise. | |
109 | * testsuite/23_containers/list/invalidation/2.cc: Likewise. | |
110 | * testsuite/23_containers/list/invalidation/3.cc: Likewise. | |
111 | * testsuite/23_containers/list/invalidation/4.cc: Likewise. | |
112 | * testsuite/23_containers/list/modifiers/1.cc: Likewise. | |
113 | * testsuite/23_containers/list/modifiers/2.cc: Likewise. | |
114 | * testsuite/23_containers/list/modifiers/3.cc: Likewise. | |
115 | * testsuite/23_containers/list/operators/1.cc: Likewise. | |
116 | * testsuite/23_containers/list/operators/2.cc: Likewise. | |
117 | * testsuite/23_containers/list/operators/3.cc: Likewise. | |
118 | * testsuite/23_containers/list/operators/4.cc: Likewise. | |
119 | * testsuite/23_containers/map/insert/1.cc: Likewise. | |
120 | * testsuite/23_containers/map/invalidation/1.cc: Likewise. | |
121 | * testsuite/23_containers/map/invalidation/2.cc: Likewise. | |
122 | * testsuite/23_containers/map/modifiers/swap.cc: Likewise. | |
123 | * testsuite/23_containers/map/operators/1.cc: Likewise. | |
124 | * testsuite/23_containers/multimap/invalidation/1.cc: Likewise. | |
125 | * testsuite/23_containers/multimap/invalidation/2.cc: Likewise. | |
126 | * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise. | |
127 | * testsuite/23_containers/multiset/insert/1.cc: Likewise. | |
128 | * testsuite/23_containers/multiset/insert/2.cc: Likewise. | |
129 | * testsuite/23_containers/multiset/invalidation/1.cc: Likewise. | |
130 | * testsuite/23_containers/multiset/invalidation/2.cc: Likewise. | |
131 | * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise. | |
132 | * testsuite/23_containers/priority_queue/members/7161.cc: Likewise. | |
133 | * testsuite/23_containers/queue/members/7157.cc: Likewise. | |
134 | * testsuite/23_containers/set/insert/1.cc: Likewise. | |
135 | * testsuite/23_containers/set/invalidation/1.cc: Likewise. | |
136 | * testsuite/23_containers/set/invalidation/2.cc: Likewise. | |
137 | * testsuite/23_containers/set/modifiers/swap.cc: Likewise. | |
138 | * testsuite/23_containers/stack/members/7158.cc: Likewise. | |
139 | * testsuite/23_containers/vector/bool/6886.cc: Likewise. | |
140 | * testsuite/23_containers/vector/capacity/1.cc: Likewise. | |
141 | * testsuite/23_containers/vector/capacity/8230.cc: Likewise. | |
142 | * testsuite/23_containers/vector/cons/1.cc: Likewise. | |
143 | * testsuite/23_containers/vector/cons/2.cc: Likewise. | |
144 | * testsuite/23_containers/vector/cons/3.cc: Likewise. | |
47194af4 | 145 | * testsuite/23_containers/vector/cons/6513.cc: Likewise. |
b0ea9c01 PC |
146 | * testsuite/23_containers/vector/element_access/1.cc: Likewise. |
147 | * testsuite/23_containers/vector/invalidation/1.cc: Likewise. | |
148 | * testsuite/23_containers/vector/invalidation/2.cc: Likewise. | |
149 | * testsuite/23_containers/vector/invalidation/3.cc: Likewise. | |
150 | * testsuite/23_containers/vector/invalidation/4.cc: Likewise. | |
151 | * testsuite/23_containers/vector/modifiers/1.cc: Likewise. | |
152 | * testsuite/23_containers/vector/modifiers/2.cc: Likewise. | |
47194af4 | 153 | * testsuite/23_containers/vector/modifiers/swap.cc: Likewise. |
b0ea9c01 PC |
154 | * testsuite/23_containers/vector/resize/1.cc: Likewise. |
155 | * testsuite/24_iterators/back_insert_iterator.cc: Likewise. | |
156 | * testsuite/24_iterators/front_insert_iterator.cc: Likewise. | |
157 | * testsuite/24_iterators/insert_iterator.cc: Likewise. | |
158 | * testsuite/24_iterators/iterator.cc: Likewise. | |
159 | * testsuite/25_algorithms/copy/1.cc: Likewise. | |
160 | * testsuite/25_algorithms/copy/2.cc: Likewise. | |
161 | * testsuite/25_algorithms/copy/3.cc: Likewise. | |
47194af4 | 162 | * testsuite/25_algorithms/copy/4.cc: Likewise. |
b0ea9c01 PC |
163 | * testsuite/25_algorithms/equal.cc: Likewise. |
164 | * testsuite/25_algorithms/fill/1.cc: Likewise. | |
165 | * testsuite/25_algorithms/fill/2.cc: Likewise. | |
166 | * testsuite/25_algorithms/min_max.cc: Likewise. | |
167 | * testsuite/25_algorithms/rotate.cc: Likewise. | |
168 | * testsuite/25_algorithms/unique/1.cc: Likewise. | |
169 | * testsuite/25_algorithms/unique/2.cc: Likewise. | |
170 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. | |
171 | * testsuite/ext/concept_checks.cc: Likewise. | |
172 | * testsuite/ext/hash_map/1.cc: Likewise. | |
173 | * testsuite/ext/hash_set/1.cc: Likewise. | |
174 | * testsuite/ext/rope/1.cc: Likewise. | |
175 | * testsuite/ext/rope/2.cc: Likewise. | |
176 | * testsuite/ext/rope/3.cc: Likewise. | |
177 | * testsuite/thread/pthread1.cc: Likewise. | |
178 | * testsuite/thread/pthread4.cc: Likewise. | |
179 | * testsuite/thread/pthread5.cc: Likewise. | |
180 | * testsuite/thread/pthread6.cc: Likewise. | |
181 | * testsuite/thread/pthread7-rope.cc: Likewise. | |
182 | ||
a1286ef5 ZW |
183 | 2005-03-15 Zack Weinberg <zack@codesourcery.com> |
184 | ||
185 | * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc | |
186 | subdirectory. Generate #define of __GLIBCXX__ from contents of | |
187 | that file. | |
188 | * include/Makefile.in: Regenerate. | |
189 | * include/bits/c++config: Do not define __GLIBCXX__. | |
190 | ||
b0de8599 PC |
191 | 2005-03-15 Paolo Carlini <pcarlini@suse.de> |
192 | ||
193 | PR libstdc++/20352 | |
194 | * include/std/std_complex.h (pow(const complex<_Tp>&, | |
195 | const _Tp&)): On non-c99 platforms, don't try to compute | |
196 | log of complex zero. | |
197 | ||
d5fc2406 BE |
198 | 2005-03-10 Ben Elliston <bje@au.ibm.com> |
199 | ||
200 | * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL | |
201 | on GNU/Linux. | |
202 | ||
cff001b2 PC |
203 | 2005-03-07 Paolo Carlini <pcarlini@suse.de> |
204 | ||
205 | * include/tr1/type_traits (is_polymorphic): Don't forget | |
206 | the virtual destructor, thus avoiding warnings. | |
207 | * testsuite/testsuite_tr1.h (class AbstractClass, | |
208 | class PolymorphicClass): Likewise. | |
209 | ||
210 | 2005-03-07 Paolo Carlini <pcarlini@suse.de> | |
211 | ||
212 | * include/std/std_complex.h (pow(const complex<_Tp>&, | |
213 | const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(), | |
214 | __y.__rep()) or __complex_pow(__x, __y) depending on the macro | |
215 | _GLIBCXX_USE_C99_COMPLEX. | |
216 | ||
7a59efae PC |
217 | 2005-03-07 Paolo Carlini <pcarlini@suse.de> |
218 | ||
219 | * include/std/std_fstream.h (basic_fstream<>::open, | |
220 | basic_ifstream<>::open, basic_ofstream<>::open): Implement the | |
221 | resolution of DR 409 [Ready], call clear() on success. | |
222 | * docs/html/ext/howto.html: Add an entry for DR 409. | |
223 | * docs/html/faq/index.html (4_4): Clarify the new behavior. | |
224 | * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust. | |
225 | * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise. | |
226 | ||
816e568f JM |
227 | 2005-03-05 Joseph S. Myers <joseph@codesourcery.com> |
228 | ||
229 | * testsuite/22_locale/collate/compare/wchar_t/2.cc, | |
230 | testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc, | |
231 | testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc, | |
232 | testsuite/22_locale/collate/hash/wchar_t/2.cc, | |
233 | testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc, | |
234 | testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc, | |
235 | testsuite/22_locale/collate/transform/wchar_t/2.cc, | |
236 | testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc, | |
237 | testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: | |
238 | XFAIL on *-*-hpux11.23. | |
239 | ||
f4e4284d PC |
240 | 2005-03-04 Paolo Carlini <pcarlini@suse.de> |
241 | ||
242 | * include/tr1/type_traits: Add is_base_of. | |
243 | * testsuite/tr1/4_metaprogramming/relationships_between_types/ | |
244 | is_base_of/is_base_of.cc: New. | |
245 | * testsuite/tr1/4_metaprogramming/relationships_between_types/ | |
246 | is_base_of/typedefs.cc: Likewise. | |
247 | ||
2e8f8105 BK |
248 | 2005-03-03 Benjamin Kosnik <bkoz@redhat.com> |
249 | ||
250 | * include/tr1/functional: Convert relative path. | |
251 | ||
252 | * docs/doxygen/user.cfg.in: Add tr1 includes. | |
253 | ||
442dca70 PC |
254 | 2005-03-03 Paolo Carlini <pcarlini@suse.de> |
255 | ||
256 | * include/tr1/type_traits: Implemenet is_polymorphic. | |
257 | (is_empty): Minor tweaks. | |
258 | * testsuite/testsuite_tr1.h: Add test types. | |
259 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
260 | is_polymorphic/is_polymorphic.cc: New. | |
261 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
262 | is_polymorphic/typedefs.cc: Likewise. | |
263 | * testsuite/tr1/4_metaprogramming/composite_type_traits/ | |
264 | is_union_or_class/is_union_or_class.cc: Add tests. | |
265 | ||
3c235000 DG |
266 | 2005-03-02 Douglas Gregor <doug.gregor@gmail.com> |
267 | ||
442dca70 PC |
268 | * include/tr1/functional (_Has_result_type): Cleanup. |
269 | (_Result_of_impl): Handle member data pointers correctly. | |
270 | (reference_wrapper): Support invocation. | |
271 | Move repetition code into new file include/tr1/repeat.h. | |
272 | * include/tr1/functional_iterate.h (reference_wrapper): Support | |
273 | invocation. Cleanup long lines. | |
274 | * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare | |
275 | invocation operators. | |
276 | * include/tr1/repeat.h: Code repetition header. | |
277 | * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h. | |
278 | * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h. | |
279 | * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc: | |
280 | New test of reference_wrapper invocation. | |
281 | * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc: | |
282 | New test of reference_wrapper typedefs and base classes. | |
283 | * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup | |
284 | (e-mail address). | |
a1286ef5 | 285 | |
3c235000 DG |
286 | 2005-03-02 Douglas Gregor <doug.gregor@gmail.com> |
287 | ||
442dca70 PC |
288 | * include/tr1/function (result_of): New class template. |
289 | * include/tr1/functional/iterator.h: Implementation of TR1 | |
290 | result_of. | |
291 | * testsuite/tr1/3_function_objects/result_of.cc: New test | |
a1286ef5 | 292 | |
ceccf46b VM |
293 | 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru> |
294 | ||
295 | * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak. | |
296 | ||
44dd2da2 BK |
297 | 2005-02-28 Benjamin Kosnik <bkoz@redhat.com> |
298 | ||
299 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/ | |
300 | cons/auto_ptr_neg.cc: Correct line numbers. | |
301 | ||
302 | * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1. | |
a1286ef5 | 303 | |
52e806b7 JW |
304 | 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org> |
305 | ||
306 | * include/tr1/memory: Replace checked_deleter with (unchecked) | |
307 | _Sp_deleter as GCC warns about delete on incomplete types anyway. | |
308 | ||
c9aa2a68 JW |
309 | 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org> |
310 | ||
311 | * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr. | |
312 | ||
b98c9bf2 HPN |
313 | 2005-02-28 Hans-Peter Nilsson <hp@axis.com> |
314 | ||
315 | PR target/19065 | |
316 | * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use | |
317 | 'Q' constraint, not 'm'. | |
318 | ||
7320b491 EC |
319 | 2005-02-26 Earl Chew <earl_chew@agilent.com> |
320 | Christopher Jefferson <chris@bubblescope.net> | |
321 | ||
322 | * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak | |
323 | memory if _M_key_compare throws. | |
324 | ||
9e38f702 PC |
325 | 2005-02-25 Paolo Carlini <pcarlini@suse.de> |
326 | ||
327 | * include/tr1/type_traits: Add the trivial is_union and is_class; | |
328 | add the __is_union_or_class extension. | |
329 | (is_enum, is_empty): Use the latter. | |
330 | * include/tr1/type_traits_fwd.h: Add __is_union_or_class. | |
331 | * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting | |
332 | fixes. | |
333 | * testsuite/tr1/4_metaprogramming/composite_type_traits/ | |
334 | is_union_or_class/is_union_or_class.cc: New. | |
335 | * testsuite/tr1/4_metaprogramming/composite_type_traits/ | |
336 | is_union_or_class/typedefs.cc: Likewise. | |
337 | ||
4b2420b0 BK |
338 | 2005-02-24 Benjamin Kosnik <bkoz@redhat.com> |
339 | ||
340 | * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard | |
341 | wchar_t use with _GLIBCXX_USE_WCHAR_T. | |
342 | ||
ab9b9d2c BK |
343 | 2005-02-24 Benjamin Kosnik <bkoz@redhat.com> |
344 | ||
345 | * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to | |
346 | _GLIBCXX_USE_C99_COMPLEX. | |
347 | * acinclude.m4: Same. | |
348 | * acconfig.h: Same. | |
349 | * configure: Regenerate. | |
350 | * config.h.in: Same. | |
a1286ef5 | 351 | |
d962e37d PC |
352 | 2005-02-24 Paolo Carlini <pcarlini@suse.de> |
353 | ||
354 | * include/tr1/functional (mem_fn): Avoid _T, badname on | |
355 | Darwin. | |
356 | ||
357 | 2005-02-23 Douglas Gregor <doug.gregor@gmail.com> | |
0179f2c6 DG |
358 | |
359 | * include/tr1/functional (function): New class template. | |
360 | (mem_fn): New function template. | |
361 | Implementations of TR1 function and mem_fn facilities. | |
362 | * include/tr1/functional_iterate.h: Implementations of TR1 | |
a1286ef5 | 363 | function and mem_fn facilities. |
0179f2c6 DG |
364 | * testsuite/tr1/3_function_objects/function/1.cc: New |
365 | test of std::tr1::function. | |
366 | * testsuite/tr1/3_function_objects/function/2.cc: New | |
367 | test of std::tr1::function. | |
368 | * testsuite/tr1/3_function_objects/function/3.cc: New | |
369 | test of std::tr1::function. | |
370 | * testsuite/tr1/3_function_objects/function/4.cc: New | |
371 | test of std::tr1::function. | |
372 | * testsuite/tr1/3_function_objects/function/5.cc: New | |
373 | test of std::tr1::function. | |
374 | * testsuite/tr1/3_function_objects/function/6.cc: New | |
375 | test of std::tr1::function. | |
376 | * testsuite/tr1/3_function_objects/function/7.cc: New | |
377 | test of std::tr1::function. | |
378 | * testsuite/tr1/3_function_objects/function/8.cc: New | |
379 | test of std::tr1::function. | |
380 | * testsuite/tr1/3_function_objects/function/9.cc: New | |
381 | test of std::tr1::function. | |
382 | * testsuite/tr1/3_function_objects/mem_fn.cc: New test of | |
a1286ef5 ZW |
383 | std::tr1::mem_fn. |
384 | ||
c150a271 PC |
385 | 2005-02-23 Paolo Carlini <pcarlini@suse.de> |
386 | ||
387 | * include/tr1/type_traits: Implement is_convertible. | |
388 | * testsuite/tr1/4_metaprogramming/relationships_between_types/ | |
389 | is_convertible/is_convertible.cc: New. | |
390 | * testsuite/tr1/4_metaprogramming/relationships_between_types/ | |
391 | is_convertible/typedefs.cc: Likewise. | |
392 | * testsuite/testsuite_tr1.h: Add class DerivedType. | |
393 | ||
394 | * include/tr1/type_traits (is_function): Don't mistake references | |
395 | to function types for function types. | |
396 | * testsuite/tr1/4_metaprogramming/primary_type_categories/ | |
397 | is_function/is_function.cc: Add testcase. | |
398 | ||
bba6afa6 | 399 | 2005-02-22 Benjamin Kosnik <bkoz@redhat.com> |
a1286ef5 | 400 | |
bba6afa6 BK |
401 | * scripts/check_performance: Tweaks. |
402 | ||
403 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name | |
404 | output file with extension that clean rules can find. | |
405 | ||
38f92567 RH |
406 | 2005-02-22 Richard Henderson <rth@redhat.com> |
407 | ||
408 | PR libstdc++/20091 | |
409 | * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case | |
410 | decrement of uncaughtExceptions for rethrow. | |
411 | ||
909a9d44 PC |
412 | 2005-02-22 Paolo Carlini <pcarlini@suse.de> |
413 | ||
414 | * include/tr1/functional: Fix License to GPL with exception. | |
415 | * include/tr1/hashtable: Likewise. | |
416 | * include/tr1/tuple: Likewise. | |
417 | * include/tr1/type_traits: Likewise. | |
418 | * include/tr1/type_traits_fwd.h: Likewise. | |
419 | * include/tr1/unordered_map: Likewise. | |
420 | * include/tr1/unordered_set: Likewise. | |
421 | * include/tr1/utility: Likewise. | |
422 | ||
44f36676 PC |
423 | 2005-02-22 Paolo Carlini <pcarlini@suse.de> |
424 | ||
425 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ | |
426 | auto_ptr_neg.cc: Add missing dg-do compile directive. | |
427 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ | |
428 | auto_ptr_rvalue_neg.cc: Likewise. | |
429 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ | |
430 | shared_ptr_neg.cc: Likewise. | |
431 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/ | |
432 | auto_ptr_neg.cc: Likewise. | |
433 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ | |
434 | reset_neg.cc: Likewise. | |
435 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ | |
436 | swap_neg.cc: Likewise. | |
437 | ||
665794a6 JW |
438 | 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org> |
439 | ||
440 | * include/Makefile.am, include/Makefile.in: Fix accidental extra | |
441 | change from previous commit. | |
442 | ||
7dfded91 JW |
443 | 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org> |
444 | ||
445 | * include/tr1/memory: New file. | |
446 | * include/Makefile.am, include/Makefile.in: Add new TR1 header. | |
447 | * testsuite/tr1/2_general_utilities/memory/ | |
448 | enable_shared_from_this/not_shared.cc: New test. | |
449 | * testsuite/tr1/2_general_utilities/memory/ | |
450 | enable_shared_from_this/not_shared2.cc: New test. | |
451 | * testsuite/tr1/2_general_utilities/memory/ | |
452 | enable_shared_from_this/not_shared3.cc: New test. | |
453 | * testsuite/tr1/2_general_utilities/memory/ | |
454 | enable_shared_from_this/shared.cc: New test. | |
455 | * testsuite/tr1/2_general_utilities/memory/ | |
456 | enable_shared_from_this/still_shared.cc: New test. | |
457 | * testsuite/tr1/2_general_utilities/memory/ | |
458 | shared_ptr/assign/assign.cc: New test. | |
459 | * testsuite/tr1/2_general_utilities/memory/ | |
460 | shared_ptr/assign/auto_ptr.cc: New test. | |
461 | * testsuite/tr1/2_general_utilities/memory/ | |
462 | shared_ptr/assign/auto_ptr_neg.cc: New test. | |
463 | * testsuite/tr1/2_general_utilities/memory/ | |
464 | shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test. | |
465 | * testsuite/tr1/2_general_utilities/memory/ | |
466 | shared_ptr/assign/shared_ptr.cc: New test. | |
467 | * testsuite/tr1/2_general_utilities/memory/ | |
468 | shared_ptr/assign/shared_ptr_neg.cc: New test. | |
469 | * testsuite/tr1/2_general_utilities/memory/ | |
470 | shared_ptr/comparison/cmp.cc: New test. | |
471 | * testsuite/tr1/2_general_utilities/memory/ | |
472 | shared_ptr/cons/auto_ptr.cc: New test. | |
473 | * testsuite/tr1/2_general_utilities/memory/ | |
474 | shared_ptr/cons/auto_ptr_neg.cc: New test. | |
475 | * testsuite/tr1/2_general_utilities/memory/ | |
476 | shared_ptr/cons/copy.cc: New test. | |
477 | * testsuite/tr1/2_general_utilities/memory/ | |
478 | shared_ptr/cons/default.cc: New test. | |
479 | * testsuite/tr1/2_general_utilities/memory/ | |
480 | shared_ptr/cons/pointer.cc: New test. | |
481 | * testsuite/tr1/2_general_utilities/memory/ | |
482 | shared_ptr/cons/weak_ptr.cc: New test. | |
483 | * testsuite/tr1/2_general_utilities/memory/ | |
484 | shared_ptr/cons/weak_ptr_expired.cc: New test. | |
485 | * testsuite/tr1/2_general_utilities/memory/ | |
486 | shared_ptr/dest/dest.cc: New test. | |
487 | * testsuite/tr1/2_general_utilities/memory/ | |
488 | shared_ptr/misc/io.cc: New test. | |
489 | * testsuite/tr1/2_general_utilities/memory/ | |
490 | shared_ptr/misc/swap.cc: New test. | |
491 | * testsuite/tr1/2_general_utilities/memory/ | |
492 | shared_ptr/modifiers/reset.cc: New test. | |
493 | * testsuite/tr1/2_general_utilities/memory/ | |
494 | shared_ptr/modifiers/reset_neg.cc: New test. | |
495 | * testsuite/tr1/2_general_utilities/memory/ | |
496 | shared_ptr/modifiers/swap.cc: New test. | |
497 | * testsuite/tr1/2_general_utilities/memory/ | |
498 | shared_ptr/modifiers/swap_neg.cc: New test. | |
499 | * testsuite/tr1/2_general_utilities/memory/ | |
500 | shared_ptr/observers/bool_conv.cc: New test. | |
501 | * testsuite/tr1/2_general_utilities/memory/ | |
502 | shared_ptr/observers/get.cc: New test. | |
503 | * testsuite/tr1/2_general_utilities/memory/ | |
504 | shared_ptr/observers/unique.cc: New test. | |
505 | * testsuite/tr1/2_general_utilities/memory/ | |
506 | shared_ptr/observers/use_count.cc: New test. | |
507 | ||
11996a3c PC |
508 | 2005-02-21 Paolo Carlini <pcarlini@suse.de> |
509 | ||
510 | * include/tr1/type_traits (is_member_function_pointer): | |
511 | Remove ugly workaround for c++/19076. | |
512 | ||
52a89626 PC |
513 | 2005-02-21 Paolo Carlini <pcarlini@suse.de> |
514 | ||
515 | * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't | |
516 | check for this == &_S_empty_rep, it's always false, here. | |
517 | ||
6bbd10c7 MA |
518 | 2005-02-19 Matt Austern <austern@gmail.com> |
519 | ||
520 | * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make | |
521 | hash<T>::operator() a const member function for T a fundamental type | |
522 | * include/tr1/hashtable (extract1st::operator()): Declare const. | |
523 | (hash_code_base): Declare all member functions const | |
524 | (hashtable::find): fix call to this->bucket_count() | |
525 | (hashtable::count): Likewise. | |
526 | (hashtable::equal_range): m_incr_bucket applies to iterator, not node. | |
527 | * testsuite/tr1/6_containers/unordered/find/set1.cc: New test. | |
528 | * testsuite/tr1/6_containers/unordered/find/map1.cc: New test. | |
529 | * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test. | |
530 | * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test. | |
a1286ef5 | 531 | |
967f056d HPN |
532 | 2005-02-19 Hans-Peter Nilsson <hp@axis.com> |
533 | ||
534 | PR libstdc++/20071 | |
535 | * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef | |
536 | _GLIBCXX_USE_WCHAR_T. | |
537 | ||
39609077 RH |
538 | 2005-02-18 Richard Henderson <rth@redhat.com> |
539 | ||
540 | PR libstdc++/10606 | |
541 | * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr. | |
542 | * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment | |
543 | uncaughtExceptions here instead of ... | |
544 | * libsupc++/eh_throw.cc (__cxa_throw) ... here. | |
545 | (__cxa_rethrow): Increment uncaughtExceptions here instead of ... | |
546 | * libsupc++/eh_catch.cc (__cxa_end_catch): ... here. | |
547 | (__cxa_get_exception_ptr): New. | |
548 | * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare. | |
549 | ||
52a7e4c6 | 550 | 2005-02-18 Matt Austern <austern@apple.com> |
39609077 | 551 | |
52a7e4c6 MA |
552 | * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix |
553 | test case to use assignment instead of == | |
554 | * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test. | |
555 | * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test. | |
556 | * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test. | |
557 | * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test. | |
a1286ef5 | 558 | |
87bd0274 EB |
559 | 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
560 | ||
561 | * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency | |
562 | on Solaris 2.6 and below. | |
563 | * testsuite/thread/pthread2.cc: Likewise. | |
564 | * testsuite/thread/pthread3.cc: Likewise. | |
565 | * testsuite/thread/pthread4.cc: Likewise. | |
566 | * testsuite/thread/pthread5.cc: Likewise. | |
567 | * testsuite/thread/pthread6.cc: Likewise. | |
568 | * testsuite/thread/pthread7-rope.cc: Likewise. | |
569 | ||
180ecd6a MA |
570 | 2005-02-17 Matt Austern <austern@apple.com> |
571 | ||
572 | * include/tr1/functional (hash): New function object. | |
573 | * include/tr1/hashtable: New file. | |
574 | * include/tr1/unordered_set: New file. | |
575 | * include/tr1/unordered_map: New file. | |
576 | * include/Makefile.am: Add three new TR1 headers. | |
577 | * include/Makefile.in: Likewise. | |
578 | * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test. | |
579 | * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test. | |
580 | * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test. | |
581 | * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test. | |
582 | * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test. | |
583 | * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test. | |
584 | * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test. | |
585 | * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test. | |
586 | * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test. | |
587 | * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test. | |
a1286ef5 | 588 | |
838731b6 PC |
589 | 2005-02-16 Paolo Carlini <pcarlini@suse.de> |
590 | ||
591 | * testsuite/23_containers/set/modifiers/16728.cc: | |
592 | Remove redundant include <testsuite_performance.h>. | |
593 | ||
b949d64b PC |
594 | 2005-02-16 Paolo Carlini <pcarlini@suse.de> |
595 | ||
596 | PR libstdc++/19829 | |
597 | * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test | |
598 | at line #66 to not access str_lit01 beyond its end. | |
599 | * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise. | |
600 | ||
82ce2a94 PC |
601 | 2005-02-15 Paolo Carlini <pcarlini@suse.de> |
602 | Jon Grimm <jgrimm2@us.ibm.com> | |
a1286ef5 | 603 | |
82ce2a94 PC |
604 | PR libstdc++/19955 |
605 | * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()): | |
606 | Fix the logic setting _M_narrow_ok: first check whether the | |
607 | transformation is trivial with a dflt == 0, then deal with the | |
608 | special case of zero. | |
609 | * testsuite/22_locale/ctype/narrow/char/19955.cc: New. | |
610 | ||
611 | * include/bits/locale_facets.h (ctype<char>::_M_widen_init()): | |
612 | Tweak consistently to use memcmp; minor formatting fixes. | |
613 | ||
1552fa74 JJ |
614 | 2005-02-15 Jakub Jelinek <jakub@redhat.com> |
615 | ||
616 | PR libstdc++/19946 | |
617 | * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13 | |
618 | demangler change. | |
619 | * testsuite/demangle/abi_examples/02.cc (main): Likewise. | |
620 | ||
ae63a1cc RG |
621 | 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org> |
622 | Paolo Carlini <pcarlini@suse.de> | |
623 | ||
624 | PR libstdc++/11706 | |
625 | * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf] | |
626 | for integer overloads. | |
627 | ||
628 | * testsuite/26_numerics/cmath/powi.cc: New. | |
629 | ||
75d1ddc1 JJ |
630 | 2005-02-11 Janis Johnson <janis187@us.ibm.com> |
631 | ||
ecddf99e JJ |
632 | * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector. |
633 | * testsuite/26_numerics/complex/complex_value.cc: Ditto. | |
634 | * testsuite/26_numerics/complex/pow.cc: Ditto. | |
635 | ||
75d1ddc1 JJ |
636 | * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp. |
637 | * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg. | |
638 | * testsuite/26_numerics/complex/complex_value.cc: Ditto. | |
639 | * testsuite/26_numerics/complex/pow.cc: Ditto. | |
640 | ||
b77647df MS |
641 | 2005-02-09 Mike Stump <mrs@apple.com> |
642 | ||
643 | * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED. | |
644 | ||
1bc83fd3 JJ |
645 | 2005-02-09 Janis Johnson <janis187@us.ibm.com> |
646 | ||
647 | * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*. | |
648 | ||
f537f2f7 MM |
649 | 2005-02-08 Mark Mitchell <mark@codesourcery.com> |
650 | ||
651 | * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*. | |
652 | ||
a47add83 LR |
653 | 2005-02-07 Loren J. Rittle <ljrittle@acm.org> |
654 | ||
655 | * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static. | |
656 | * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and | |
657 | src static. | |
658 | ||
8a532804 BS |
659 | 2005-02-02 Brad Spencer <spencer@infointeractive.com> |
660 | ||
661 | * debug.html: Fix broken tags. | |
662 | * documentation.html: Same. | |
663 | ||
c85b032a AJ |
664 | 2005-02-02 Andreas Jaeger <aj@suse.de> |
665 | ||
666 | * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch | |
667 | from 2005-01-28. | |
668 | * testsuite/Makefile.am: Likewise. | |
669 | * testsuite/Makefile.in: Likewise. | |
670 | ||
4d73fac9 PC |
671 | 2005-02-01 Paolo Carlini <pcarlini@suse.de> |
672 | ||
673 | * include/bits/cpp_type_traits.h: Rename _M_type fields to | |
674 | __value, except for __enable_if, _M_type -> __type, consistently | |
675 | with the other traits. | |
676 | * include/bits/stl_algobase.h: Tweak consistently. | |
677 | * include/bits/stl_tree.h: Likewise. | |
678 | * include/bits/valarray_array.h: Likewise. | |
679 | * include/c_std/std_cmath.h: Likewise. | |
680 | * include/debug/safe_iterator.h: Likewise. | |
681 | * include/std/std_complex.h: Likewise. | |
682 | ||
ddf2a54a BS |
683 | 2005-01-31 Brad Spencer <spencer@infointeractive.com> |
684 | ||
685 | * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. | |
a1286ef5 | 686 | * configure: Regenerated. |
ddf2a54a | 687 | |
93678513 MM |
688 | 2005-01-31 Mark Mitchell <mark@codesourcery.com> |
689 | ||
690 | * include/std/std_limits.h (numeric_limits<float>::has_denorm): | |
691 | Add required cast. | |
692 | (numeric_limits<double>::has_denorm): Likewise. | |
693 | (numeric_limits<long double>::has_denorm): Likewise. | |
694 | ||
c0736a9d PC |
695 | 2005-01-31 Paolo Carlini <pcarlini@suse.de> |
696 | Gabriel Dos Reis <gdr@integrable-solutions.net> | |
697 | ||
698 | * include/bits/cpp_type_traits.h: Add types to the structs thus | |
699 | making type_traits.h redundant; exploit new __truth_type and | |
700 | __traitor helpers. | |
701 | * include/bits/type_traits.h: Remove. | |
702 | * include/Makefile.am: Update. | |
703 | * include/Makefile.in: Regenerate. | |
704 | * include/backward/tempbuf.h: Include cpp_type_traits.h instead. | |
705 | * include/bits/basic_string.h (replace(iterator, iterator, | |
706 | _InputIterator, _InputIterator), _S_construct(_InIterator, | |
707 | _InIterator, const _Alloc&)): Use __is_integer instead. | |
708 | * include/bits/stl_bvector.h (vector(_InputIterator, | |
709 | _InputIterator, const allocator_type&), assign(_InputIterator, | |
710 | _InputIterator), insert(iterator, _InputIterator, _InputIterator)): | |
711 | Likewise. | |
712 | * include/bits/stl_construct.h (_Destroy(_ForwardIterator, | |
713 | _ForwardIterator)): Use __is_scalar. | |
714 | * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator, | |
715 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
716 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
717 | * include/bits/stl_list.h (assign(_InputIterator, _InputIterator), | |
718 | insert(iterator, _InputIterator, _InputIterator)): Likewise. | |
719 | * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator, | |
720 | _ForwardIterator)): Use __is_scalar. | |
721 | * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator, | |
722 | _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator, | |
723 | _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator, | |
724 | _Size, const _Tp&)): Likewise. | |
725 | * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator, | |
726 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
727 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
728 | * include/debug/debug.h (__valid_range(const _InputIterator&, | |
729 | const _InputIterator&)): Use __is_integer. | |
730 | * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise. | |
731 | * include/std/std_string.h: Include cpp_type_traits.h instead. | |
732 | ||
d2f64e95 PC |
733 | 2005-01-30 Paolo Carlini <pcarlini@suse.de> |
734 | ||
735 | PR libstdc++/19642 | |
736 | * config/locale/generic/c_locale.h (__convert_from_v): Switch only | |
737 | LC_NUMERIC, and only when actually != "C". | |
738 | ||
7536f1ed PC |
739 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
740 | ||
741 | * include/tr1/type_traits (is_function): Minor consistency tweaks. | |
742 | ||
7d665006 GK |
743 | 2005-01-28 Geoffrey Keating <geoffk@apple.com> |
744 | ||
745 | * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path | |
746 | for the compiler. Don't set cxxflags. | |
747 | (v3_target_compile): Search for libv3test.a relative to $objdir. | |
748 | (lsearch_all_inline): New. | |
749 | (lsearch_all_inline_not): New. | |
750 | (v3-list-tests): Rewrite to not need generated files. | |
751 | * testsuite/Makefile.am (IGNORE_WCHAR_T): New. | |
752 | (IGNORE_THREAD): New. | |
753 | (TESTS_TO_IGNORE): New. | |
754 | (site.exp): Set tests_to_ignore, cxxflags. | |
755 | * aclocal.m4: Regenerate. | |
756 | * Makefile.in: Regenerate. | |
757 | * libmath/Makefile.in: Likewise. | |
758 | * libsupc++/Makefile.in: Likewise. | |
759 | * po/Makefile.in: Likewise. | |
760 | * src/Makefile.in: Likewise. | |
761 | * testsuite/Makefile.in: Likewise. | |
762 | ||
91e390fe PC |
763 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
764 | ||
765 | * include/tr1/type_traits: Implement is_empty. | |
766 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
767 | is_empty.cc: New. | |
768 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
769 | typedefs.cc: Likewise. | |
770 | ||
771 | * include/tr1/type_traits (__is_abstract_helper): Simplify a bit. | |
772 | ||
f8023b78 PC |
773 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
774 | ||
775 | * include/tr1/type_traits: Implement is_abstract, by exploiting the | |
776 | resolution of DR core/337. | |
777 | * testsuite/testsuite_tr1.h: Add AbstractClass. | |
778 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
779 | is_abstract.cc: New. | |
780 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
781 | typedefs.cc: Likewise. | |
a1286ef5 | 782 | |
f8023b78 PC |
783 | * include/tr1/type_traits (is_function): Rewrite, use the conversion |
784 | F& -> F* instead, thus avoiding problems with abstract classes. | |
785 | * testsuite/tr1/4_metaprogramming/primary_type_categories/ | |
786 | is_function/is_function.cc: Add a test for tricky AbstractClass. | |
787 | ||
b929615a PC |
788 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
789 | ||
790 | * include/ext/mt_allocator.h | |
791 | (struct __per_type_pool_policy<,, false>::_S_get_pool, | |
792 | struct __per_type_pool_policy<,, true>::_S_get_pool): Scale | |
793 | _M_chunk_size too with sizeof(_Tp), otherwise the allocator | |
794 | breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128; | |
795 | reduce to 64 the multiplier for _M_max_bytes (safer wrt | |
796 | _Binmap_type being a short); trivial reformattings. | |
797 | * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New. | |
798 | ||
02a65d23 PC |
799 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
800 | ||
801 | * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex | |
802 | to the final test for enable_c99, thus robustifying it; remove | |
803 | duplicate final test on ac_99_math. | |
804 | * configure: Regenerate. | |
805 | ||
806 | * include/std/std_complex.h: Remove usages of the dead | |
807 | _GLIBCXX_BUGGY_COMPLEX macro. | |
808 | ||
809 | * testsuite/26_numerics/cmath/19322.cc: Protect with | |
810 | _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99, | |
811 | since only C99 math facilities are involved. | |
812 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
813 | Likewise. | |
814 | ||
a7f7b334 LR |
815 | 2005-01-25 Loren J. Rittle <ljrittle@acm.org> |
816 | ||
817 | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin | |
818 | instead of generic. Change autoconf report to "darwin or freebsd". | |
819 | * configure: Regenerate. | |
820 | * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add. | |
821 | (ctype<wchar_t>::do_scan_is): Likewise. | |
822 | (ctype<wchar_t>::do_scan_not): Likewise. | |
823 | ||
52e6723c BK |
824 | 2005-01-25 Benjamin Kosnik <bkoz@redhat.com> |
825 | ||
826 | * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math | |
827 | functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist. | |
828 | * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH. | |
829 | * config.h.in: Regenerate. | |
830 | * configure: Regenerate. | |
831 | * include/std/std_complex.h: Protect complex builtins with | |
832 | _GLIBCXX_USE_C99_COMPLEX_MATH. | |
833 | ||
e930780c PC |
834 | 2005-01-24 Paolo Carlini <pcarlini@suse.de> |
835 | ||
836 | * include/tr1/type_traits: Implement is_signed and is_unsigned. | |
837 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
838 | is_signed/is_signed.cc: New. | |
839 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
840 | is_signed/typedefs.cc: Likewise. | |
841 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
842 | is_unsigned/is_unsigned.cc: Likewise. | |
843 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
844 | is_unsigned/typedefs.cc: Likewise. | |
845 | ||
b142e278 PC |
846 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
847 | ||
848 | * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34. | |
849 | ||
ba4b172f PC |
850 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
851 | ||
852 | * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New. | |
853 | * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise. | |
854 | * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise. | |
855 | * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise. | |
856 | * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise. | |
857 | * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise. | |
858 | * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise. | |
859 | * testsuite/27_io/basic_ostream/flush/wchar_t/ | |
860 | exceptions_badbit_throw.cc: Likewise. | |
861 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
862 | wchar_t/2.cc: Likewise. | |
863 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
864 | wchar_t/3.cc: Likewise. | |
865 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
866 | wchar_t/4.cc: Likewise. | |
867 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
868 | wchar_t/4402.cc: Likewise. | |
869 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
870 | wchar_t/5.cc: Likewise. | |
871 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
872 | wchar_t/6.cc: Likewise. | |
873 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
874 | wchar_t/9555-oa.cc: Likewise. | |
875 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
876 | wchar_t/exceptions_badbit_throw.cc: Likewise. | |
877 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
878 | wchar_t/exceptions_failbit_throw.cc: Likewise. | |
879 | * testsuite/27_io/basic_ostream/inserters_character/ | |
880 | wchar_t/1.cc: Likewise. | |
881 | * testsuite/27_io/basic_ostream/inserters_character/ | |
882 | wchar_t/2.cc: Likewise. | |
883 | * testsuite/27_io/basic_ostream/inserters_character/ | |
884 | wchar_t/3.cc: Likewise. | |
885 | * testsuite/27_io/basic_ostream/inserters_character/ | |
886 | wchar_t/4.cc: Likewise. | |
887 | * testsuite/27_io/basic_ostream/inserters_character/ | |
888 | wchar_t/5.cc: Likewise. | |
889 | * testsuite/27_io/basic_ostream/inserters_character/ | |
890 | wchar_t/6.cc: Likewise. | |
891 | * testsuite/27_io/basic_ostream/inserters_character/ | |
892 | wchar_t/9555-oc.cc: Likewise. | |
893 | * testsuite/27_io/basic_ostream/inserters_other/ | |
894 | wchar_t/1.cc: Likewise. | |
895 | * testsuite/27_io/basic_ostream/inserters_other/ | |
896 | wchar_t/2.cc: Likewise. | |
897 | * testsuite/27_io/basic_ostream/inserters_other/ | |
898 | wchar_t/3.cc: Likewise. | |
899 | * testsuite/27_io/basic_ostream/inserters_other/ | |
900 | wchar_t/4.cc: Likewise. | |
901 | * testsuite/27_io/basic_ostream/inserters_other/ | |
902 | wchar_t/5.cc: Likewise. | |
903 | * testsuite/27_io/basic_ostream/inserters_other/ | |
904 | wchar_t/9318-out.cc: Likewise. | |
905 | * testsuite/27_io/basic_ostream/inserters_other/ | |
906 | wchar_t/9424-out.cc: Likewise. | |
907 | * testsuite/27_io/basic_ostream/inserters_other/ | |
908 | wchar_t/9555-oo.cc: Likewise. | |
909 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
910 | error_failbit.cc: Likewise. | |
911 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
912 | exceptions_badbit_throw.cc: Likewise. | |
913 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
914 | exceptions_failbit_throw.cc: Likewise. | |
915 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
916 | exceptions_null.cc: Likewise. | |
917 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
918 | * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise. | |
919 | * testsuite/27_io/basic_ostream/seekp/char/ | |
920 | exceptions_badbit_throw.cc: Likewise. | |
921 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
922 | 2346-fstream.cc: Likewise. | |
923 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
924 | 2346-sstream.cc: Likewise. | |
925 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
926 | exceptions_badbit_throw.cc: Likewise. | |
927 | * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise. | |
928 | * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise. | |
929 | * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise. | |
930 | * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise. | |
931 | * testsuite/27_io/basic_ostream/tellp/wchar_t/ | |
932 | exceptions_badbit_throw.cc: Likewise. | |
933 | * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise. | |
934 | ||
935 | * testsuite/data/wostream_inserter_char-1.tst: Likewise. | |
936 | * testsuite/data/wostream_inserter_char-1.txt: Likewise. | |
937 | * testsuite/data/wostream_inserter_other-1.tst: Likewise. | |
938 | * testsuite/data/wostream_inserter_other-2.tst: Likewise. | |
939 | * testsuite/data/wostream_seeks-1.tst: Likewise. | |
940 | ||
941 | * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks. | |
942 | * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. | |
a1286ef5 | 943 | * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. |
ba4b172f PC |
944 | * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. |
945 | * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. | |
946 | * testsuite/27_io/basic_ostream/flush/char/ | |
947 | exceptions_badbit_throw.cc: Likewise. | |
948 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
949 | char/2.cc: Likewise. | |
950 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
951 | char/3.cc: Likewise. | |
952 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
953 | char/4.cc: Likewise. | |
954 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
955 | char/4402.cc: Likewise. | |
956 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
957 | char/5.cc: Likewise. | |
958 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
959 | char/6.cc: Likewise. | |
960 | * testsuite/27_io/basic_ostream/inserters_character/ | |
961 | char/4.cc: Likewise. | |
962 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
963 | 2.cc: Likewise. | |
964 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
965 | 5.cc: Likewise. | |
966 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
967 | error_failbit.cc: Likewise. | |
968 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
969 | exceptions_badbit_throw.cc: Likewise. | |
970 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
971 | exceptions_failbit_throw.cc: Likewise. | |
972 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
973 | exceptions_null.cc: Likewise. | |
974 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
975 | * testsuite/27_io/basic_ostream/seekp/char/ | |
976 | exceptions_badbit_throw.cc: Likewise. | |
977 | * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise. | |
978 | * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise. | |
979 | ||
96144e13 PC |
980 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
981 | ||
982 | * include/tr1/type_traits (aligned_storage): Use __aligned__ instead | |
983 | of aligned. | |
984 | ||
0554d39a | 985 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
a1286ef5 | 986 | Andreas Jaeger <aj@suse.de> |
0554d39a PC |
987 | |
988 | PR libstdc++/19343 | |
989 | * include/bits/functexcept.h: Mark the helpers as 'noreturn'. | |
990 | ||
7e4d34fd LR |
991 | 2005-01-21 Loren J. Rittle <ljrittle@acm.org> |
992 | ||
993 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow | |
994 | lseek on fifo to succeed. Thus, check for consistent report. | |
995 | ||
a7a44441 VR |
996 | 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
997 | ||
998 | PR libstdc++/19510 | |
999 | * include/bits/stl_list.h (_List_iterator): Initialize _M_node | |
1000 | in constructor. | |
1001 | (_List_const_iterator): Likewise. | |
1002 | * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise. | |
1003 | (_Rb_tree_const_iterator): Likewise. | |
1004 | ||
1005 | * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers. | |
1006 | * testsuite/23_containers/set/operators/1_neg.cc: Likewise. | |
1007 | ||
45d5f9af BK |
1008 | 2005-01-20 Benjamin Kosnik <bkoz@redhat.com> |
1009 | ||
1010 | * testsuite/Makefile.am (check-compile): New. | |
a1286ef5 | 1011 | * testsuite/Makefile.in: Regenerate. |
45d5f9af BK |
1012 | * scripts/check_compile_time: New. |
1013 | * scripts/check_performance: Tweaks. | |
1014 | ||
9634af02 PC |
1015 | 2005-01-19 Paolo Carlini <pcarlini@suse.de> |
1016 | ||
1017 | PR libstdc++/19535 | |
1018 | * include/tr1/utility (struct __pair_get<1>::__get, __const_get): | |
1019 | Fix typo in the return type. | |
1020 | * testsuite/tr1/6_containers/utility/19535.cc: New. | |
1021 | ||
75aa3f65 LR |
1022 | 2005-01-19 Loren J. Rittle <ljrittle@acm.org> |
1023 | ||
1024 | * include/ext/array_allocator.h (array_allocator<>::allocate): | |
1025 | Avoid __used. Use __array_used instead. | |
5116ad96 | 1026 | * docs/html/17_intro/BADNAMES: Add list for FreeBSD. |
75aa3f65 | 1027 | |
1906b8dc DE |
1028 | 2005-01-18 David Edelsohn <edelsohn@gnu.org> |
1029 | ||
1030 | * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete. | |
1031 | (_XOPEN_SOURCE_EXTENDED): Delete. | |
1032 | ||
f474835b BK |
1033 | 2005-01-18 Benjamin Kosnik <bkoz@redhat.com> |
1034 | ||
1035 | * testsuite/testsuite_performance.h (time_counter::start): | |
1036 | Clear. Tweaks. | |
1037 | (clear_counters): Inline. | |
1038 | (start_counters): Inline. | |
1039 | (stop_counters): Inline. | |
1040 | * testsuite/performance/20_util/allocator/map_thread.cc: Return. | |
1041 | * testsuite/performance/20_util/allocator/insert.cc: Remove bogus | |
1042 | return, add return. | |
1043 | * testsuite/performance/20_util/allocator/map_thread.cc: Same. | |
a1286ef5 | 1044 | |
ac317859 PC |
1045 | 2005-01-17 Paolo Carlini <pcarlini@suse.de> |
1046 | ||
1047 | PR libstdc++/19433 | |
1048 | * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator, | |
1049 | const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)): | |
1050 | Obtain amortized constant complexity if t is inserted right after | |
1051 | p - not before p - as per Table 69. | |
1052 | * testsuite/performance/23_containers/set_insert_from_sorted.cc: New. | |
a1286ef5 | 1053 | |
ac317859 PC |
1054 | * testsuite/23_containers/multiset/insert/2.cc: New. |
1055 | * testsuite/23_containers/set/insert/1.cc: Likewise. | |
a1286ef5 | 1056 | |
ac317859 PC |
1057 | * testsuite/performance/23_containers/set_create_from_sorted.cc: |
1058 | Simplify. | |
1059 | ||
1060 | * include/bits/stl_tree.h: Add a few missing std:: qualifications. | |
1061 | ||
412dc870 JW |
1062 | 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org> |
1063 | ||
1064 | * include/ext/rope: Qualify calls to std::copy() by sequence_buffer. | |
1065 | * testsuite/ext/rope/4.cc: Add. | |
1066 | ||
3a2794ab LM |
1067 | 2005-01-16 Lorenz Minder <lminder@gmx.net> |
1068 | Paolo Carlini <pcarlini@suse.de> | |
1069 | ||
1070 | PR libstdc++/19322 | |
1071 | * include/c_std/std_cmath.h: Define the C99 classification facilities | |
1072 | directly inside namespace std:. | |
1073 | * testsuite/26_numerics/cmath/19322.cc: New. | |
1074 | ||
57307e31 DE |
1075 | 2005-01-15 David Edelsohn <edelsohn@gnu.org> |
1076 | ||
1077 | * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete. | |
1078 | ||
21c332dc PC |
1079 | 2005-01-14 Paolo Carlini <pcarlini@suse.de> |
1080 | ||
1081 | PR libstdc++/19422 | |
1082 | * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II), | |
1083 | _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique, | |
1084 | respectively) with hint (end()). | |
1085 | * testsuite/performance/23_containers/set_create_from_sorted.cc: New. | |
1086 | ||
ae59b55c GK |
1087 | 2005-01-13 Geoffrey Keating <geoffk@apple.com> |
1088 | ||
1089 | * configure.host (darwin): On darwin8 or later, no need to build | |
1090 | libstdc++ with -flat_namespace. | |
1091 | ||
516cb88a JW |
1092 | 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org> |
1093 | ||
1094 | * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES. | |
1095 | ||
f5d8395b PC |
1096 | 2005-01-13 Paolo Carlini <pcarlini@suse.de> |
1097 | ||
1098 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
1099 | Re-enable commented-out test for double type. | |
1100 | ||
78593d78 PC |
1101 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
1102 | Benjamin Kosnik <bkoz@redhat.com> | |
1103 | ||
1104 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
1105 | basic_istream<char>::ignore(streamsize, int_type), | |
1106 | basic_istream<wchar_t>::ignore(streamsize), | |
1107 | basic_istream<wchar_t>::ignore(streamsize, int_type)): In case | |
1108 | more than numeric_limits<streamsize>::max() chars are skipped, | |
1109 | set _M_gcount = max(). | |
1110 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
1111 | int_type)): Likewise; keep simple, don't forward. | |
1112 | ||
a141a5af PC |
1113 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
1114 | ||
1115 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
1116 | basic_istream<char>::ignore(streamsize, int_type), | |
1117 | basic_istream<wchar_t>::ignore(streamsize), | |
1118 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert | |
1119 | 2005-01-05 change: actually, the previous behavior is conforming | |
1120 | and consistent with that of get(char_type*, streamsize, char_type), | |
1121 | albeit slightly different from that of 3.3/3.4 in a corner case | |
1122 | due to the use of snextc. | |
1123 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
1124 | int_type)): Likewise. | |
1125 | * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove. | |
1126 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
1127 | ||
464b277b PC |
1128 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
1129 | ||
1130 | * include/tr1/type_traits: Implement alignment_of and aligned_storage. | |
1131 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
1132 | aligned_storage/aligned_storage.cc: New. | |
1133 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
1134 | aligned_storage/typedefs.cc: Likewise. | |
1135 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
1136 | alignment_of/alignment_of.cc: Likewise. | |
1137 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
1138 | alignment_of/typedefs.cc: Likewise. | |
1139 | ||
3e636396 PC |
1140 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> |
1141 | ||
1142 | * Makefile.in: Regenerate. | |
1143 | * libmath/Makefile.in: Likewise. | |
1144 | * libsupc++/Makefile.in: Likewise. | |
1145 | * po/Makefile.in: Likewise. | |
1146 | * src/Makefile.in: Likewise. | |
1147 | * testsuite/Makefile.in: Likewise. | |
1148 | ||
1149 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> | |
1150 | ||
1151 | * include/bits/stl_algobase.h (lexicographical_compare): | |
1152 | Fix concept check. | |
1153 | ||
825bd0e1 BK |
1154 | 2005-01-07 Benjamin Kosnik <bkoz@redhat.com> |
1155 | ||
1156 | * acinclude.m4: Remove CCODECVT_H. | |
1157 | * configure: Regenerate. | |
1158 | * include/Makefile.am (host_headers_extra): Move to... | |
1159 | (ext_headers): ...here. | |
1160 | * include/Makefile.in: Regenerate. | |
1161 | * include/ext/enc_filebuf: Remove enc_filebuf, consolidate | |
1162 | enc_traits to... | |
1163 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move... | |
1164 | * include/ext/codecvt_specializations.h: ...here. Remove | |
a1286ef5 | 1165 | _GLIBCXX_USE___ENC_TRAITS. |
825bd0e1 BK |
1166 | (__enc_traits): To __encoding_state, put in __gnu_cxx namespace. |
1167 | (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx | |
1168 | namespace. | |
1169 | * config/locale/generic/codecvt_specializations.h: Remove. | |
1170 | * include/bits/codecvt.h: Remove codecvt_specializations.h include. | |
1171 | * src/codecvt.cc: Remove __enc_traits::_S_max_size. | |
1172 | ||
a8e3a00f BK |
1173 | 2005-01-06 Benjamin Kosnik <bkoz@redhat.com> |
1174 | ||
1175 | * include/bits/fstream.tcc: Remove unnecessary qualifications for | |
1176 | uglified data members of basic_filebuf, including _M_buf, | |
1177 | _M_buf_size, _M_mode, _M_pback_init. | |
1178 | * include/std/std_fstream.h: Same. | |
a1286ef5 | 1179 | |
56ffd9b3 BK |
1180 | 2005-01-05 Benjamin Kosnik <bkoz@redhat.com> |
1181 | ||
a1286ef5 | 1182 | * testsuite/testsuite_hooks.h: |
56ffd9b3 BK |
1183 | (copy_constructor::mark_call): Use __throw_runtime_error. |
1184 | (assignment_operator::mark_call): Same. | |
1185 | * testsuite/testsuite_hooks.cc (verify_demangle): Same. | |
1186 | (locale_data): Remove, just use runtime_error directly. | |
1187 | (environment_variable): Same. | |
1188 | (not_found): Same. | |
1189 | (run_tests_wrapped_locale): Use __throw_runtime_error. | |
1190 | (run_tests_wrapped_env): Same. | |
1191 | (semaphore::semaphore): Same. | |
1192 | (semaphore::signal): Same. | |
1193 | (semaphore::wait): Same. | |
1194 | * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error. | |
1195 | * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error. | |
1196 | (create_symbols): Use __throw_runtime_error. | |
1197 | * src/bitmap_allocator.cc: Use __throw_bad_alloc. | |
1198 | ||
5cfa4794 MM |
1199 | 2005-01-05 Mark Mitchell <mark@codesourcery.com> |
1200 | ||
1201 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child | |
1202 | process. | |
a1286ef5 | 1203 | |
1e156882 PC |
1204 | 2005-01-05 Paolo Carlini <pcarlini@suse.de> |
1205 | ||
1206 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
1207 | basic_istream<char>::ignore(streamsize, int_type), | |
1208 | basic_istream<wchar_t>::ignore(streamsize), | |
1209 | basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end, | |
a1286ef5 | 1210 | first check _M_gcount vs __n. |
1e156882 PC |
1211 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, |
1212 | int_type)): Likewise. | |
1213 | * testsuite/27_io/basic_istream/ignore/char/4.cc: New. | |
1214 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
1215 | ||
8f1032c1 MM |
1216 | 2005-01-03 Mark Mitchell <mark@codesourcery.com> |
1217 | ||
35a91d76 MM |
1218 | * testsuite/testsuite_hooks.cc: Use __throw_exception_again |
1219 | instead of just throw. | |
1220 | ||
8ca82e09 MM |
1221 | * testsuite/testsuite_hooks.cc: Update coypright and follow style |
1222 | guidelines. | |
1223 | * testsuite/testsuite_hooks.h: Likewise. | |
1224 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use | |
1225 | semaphores, not sleep. | |
1226 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
1227 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
1228 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
1229 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
1230 | Likewise. | |
1231 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
1232 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
1233 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
1234 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
1235 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
1236 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. | |
1237 | ||
a1286ef5 | 1238 | * configure.ac: Check for sys/ipc.h and sys/sem.h. |
8f1032c1 MM |
1239 | * config.h.in: Regenerated. |
1240 | * configure: Likewise. | |
1241 | * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally | |
1242 | define. | |
1243 | (sys/types.h): Include. | |
1244 | (sys/ipc.h): Likewise. | |
1245 | (sys/sem.h): Likewise. | |
1246 | (__gnu_test::semun): New type. | |
1247 | (__gnu_test::semaphore::sempaphore): New function. | |
1248 | (__gnu_test::semaphore::~semaphore): Likewise. | |
1249 | (__gnu_test::semaphore::wait): Likewise. | |
1250 | (__gnu_test::semaphore::signal): Likewise. | |
1251 | * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class. | |
fd99e134 | 1252 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use |
8f1032c1 MM |
1253 | semaphores, not sleep. |
1254 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
1255 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
1256 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
1257 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
1258 | Likewise. | |
1259 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
1260 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
1261 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
1262 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
1263 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
fd99e134 | 1264 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. |
8f1032c1 | 1265 | |
ab4af6a5 PC |
1266 | 2005-01-03 Paolo Carlini <pcarlini@suse.de> |
1267 | ||
1268 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
1269 | int_type)): Reset _M_gcount to numeric_limits<streamsize>::min(). | |
1270 | * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type), | |
1271 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise. | |
1272 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
1273 | basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo. | |
1274 | ||
bea53dbf PC |
1275 | 2005-01-02 Paolo Carlini <pcarlini@suse.de> |
1276 | ||
1277 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
1278 | basic_istream<char>::ignore(streamsize, int_type), | |
1279 | basic_istream<wchar_t>::ignore(streamsize), | |
1280 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid | |
a1286ef5 | 1281 | _M_gcount overflows. |
bea53dbf PC |
1282 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, |
1283 | int_type)): Likewise; use snextc in the main loop, consistently | |
1284 | with the specializations above. | |
1285 | ||
ab06dedc CJ |
1286 | 2005-01-02 Chris Jefferson <chris@bubblescope.net> |
1287 | ||
1288 | * include/bits/stl_algobase.h (mismatch): Correct concept check. | |
1289 | ||
d13cebde PC |
1290 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
1291 | ||
1292 | * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include | |
1293 | testsuite_hooks.h, to know whether including ext/enc_filebuf.h. | |
1294 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. | |
1295 | ||
d3f128e9 | 1296 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
bdaa4452 | 1297 | |
d3f128e9 PC |
1298 | * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix, |
1299 | null-terminate array1 at the outset. | |
1300 | * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: | |
17fa5560 | 1301 | Likewise. |