]>
Commit | Line | Data |
---|---|---|
8a532804 BS |
1 | 2005-02-02 Brad Spencer <spencer@infointeractive.com> |
2 | ||
3 | * debug.html: Fix broken tags. | |
4 | * documentation.html: Same. | |
5 | ||
c85b032a AJ |
6 | 2005-02-02 Andreas Jaeger <aj@suse.de> |
7 | ||
8 | * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch | |
9 | from 2005-01-28. | |
10 | * testsuite/Makefile.am: Likewise. | |
11 | * testsuite/Makefile.in: Likewise. | |
12 | ||
4d73fac9 PC |
13 | 2005-02-01 Paolo Carlini <pcarlini@suse.de> |
14 | ||
15 | * include/bits/cpp_type_traits.h: Rename _M_type fields to | |
16 | __value, except for __enable_if, _M_type -> __type, consistently | |
17 | with the other traits. | |
18 | * include/bits/stl_algobase.h: Tweak consistently. | |
19 | * include/bits/stl_tree.h: Likewise. | |
20 | * include/bits/valarray_array.h: Likewise. | |
21 | * include/c_std/std_cmath.h: Likewise. | |
22 | * include/debug/safe_iterator.h: Likewise. | |
23 | * include/std/std_complex.h: Likewise. | |
24 | ||
ddf2a54a BS |
25 | 2005-01-31 Brad Spencer <spencer@infointeractive.com> |
26 | ||
27 | * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. | |
28 | * configure: Regenerated. | |
29 | ||
93678513 MM |
30 | 2005-01-31 Mark Mitchell <mark@codesourcery.com> |
31 | ||
32 | * include/std/std_limits.h (numeric_limits<float>::has_denorm): | |
33 | Add required cast. | |
34 | (numeric_limits<double>::has_denorm): Likewise. | |
35 | (numeric_limits<long double>::has_denorm): Likewise. | |
36 | ||
c0736a9d PC |
37 | 2005-01-31 Paolo Carlini <pcarlini@suse.de> |
38 | Gabriel Dos Reis <gdr@integrable-solutions.net> | |
39 | ||
40 | * include/bits/cpp_type_traits.h: Add types to the structs thus | |
41 | making type_traits.h redundant; exploit new __truth_type and | |
42 | __traitor helpers. | |
43 | * include/bits/type_traits.h: Remove. | |
44 | * include/Makefile.am: Update. | |
45 | * include/Makefile.in: Regenerate. | |
46 | * include/backward/tempbuf.h: Include cpp_type_traits.h instead. | |
47 | * include/bits/basic_string.h (replace(iterator, iterator, | |
48 | _InputIterator, _InputIterator), _S_construct(_InIterator, | |
49 | _InIterator, const _Alloc&)): Use __is_integer instead. | |
50 | * include/bits/stl_bvector.h (vector(_InputIterator, | |
51 | _InputIterator, const allocator_type&), assign(_InputIterator, | |
52 | _InputIterator), insert(iterator, _InputIterator, _InputIterator)): | |
53 | Likewise. | |
54 | * include/bits/stl_construct.h (_Destroy(_ForwardIterator, | |
55 | _ForwardIterator)): Use __is_scalar. | |
56 | * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator, | |
57 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
58 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
59 | * include/bits/stl_list.h (assign(_InputIterator, _InputIterator), | |
60 | insert(iterator, _InputIterator, _InputIterator)): Likewise. | |
61 | * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator, | |
62 | _ForwardIterator)): Use __is_scalar. | |
63 | * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator, | |
64 | _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator, | |
65 | _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator, | |
66 | _Size, const _Tp&)): Likewise. | |
67 | * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator, | |
68 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
69 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
70 | * include/debug/debug.h (__valid_range(const _InputIterator&, | |
71 | const _InputIterator&)): Use __is_integer. | |
72 | * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise. | |
73 | * include/std/std_string.h: Include cpp_type_traits.h instead. | |
74 | ||
d2f64e95 PC |
75 | 2005-01-30 Paolo Carlini <pcarlini@suse.de> |
76 | ||
77 | PR libstdc++/19642 | |
78 | * config/locale/generic/c_locale.h (__convert_from_v): Switch only | |
79 | LC_NUMERIC, and only when actually != "C". | |
80 | ||
7536f1ed PC |
81 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
82 | ||
83 | * include/tr1/type_traits (is_function): Minor consistency tweaks. | |
84 | ||
7d665006 GK |
85 | 2005-01-28 Geoffrey Keating <geoffk@apple.com> |
86 | ||
87 | * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path | |
88 | for the compiler. Don't set cxxflags. | |
89 | (v3_target_compile): Search for libv3test.a relative to $objdir. | |
90 | (lsearch_all_inline): New. | |
91 | (lsearch_all_inline_not): New. | |
92 | (v3-list-tests): Rewrite to not need generated files. | |
93 | * testsuite/Makefile.am (IGNORE_WCHAR_T): New. | |
94 | (IGNORE_THREAD): New. | |
95 | (TESTS_TO_IGNORE): New. | |
96 | (site.exp): Set tests_to_ignore, cxxflags. | |
97 | * aclocal.m4: Regenerate. | |
98 | * Makefile.in: Regenerate. | |
99 | * libmath/Makefile.in: Likewise. | |
100 | * libsupc++/Makefile.in: Likewise. | |
101 | * po/Makefile.in: Likewise. | |
102 | * src/Makefile.in: Likewise. | |
103 | * testsuite/Makefile.in: Likewise. | |
104 | ||
91e390fe PC |
105 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
106 | ||
107 | * include/tr1/type_traits: Implement is_empty. | |
108 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
109 | is_empty.cc: New. | |
110 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
111 | typedefs.cc: Likewise. | |
112 | ||
113 | * include/tr1/type_traits (__is_abstract_helper): Simplify a bit. | |
114 | ||
f8023b78 PC |
115 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
116 | ||
117 | * include/tr1/type_traits: Implement is_abstract, by exploiting the | |
118 | resolution of DR core/337. | |
119 | * testsuite/testsuite_tr1.h: Add AbstractClass. | |
120 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
121 | is_abstract.cc: New. | |
122 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
123 | typedefs.cc: Likewise. | |
124 | ||
125 | * include/tr1/type_traits (is_function): Rewrite, use the conversion | |
126 | F& -> F* instead, thus avoiding problems with abstract classes. | |
127 | * testsuite/tr1/4_metaprogramming/primary_type_categories/ | |
128 | is_function/is_function.cc: Add a test for tricky AbstractClass. | |
129 | ||
b929615a PC |
130 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
131 | ||
132 | * include/ext/mt_allocator.h | |
133 | (struct __per_type_pool_policy<,, false>::_S_get_pool, | |
134 | struct __per_type_pool_policy<,, true>::_S_get_pool): Scale | |
135 | _M_chunk_size too with sizeof(_Tp), otherwise the allocator | |
136 | breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128; | |
137 | reduce to 64 the multiplier for _M_max_bytes (safer wrt | |
138 | _Binmap_type being a short); trivial reformattings. | |
139 | * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New. | |
140 | ||
02a65d23 PC |
141 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
142 | ||
143 | * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex | |
144 | to the final test for enable_c99, thus robustifying it; remove | |
145 | duplicate final test on ac_99_math. | |
146 | * configure: Regenerate. | |
147 | ||
148 | * include/std/std_complex.h: Remove usages of the dead | |
149 | _GLIBCXX_BUGGY_COMPLEX macro. | |
150 | ||
151 | * testsuite/26_numerics/cmath/19322.cc: Protect with | |
152 | _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99, | |
153 | since only C99 math facilities are involved. | |
154 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
155 | Likewise. | |
156 | ||
a7f7b334 LR |
157 | 2005-01-25 Loren J. Rittle <ljrittle@acm.org> |
158 | ||
159 | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin | |
160 | instead of generic. Change autoconf report to "darwin or freebsd". | |
161 | * configure: Regenerate. | |
162 | * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add. | |
163 | (ctype<wchar_t>::do_scan_is): Likewise. | |
164 | (ctype<wchar_t>::do_scan_not): Likewise. | |
165 | ||
52e6723c BK |
166 | 2005-01-25 Benjamin Kosnik <bkoz@redhat.com> |
167 | ||
168 | * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math | |
169 | functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist. | |
170 | * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH. | |
171 | * config.h.in: Regenerate. | |
172 | * configure: Regenerate. | |
173 | * include/std/std_complex.h: Protect complex builtins with | |
174 | _GLIBCXX_USE_C99_COMPLEX_MATH. | |
175 | ||
e930780c PC |
176 | 2005-01-24 Paolo Carlini <pcarlini@suse.de> |
177 | ||
178 | * include/tr1/type_traits: Implement is_signed and is_unsigned. | |
179 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
180 | is_signed/is_signed.cc: New. | |
181 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
182 | is_signed/typedefs.cc: Likewise. | |
183 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
184 | is_unsigned/is_unsigned.cc: Likewise. | |
185 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
186 | is_unsigned/typedefs.cc: Likewise. | |
187 | ||
b142e278 PC |
188 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
189 | ||
190 | * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34. | |
191 | ||
ba4b172f PC |
192 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
193 | ||
194 | * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New. | |
195 | * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise. | |
196 | * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise. | |
197 | * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise. | |
198 | * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise. | |
199 | * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise. | |
200 | * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise. | |
201 | * testsuite/27_io/basic_ostream/flush/wchar_t/ | |
202 | exceptions_badbit_throw.cc: Likewise. | |
203 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
204 | wchar_t/2.cc: Likewise. | |
205 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
206 | wchar_t/3.cc: Likewise. | |
207 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
208 | wchar_t/4.cc: Likewise. | |
209 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
210 | wchar_t/4402.cc: Likewise. | |
211 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
212 | wchar_t/5.cc: Likewise. | |
213 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
214 | wchar_t/6.cc: Likewise. | |
215 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
216 | wchar_t/9555-oa.cc: Likewise. | |
217 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
218 | wchar_t/exceptions_badbit_throw.cc: Likewise. | |
219 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
220 | wchar_t/exceptions_failbit_throw.cc: Likewise. | |
221 | * testsuite/27_io/basic_ostream/inserters_character/ | |
222 | wchar_t/1.cc: Likewise. | |
223 | * testsuite/27_io/basic_ostream/inserters_character/ | |
224 | wchar_t/2.cc: Likewise. | |
225 | * testsuite/27_io/basic_ostream/inserters_character/ | |
226 | wchar_t/3.cc: Likewise. | |
227 | * testsuite/27_io/basic_ostream/inserters_character/ | |
228 | wchar_t/4.cc: Likewise. | |
229 | * testsuite/27_io/basic_ostream/inserters_character/ | |
230 | wchar_t/5.cc: Likewise. | |
231 | * testsuite/27_io/basic_ostream/inserters_character/ | |
232 | wchar_t/6.cc: Likewise. | |
233 | * testsuite/27_io/basic_ostream/inserters_character/ | |
234 | wchar_t/9555-oc.cc: Likewise. | |
235 | * testsuite/27_io/basic_ostream/inserters_other/ | |
236 | wchar_t/1.cc: Likewise. | |
237 | * testsuite/27_io/basic_ostream/inserters_other/ | |
238 | wchar_t/2.cc: Likewise. | |
239 | * testsuite/27_io/basic_ostream/inserters_other/ | |
240 | wchar_t/3.cc: Likewise. | |
241 | * testsuite/27_io/basic_ostream/inserters_other/ | |
242 | wchar_t/4.cc: Likewise. | |
243 | * testsuite/27_io/basic_ostream/inserters_other/ | |
244 | wchar_t/5.cc: Likewise. | |
245 | * testsuite/27_io/basic_ostream/inserters_other/ | |
246 | wchar_t/9318-out.cc: Likewise. | |
247 | * testsuite/27_io/basic_ostream/inserters_other/ | |
248 | wchar_t/9424-out.cc: Likewise. | |
249 | * testsuite/27_io/basic_ostream/inserters_other/ | |
250 | wchar_t/9555-oo.cc: Likewise. | |
251 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
252 | error_failbit.cc: Likewise. | |
253 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
254 | exceptions_badbit_throw.cc: Likewise. | |
255 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
256 | exceptions_failbit_throw.cc: Likewise. | |
257 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
258 | exceptions_null.cc: Likewise. | |
259 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
260 | * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise. | |
261 | * testsuite/27_io/basic_ostream/seekp/char/ | |
262 | exceptions_badbit_throw.cc: Likewise. | |
263 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
264 | 2346-fstream.cc: Likewise. | |
265 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
266 | 2346-sstream.cc: Likewise. | |
267 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
268 | exceptions_badbit_throw.cc: Likewise. | |
269 | * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise. | |
270 | * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise. | |
271 | * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise. | |
272 | * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise. | |
273 | * testsuite/27_io/basic_ostream/tellp/wchar_t/ | |
274 | exceptions_badbit_throw.cc: Likewise. | |
275 | * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise. | |
276 | ||
277 | * testsuite/data/wostream_inserter_char-1.tst: Likewise. | |
278 | * testsuite/data/wostream_inserter_char-1.txt: Likewise. | |
279 | * testsuite/data/wostream_inserter_other-1.tst: Likewise. | |
280 | * testsuite/data/wostream_inserter_other-2.tst: Likewise. | |
281 | * testsuite/data/wostream_seeks-1.tst: Likewise. | |
282 | ||
283 | * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks. | |
284 | * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. | |
285 | * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. | |
286 | * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. | |
287 | * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. | |
288 | * testsuite/27_io/basic_ostream/flush/char/ | |
289 | exceptions_badbit_throw.cc: Likewise. | |
290 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
291 | char/2.cc: Likewise. | |
292 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
293 | char/3.cc: Likewise. | |
294 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
295 | char/4.cc: Likewise. | |
296 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
297 | char/4402.cc: Likewise. | |
298 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
299 | char/5.cc: Likewise. | |
300 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
301 | char/6.cc: Likewise. | |
302 | * testsuite/27_io/basic_ostream/inserters_character/ | |
303 | char/4.cc: Likewise. | |
304 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
305 | 2.cc: Likewise. | |
306 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
307 | 5.cc: Likewise. | |
308 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
309 | error_failbit.cc: Likewise. | |
310 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
311 | exceptions_badbit_throw.cc: Likewise. | |
312 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
313 | exceptions_failbit_throw.cc: Likewise. | |
314 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
315 | exceptions_null.cc: Likewise. | |
316 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
317 | * testsuite/27_io/basic_ostream/seekp/char/ | |
318 | exceptions_badbit_throw.cc: Likewise. | |
319 | * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise. | |
320 | * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise. | |
321 | ||
96144e13 PC |
322 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
323 | ||
324 | * include/tr1/type_traits (aligned_storage): Use __aligned__ instead | |
325 | of aligned. | |
326 | ||
0554d39a PC |
327 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
328 | Andreas Jaeger <aj@suse.de> | |
329 | ||
330 | PR libstdc++/19343 | |
331 | * include/bits/functexcept.h: Mark the helpers as 'noreturn'. | |
332 | ||
7e4d34fd LR |
333 | 2005-01-21 Loren J. Rittle <ljrittle@acm.org> |
334 | ||
335 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow | |
336 | lseek on fifo to succeed. Thus, check for consistent report. | |
337 | ||
a7a44441 VR |
338 | 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
339 | ||
340 | PR libstdc++/19510 | |
341 | * include/bits/stl_list.h (_List_iterator): Initialize _M_node | |
342 | in constructor. | |
343 | (_List_const_iterator): Likewise. | |
344 | * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise. | |
345 | (_Rb_tree_const_iterator): Likewise. | |
346 | ||
347 | * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers. | |
348 | * testsuite/23_containers/set/operators/1_neg.cc: Likewise. | |
349 | ||
45d5f9af BK |
350 | 2005-01-20 Benjamin Kosnik <bkoz@redhat.com> |
351 | ||
352 | * testsuite/Makefile.am (check-compile): New. | |
353 | * testsuite/Makefile.in: Regenerate. | |
354 | * scripts/check_compile_time: New. | |
355 | * scripts/check_performance: Tweaks. | |
356 | ||
9634af02 PC |
357 | 2005-01-19 Paolo Carlini <pcarlini@suse.de> |
358 | ||
359 | PR libstdc++/19535 | |
360 | * include/tr1/utility (struct __pair_get<1>::__get, __const_get): | |
361 | Fix typo in the return type. | |
362 | * testsuite/tr1/6_containers/utility/19535.cc: New. | |
363 | ||
75aa3f65 LR |
364 | 2005-01-19 Loren J. Rittle <ljrittle@acm.org> |
365 | ||
366 | * include/ext/array_allocator.h (array_allocator<>::allocate): | |
367 | Avoid __used. Use __array_used instead. | |
5116ad96 | 368 | * docs/html/17_intro/BADNAMES: Add list for FreeBSD. |
75aa3f65 | 369 | |
1906b8dc DE |
370 | 2005-01-18 David Edelsohn <edelsohn@gnu.org> |
371 | ||
372 | * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete. | |
373 | (_XOPEN_SOURCE_EXTENDED): Delete. | |
374 | ||
f474835b BK |
375 | 2005-01-18 Benjamin Kosnik <bkoz@redhat.com> |
376 | ||
377 | * testsuite/testsuite_performance.h (time_counter::start): | |
378 | Clear. Tweaks. | |
379 | (clear_counters): Inline. | |
380 | (start_counters): Inline. | |
381 | (stop_counters): Inline. | |
382 | * testsuite/performance/20_util/allocator/map_thread.cc: Return. | |
383 | * testsuite/performance/20_util/allocator/insert.cc: Remove bogus | |
384 | return, add return. | |
385 | * testsuite/performance/20_util/allocator/map_thread.cc: Same. | |
386 | ||
ac317859 PC |
387 | 2005-01-17 Paolo Carlini <pcarlini@suse.de> |
388 | ||
389 | PR libstdc++/19433 | |
390 | * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator, | |
391 | const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)): | |
392 | Obtain amortized constant complexity if t is inserted right after | |
393 | p - not before p - as per Table 69. | |
394 | * testsuite/performance/23_containers/set_insert_from_sorted.cc: New. | |
395 | ||
396 | * testsuite/23_containers/multiset/insert/2.cc: New. | |
397 | * testsuite/23_containers/set/insert/1.cc: Likewise. | |
398 | ||
399 | * testsuite/performance/23_containers/set_create_from_sorted.cc: | |
400 | Simplify. | |
401 | ||
402 | * include/bits/stl_tree.h: Add a few missing std:: qualifications. | |
403 | ||
412dc870 JW |
404 | 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org> |
405 | ||
406 | * include/ext/rope: Qualify calls to std::copy() by sequence_buffer. | |
407 | * testsuite/ext/rope/4.cc: Add. | |
408 | ||
3a2794ab LM |
409 | 2005-01-16 Lorenz Minder <lminder@gmx.net> |
410 | Paolo Carlini <pcarlini@suse.de> | |
411 | ||
412 | PR libstdc++/19322 | |
413 | * include/c_std/std_cmath.h: Define the C99 classification facilities | |
414 | directly inside namespace std:. | |
415 | * testsuite/26_numerics/cmath/19322.cc: New. | |
416 | ||
57307e31 DE |
417 | 2005-01-15 David Edelsohn <edelsohn@gnu.org> |
418 | ||
419 | * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete. | |
420 | ||
21c332dc PC |
421 | 2005-01-14 Paolo Carlini <pcarlini@suse.de> |
422 | ||
423 | PR libstdc++/19422 | |
424 | * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II), | |
425 | _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique, | |
426 | respectively) with hint (end()). | |
427 | * testsuite/performance/23_containers/set_create_from_sorted.cc: New. | |
428 | ||
ae59b55c GK |
429 | 2005-01-13 Geoffrey Keating <geoffk@apple.com> |
430 | ||
431 | * configure.host (darwin): On darwin8 or later, no need to build | |
432 | libstdc++ with -flat_namespace. | |
433 | ||
516cb88a JW |
434 | 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org> |
435 | ||
436 | * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES. | |
437 | ||
f5d8395b PC |
438 | 2005-01-13 Paolo Carlini <pcarlini@suse.de> |
439 | ||
440 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
441 | Re-enable commented-out test for double type. | |
442 | ||
78593d78 PC |
443 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
444 | Benjamin Kosnik <bkoz@redhat.com> | |
445 | ||
446 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
447 | basic_istream<char>::ignore(streamsize, int_type), | |
448 | basic_istream<wchar_t>::ignore(streamsize), | |
449 | basic_istream<wchar_t>::ignore(streamsize, int_type)): In case | |
450 | more than numeric_limits<streamsize>::max() chars are skipped, | |
451 | set _M_gcount = max(). | |
452 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
453 | int_type)): Likewise; keep simple, don't forward. | |
454 | ||
a141a5af PC |
455 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
456 | ||
457 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
458 | basic_istream<char>::ignore(streamsize, int_type), | |
459 | basic_istream<wchar_t>::ignore(streamsize), | |
460 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert | |
461 | 2005-01-05 change: actually, the previous behavior is conforming | |
462 | and consistent with that of get(char_type*, streamsize, char_type), | |
463 | albeit slightly different from that of 3.3/3.4 in a corner case | |
464 | due to the use of snextc. | |
465 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
466 | int_type)): Likewise. | |
467 | * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove. | |
468 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
469 | ||
464b277b PC |
470 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
471 | ||
472 | * include/tr1/type_traits: Implement alignment_of and aligned_storage. | |
473 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
474 | aligned_storage/aligned_storage.cc: New. | |
475 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
476 | aligned_storage/typedefs.cc: Likewise. | |
477 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
478 | alignment_of/alignment_of.cc: Likewise. | |
479 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
480 | alignment_of/typedefs.cc: Likewise. | |
481 | ||
3e636396 PC |
482 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> |
483 | ||
484 | * Makefile.in: Regenerate. | |
485 | * libmath/Makefile.in: Likewise. | |
486 | * libsupc++/Makefile.in: Likewise. | |
487 | * po/Makefile.in: Likewise. | |
488 | * src/Makefile.in: Likewise. | |
489 | * testsuite/Makefile.in: Likewise. | |
490 | ||
491 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> | |
492 | ||
493 | * include/bits/stl_algobase.h (lexicographical_compare): | |
494 | Fix concept check. | |
495 | ||
825bd0e1 BK |
496 | 2005-01-07 Benjamin Kosnik <bkoz@redhat.com> |
497 | ||
498 | * acinclude.m4: Remove CCODECVT_H. | |
499 | * configure: Regenerate. | |
500 | * include/Makefile.am (host_headers_extra): Move to... | |
501 | (ext_headers): ...here. | |
502 | * include/Makefile.in: Regenerate. | |
503 | * include/ext/enc_filebuf: Remove enc_filebuf, consolidate | |
504 | enc_traits to... | |
505 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move... | |
506 | * include/ext/codecvt_specializations.h: ...here. Remove | |
507 | _GLIBCXX_USE___ENC_TRAITS. | |
508 | (__enc_traits): To __encoding_state, put in __gnu_cxx namespace. | |
509 | (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx | |
510 | namespace. | |
511 | * config/locale/generic/codecvt_specializations.h: Remove. | |
512 | * include/bits/codecvt.h: Remove codecvt_specializations.h include. | |
513 | * src/codecvt.cc: Remove __enc_traits::_S_max_size. | |
514 | ||
a8e3a00f BK |
515 | 2005-01-06 Benjamin Kosnik <bkoz@redhat.com> |
516 | ||
517 | * include/bits/fstream.tcc: Remove unnecessary qualifications for | |
518 | uglified data members of basic_filebuf, including _M_buf, | |
519 | _M_buf_size, _M_mode, _M_pback_init. | |
520 | * include/std/std_fstream.h: Same. | |
521 | ||
56ffd9b3 BK |
522 | 2005-01-05 Benjamin Kosnik <bkoz@redhat.com> |
523 | ||
524 | * testsuite/testsuite_hooks.h: | |
525 | (copy_constructor::mark_call): Use __throw_runtime_error. | |
526 | (assignment_operator::mark_call): Same. | |
527 | * testsuite/testsuite_hooks.cc (verify_demangle): Same. | |
528 | (locale_data): Remove, just use runtime_error directly. | |
529 | (environment_variable): Same. | |
530 | (not_found): Same. | |
531 | (run_tests_wrapped_locale): Use __throw_runtime_error. | |
532 | (run_tests_wrapped_env): Same. | |
533 | (semaphore::semaphore): Same. | |
534 | (semaphore::signal): Same. | |
535 | (semaphore::wait): Same. | |
536 | * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error. | |
537 | * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error. | |
538 | (create_symbols): Use __throw_runtime_error. | |
539 | * src/bitmap_allocator.cc: Use __throw_bad_alloc. | |
540 | ||
5cfa4794 MM |
541 | 2005-01-05 Mark Mitchell <mark@codesourcery.com> |
542 | ||
543 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child | |
544 | process. | |
545 | ||
1e156882 PC |
546 | 2005-01-05 Paolo Carlini <pcarlini@suse.de> |
547 | ||
548 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
549 | basic_istream<char>::ignore(streamsize, int_type), | |
550 | basic_istream<wchar_t>::ignore(streamsize), | |
551 | basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end, | |
552 | first check _M_gcount vs __n. | |
553 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
554 | int_type)): Likewise. | |
555 | * testsuite/27_io/basic_istream/ignore/char/4.cc: New. | |
556 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
557 | ||
8f1032c1 MM |
558 | 2005-01-03 Mark Mitchell <mark@codesourcery.com> |
559 | ||
35a91d76 MM |
560 | * testsuite/testsuite_hooks.cc: Use __throw_exception_again |
561 | instead of just throw. | |
562 | ||
8ca82e09 MM |
563 | * testsuite/testsuite_hooks.cc: Update coypright and follow style |
564 | guidelines. | |
565 | * testsuite/testsuite_hooks.h: Likewise. | |
566 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use | |
567 | semaphores, not sleep. | |
568 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
569 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
570 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
571 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
572 | Likewise. | |
573 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
574 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
575 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
576 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
577 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
578 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. | |
579 | ||
8f1032c1 MM |
580 | * configure.ac: Check for sys/ipc.h and sys/sem.h. |
581 | * config.h.in: Regenerated. | |
582 | * configure: Likewise. | |
583 | * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally | |
584 | define. | |
585 | (sys/types.h): Include. | |
586 | (sys/ipc.h): Likewise. | |
587 | (sys/sem.h): Likewise. | |
588 | (__gnu_test::semun): New type. | |
589 | (__gnu_test::semaphore::sempaphore): New function. | |
590 | (__gnu_test::semaphore::~semaphore): Likewise. | |
591 | (__gnu_test::semaphore::wait): Likewise. | |
592 | (__gnu_test::semaphore::signal): Likewise. | |
593 | * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class. | |
fd99e134 | 594 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use |
8f1032c1 MM |
595 | semaphores, not sleep. |
596 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
597 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
598 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
599 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
600 | Likewise. | |
601 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
602 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
603 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
604 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
605 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
fd99e134 | 606 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. |
8f1032c1 | 607 | |
ab4af6a5 PC |
608 | 2005-01-03 Paolo Carlini <pcarlini@suse.de> |
609 | ||
610 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
611 | int_type)): Reset _M_gcount to numeric_limits<streamsize>::min(). | |
612 | * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type), | |
613 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise. | |
614 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
615 | basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo. | |
616 | ||
bea53dbf PC |
617 | 2005-01-02 Paolo Carlini <pcarlini@suse.de> |
618 | ||
619 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
620 | basic_istream<char>::ignore(streamsize, int_type), | |
621 | basic_istream<wchar_t>::ignore(streamsize), | |
622 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid | |
623 | _M_gcount overflows. | |
624 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
625 | int_type)): Likewise; use snextc in the main loop, consistently | |
626 | with the specializations above. | |
627 | ||
ab06dedc CJ |
628 | 2005-01-02 Chris Jefferson <chris@bubblescope.net> |
629 | ||
630 | * include/bits/stl_algobase.h (mismatch): Correct concept check. | |
631 | ||
d13cebde PC |
632 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
633 | ||
634 | * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include | |
635 | testsuite_hooks.h, to know whether including ext/enc_filebuf.h. | |
636 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. | |
637 | ||
d3f128e9 | 638 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
bdaa4452 | 639 | |
d3f128e9 PC |
640 | * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix, |
641 | null-terminate array1 at the outset. | |
642 | * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: | |
17fa5560 | 643 | Likewise. |