]>
Commit | Line | Data |
---|---|---|
ac3cadf0 PC |
1 | 2004-02-14 Paolo Carlini <pcarlini@suse.de> |
2 | ||
3 | PR libstdc++/13858 | |
4 | * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external): | |
5 | In case of conversion errors, throw ios_failure; simplify. | |
6 | * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New. | |
7 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto. | |
8 | * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak, | |
9 | previously we didn't throw in case of conversion errors, instead | |
10 | just returned eof(). | |
11 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto. | |
12 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto. | |
13 | * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto. | |
14 | ||
15 | * include/bits/fstream.tcc (basic_filebuf<>::overflow): | |
16 | Trivial simplification of a conditional. | |
17 | ||
2e9a1f6b PC |
18 | 2004-02-12 Paolo Carlini <pcarlini@suse.de> |
19 | ||
20 | PR libstdc++/13731 (final part: writev) | |
21 | * config/io/basic_file_stdio.cc (__gnu_internal::xwrite): | |
22 | New, a wrapper around writev() handling partial writes. | |
23 | (__basic_file<char>::xwrite): Move to __gnu_internal and make | |
24 | static. | |
25 | (__basic_file<char>::xsputn): Update call. | |
26 | (__basic_file<char>::xsputn_2): Likewise. | |
27 | * config/io/basic_file_stdio.h (__basic_file<char>::write): | |
28 | Don't declare, now static. | |
29 | ||
1c86f39d BK |
30 | 2004-02-11 Stefan Olsson <stefan@xapa.se> |
31 | ||
32 | * docs/html/ext/mt_allocator.html: New. | |
33 | ||
34 | 2004-02-11 Benjamin Kosnik <bkoz@redhat.com> | |
35 | ||
36 | * docs/html/20_util/allocator.html: New file, consolidate | |
37 | allocator information here. Revamp. | |
38 | * docs/html/documentation.html: Change links. | |
39 | * docs/html/20_util/howto.html: Same. | |
40 | * docs/html/ext/howto.html: Same. | |
41 | ||
98e96784 PC |
42 | 2004-02-11 Paolo Carlini <pcarlini@suse.de> |
43 | ||
44 | PR libstdc++/13731 (first part: write) | |
45 | * config/io/basic_file_stdio.h (__basic_file<char>::xwrite): | |
46 | New, declare. | |
47 | * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite): | |
48 | Define it: a wrapper around write() handling partial write. | |
49 | (__basic_file<char>::xsputn): Use it. | |
50 | (__basic_file<char>::xsputn_2): Likewise. | |
51 | ||
a2af66c1 PC |
52 | 2004-02-11 Paolo Carlini <pcarlini@suse.de> |
53 | Petur Runolfsson <peturr02@ru.is> | |
54 | ||
55 | PR libstdc++/14078 | |
56 | * include/std/std_istream.h (operator>>(__istream_type& (*) | |
57 | (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)), | |
58 | operator>>(ios_base& (*)(ios_base&))): Declare inline. | |
59 | * include/std/std_ostream.h (operator<<(__ostream_type& (*) | |
60 | (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)), | |
61 | operator<<(ios_base& (*) (ios_base&))): Likewise. | |
62 | * testsuite/performance/27_io/fmtflags_manipulators.cc: New. | |
63 | ||
64bd39cc LR |
64 | 2004-02-10 Loren J. Rittle <ljrittle@acm.org> |
65 | ||
66 | PR libstdc++/14098 | |
67 | * config/linker-map.gnu: Add typeinfo and typeinfo name for | |
68 | __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >. | |
69 | ||
d318a8ba LR |
70 | PR libstdc++/14097 |
71 | * config/linker-map.gnu: Add typeinfo and typeinfo name for | |
72 | __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >. | |
73 | ||
a39c16dd LR |
74 | 2004-02-09 Loren J. Rittle <ljrittle@acm.org> |
75 | ||
76 | * include/ext/pool_allocator.h: Include c++config.h. | |
77 | ||
1ef00312 SO |
78 | 2004-02-09 Stefan Olsson <stefan@xapa.se> |
79 | ||
80 | * include/ext/mt_allocator.h: thread_id is unused in non threaded | |
81 | applications and now has a ifdef to remove it completely on | |
82 | compilers without thread support. Include stdlib.h due to a | |
83 | compiler warning on getenv(). | |
84 | ||
1b81e1b5 PB |
85 | 2004-02-09 Paul Brook <paul@codesourcery.com> |
86 | ||
87 | * libstdc++-v3/configure.host: Explicitly check for atomicity.h file. | |
88 | ||
cf0d2c40 PC |
89 | 2004-02-09 Paolo Carlini <pcarlini@suse.de> |
90 | ||
91 | PR libstdc++/14071 | |
92 | * src/locale_init.cc (locale::global(const locale&)): Use | |
93 | locale::name() in order to decide whether calling setlocale. | |
94 | * testsuite/22_locale/locale/global_locale_objects/14071.cc: New. | |
95 | ||
96 | * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()): | |
97 | Avoid computing &= unnecessarily. | |
98 | ||
664fc5df JW |
99 | 2004-02-09 James E Wilson <wilson@specifixinc.com> |
100 | ||
101 | PR libstdc++/5625 | |
102 | * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use | |
103 | __builtin_extend_pointer. | |
104 | ||
86fd2b51 PC |
105 | 2004-02-09 Paolo Carlini <pcarlini@suse.de> |
106 | ||
107 | PR libstdc++/14072 | |
108 | * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale): | |
109 | Don't leave dangling pointers. | |
110 | * testsuite/27_io/basic_ios/imbue/14072.cc: New. | |
111 | * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put | |
112 | facet is needed in the final test. | |
113 | ||
f19e9e4d BI |
114 | 2004-02-09 Bernardo Innocenti <bernie@develer.com> |
115 | ||
116 | * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*. | |
117 | * configure: Regenerate. | |
118 | ||
c3862806 RH |
119 | 2004-02-08 Richard Henderson <rth@redhat.com> |
120 | ||
121 | PR libstdc++/14026 | |
122 | * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust | |
123 | uncaughtExceptions during nested catch rethrow. | |
124 | * testsuite/18_support/14026.cc: New. | |
125 | ||
fd95f498 PC |
126 | 2004-02-08 Paolo Carlini <pcarlini@suse.de> |
127 | ||
128 | * include/bits/basic_string.tcc (assign(const _CharT*, size_type)): | |
129 | When working in place remember to set the state to sharable | |
130 | (otherwise, _M_mutate does it). | |
131 | ||
ed6814f7 BI |
132 | 2004-02-08 Bernardo Innocenti <bernie@develer.com> |
133 | ||
134 | * include/bits/allocator.h, include/bits/basic_ios.h, | |
135 | include/bits/basic_ios.tcc, include/bits/basic_string.h, | |
136 | include/bits/basic_string.tcc, include/bits/boost_concept_check.h, | |
137 | include/bits/char_traits.h, include/bits/codecvt.h, | |
138 | include/bits/concurrence.h, include/bits/cpp_type_traits.h, | |
139 | include/bits/demangle.h, include/bits/deque.tcc, | |
140 | include/bits/fstream.tcc, include/bits/functexcept.h, | |
141 | include/bits/gslice.h, include/bits/gslice_array.h, | |
142 | include/bits/indirect_array.h, include/bits/ios_base.h, | |
143 | include/bits/istream.tcc, include/bits/list.tcc, | |
144 | include/bits/locale_classes.h, include/bits/locale_facets.h, | |
145 | include/bits/locale_facets.tcc, include/bits/localefwd.h, | |
146 | include/bits/mask_array.h, include/bits/ostream.tcc, | |
147 | include/bits/postypes.h, include/bits/slice_array.h, | |
148 | include/bits/sstream.tcc, include/bits/stl_algo.h, | |
149 | include/bits/stl_algobase.h, include/bits/stl_bvector.h, | |
150 | include/bits/stl_construct.h, include/bits/stl_deque.h, | |
151 | include/bits/stl_function.h, include/bits/stl_heap.h, | |
152 | include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h, | |
153 | include/bits/stl_list.h, include/bits/stl_map.h, | |
154 | include/bits/stl_multimap.h, include/bits/stl_multiset.h, | |
155 | include/bits/stl_numeric.h, include/bits/stl_pair.h, | |
156 | include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h, | |
157 | include/bits/stl_relops.h, include/bits/stl_set.h, | |
158 | include/bits/stl_stack.h, include/bits/stl_tempbuf.h, | |
159 | include/bits/stl_threads.h, include/bits/stl_tree.h, | |
160 | include/bits/stl_uninitialized.h, include/bits/stl_vector.h, | |
161 | include/bits/stream_iterator.h, include/bits/streambuf.tcc, | |
162 | include/bits/streambuf_iterator.h,include/bits/stringfwd.h, | |
163 | include/bits/type_traits.h, include/bits/valarray_after.h, | |
164 | include/bits/valarray_array.h, include/bits/valarray_array.tcc, | |
165 | include/bits/valarray_before.h, include/bits/vector.tcc: Remove | |
166 | trailing whitespace. | |
167 | ||
eee54836 PC |
168 | 2004-02-06 Paolo Carlini <pcarlini@suse.de> |
169 | ||
170 | * include/bits/basic_string.h: Fix comment. | |
171 | ||
15d72060 PC |
172 | 2004-02-06 Paolo Carlini <pcarlini@suse.de> |
173 | ||
174 | * include/bits/stl_construct.h: Wrap overlong lines, reformat | |
175 | according to the coding standards. | |
176 | * include/bits/stl_pair.h: Likewise. | |
177 | * include/bits/stl_raw_storage_iter.h: Likewise. | |
178 | * include/bits/stl_stack.h: Likewise. | |
179 | * include/bits/stl_uninitialized.h: Likewise. | |
180 | * include/bits/stream_iterator.h: Likewise. | |
181 | * include/bits/streambuf_iterator.h: Likewise. | |
182 | * include/bits/type_traits.h: Likewise. | |
183 | ||
c5dd98f3 PC |
184 | 2004-02-06 Paolo Carlini <pcarlini@suse.de> |
185 | ||
186 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: | |
187 | Adjust timings. | |
188 | ||
462f4a81 LR |
189 | 2004-02-05 Loren J. Rittle <ljrittle@acm.org> |
190 | ||
191 | * scripts/check_performance: Support PCH. | |
192 | ||
fbdf188d LR |
193 | * scripts/check_performance (CXX): Add -DNOTHREAD. |
194 | * testsuite/performance/20_util/allocator/insert.cc: Integrate | |
195 | threaded tests from insert_insert.cc. Tweak iterations, | |
196 | remove special cases. | |
197 | * testsuite/performance/20_util/allocator/insert_insert.cc: | |
198 | Make all tests single-threaded. Tweak iterations. | |
199 | * testsuite/performance/20_util/allocator/map_thread.cc: | |
200 | Tweak iterations. | |
201 | * testsuite/performance/20_util/allocator/producer_consumer.cc: | |
202 | Likewise. | |
203 | ||
0314451d GK |
204 | 2004-02-05 Geoffrey Keating <geoffk@apple.com> |
205 | ||
206 | PR 12179 | |
207 | * .cvsignore: New. | |
208 | * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not | |
209 | 'gcc-lib'. Add comment about poorly-named variables. | |
210 | * aclocal.m4: Regenerate. | |
211 | * configure: Regenerate. | |
212 | ||
d9010fca PC |
213 | 2004-02-05 Paolo Carlini <pcarlini@suse.de> |
214 | ||
215 | * include/bits/locale_facets.tcc (money_get::do_get(string_type&)): | |
216 | Thousands-sep are always optional; thousands-sep are not allowed | |
217 | after the decimal_point. | |
218 | * testsuite/22_locale/money_get/get/char/12.cc: New. | |
219 | * testsuite/22_locale/money_get/get/char/13.cc: New. | |
220 | * testsuite/22_locale/money_get/get/wchar_t/12.cc: New. | |
221 | * testsuite/22_locale/money_get/get/wchar_t/13.cc: New. | |
222 | ||
223 | * testsuite/22_locale/money_get/get/char/1.cc: Clean-up. | |
224 | * testsuite/22_locale/money_get/get/char/2.cc: Likewise. | |
225 | * testsuite/22_locale/money_get/get/char/3.cc: Likewise. | |
226 | * testsuite/22_locale/money_get/get/char/4.cc: Likewise. | |
227 | * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. | |
228 | * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise. | |
229 | * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise. | |
230 | * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise. | |
231 | ||
232 | * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from | |
233 | the standard. | |
234 | * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise. | |
235 | ||
d232925f RS |
236 | 2004-02-05 Richard Sandiford <rsandifo@redhat.com> |
237 | ||
238 | * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T): | |
239 | Define. | |
240 | * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use | |
241 | it to decide whether FIONREAD should take an off_t or int argument. | |
242 | ||
92ff3e43 PC |
243 | 2004-02-05 Paolo Carlini <pcarlini@suse.de> |
244 | ||
245 | * include/bits/stl_function.h: Minor formatting changes. | |
246 | ||
9fe7e2b7 ZW |
247 | 2004-02-04 Zack Weinberg <zack@codesourcery.com> |
248 | ||
249 | Revert previous change to config/abi/*/baseline_symbols.txt. | |
250 | ||
6a734d61 BK |
251 | 2004-02-04 Benjamin Kosnik <bkoz@redhat.com> |
252 | Zack Weinberg <zack@codesourcery.com> | |
253 | ||
254 | * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode): | |
255 | New function. | |
256 | (__basic_file<char>::sys_open, __basic_file<char>::open): Use it. | |
257 | (__basic_file<char>::_M_open_mode): Delete. | |
258 | * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode. | |
259 | ||
260 | * testsuite/27_io/basic_filebuf/close/char/9964.cc | |
261 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: | |
262 | Correct flags to filebuf::open calls. | |
263 | ||
264 | * config/abi/alpha-freebsd5/baseline_symbols.txt | |
265 | * config/abi/alpha-linux-gnu/baseline_symbols.txt | |
266 | * config/abi/hppa-linux-gnu/baseline_symbols.txt | |
267 | * config/abi/i386-freebsd4/baseline_symbols.txt | |
268 | * config/abi/i386-freebsd5/baseline_symbols.txt | |
269 | * config/abi/i486-linux-gnu/baseline_symbols.txt | |
270 | * config/abi/ia64-linux-gnu/baseline_symbols.txt | |
271 | * config/abi/mips-linux-gnu/baseline_symbols.txt | |
272 | * config/abi/sparc-freebsd5/baseline_symbols.txt | |
273 | * config/abi/sparc-linux-gnu/baseline_symbols.txt | |
274 | * config/abi/x86_64-linux-gnu/baseline_symbols.txt: | |
275 | Remove entry for __basic_file<char>::_M_open_mode. | |
276 | ||
f63fd68b LR |
277 | 2004-02-04 Loren J. Rittle <ljrittle@acm.org> |
278 | ||
279 | * testsuite/performance/20_util/allocator/insert.cc (main): Tweak. | |
280 | ||
de8a2f87 BK |
281 | 2004-02-04 Felix Yen <fwy@alumni.brown.edu> |
282 | ||
283 | * testsuite/performance/20_util/producer_consumer.cc: New. | |
284 | * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops. | |
6a734d61 | 285 | |
de8a2f87 | 286 | 2004-02-04 Benjamin Kosnik <bkoz@redhat.com> |
6a734d61 | 287 | |
de8a2f87 | 288 | * testsuite/performance/20_util/allocator.cc: Move to.. |
6a734d61 | 289 | * testsuite/performance/20_util/allocator/insert.cc: ...here. |
de8a2f87 BK |
290 | * testsuite/performance/20_util/allocator_thread.cc: Move to... |
291 | * testsuite/performance/20_util/allocator/insert_insert.cc: ...here. | |
292 | * testsuite/performance/20_util/allocator_map_thread.cc: Move to... | |
293 | * testsuite/performance/20_util/allocator/map_thread.cc: ...here. | |
6a734d61 | 294 | |
772fec9a JW |
295 | 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org> |
296 | ||
297 | * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH. | |
298 | * docs/html/faq/index.txt: Regenerate. | |
299 | ||
56766e0d DM |
300 | 2004-02-04 Dhruv Matani <dhruvbird@gmx.net> |
301 | ||
302 | * include/ext/debug_allocator.h: _M_extra now stands for the | |
303 | number of extra objects instead of the number of extra bytes. | |
304 | (debug_allocator::allocate): Adjust. | |
305 | (debug_allocator::deallocate): Adjust. | |
306 | ||
307 | * include/ext/pool_allocator.h: Fix typo. | |
308 | ||
22269632 FY |
309 | 2004-02-03 Felix Yen <fwy@alumni.brown.edu> |
310 | Benjamin Kosnik <bkoz@redhat.com> | |
6a734d61 | 311 | |
22269632 FY |
312 | * testsuite/performance/20_util/allocator.cc: Add map, |
313 | deque, set tests. | |
314 | * testsuite/performance/20_util/allocator_thread.cc: Same. | |
6a734d61 | 315 | |
129e9210 PC |
316 | 2004-02-03 Paolo Carlini <pcarlini@suse.de> |
317 | ||
318 | * include/bits/basic_string.h (insert(iterator)): Remove, | |
319 | non-standard and already scheduled for removal. | |
320 | ||
83042fca PC |
321 | 2004-02-03 Paolo Carlini <pcarlini@suse.de> |
322 | ||
323 | * include/bits/stl_iterator_base_funcs.h: Minor formatting | |
324 | and indentation tweaks. | |
325 | * include/bits/stl_iterator_base_types.h: Likewise. | |
326 | * include/bits/stl_list.h: Likewise. | |
327 | * include/bits/stl_map.h: Likewise. | |
328 | * include/bits/stl_tempbuf.h: Likewise. | |
329 | ||
06a81b60 JQ |
330 | 2004-02-02 Jerry Quinn <jlquinn@optonline.net> |
331 | ||
332 | * include/bits/gslice.h, include/bits/gslice_array.h, | |
333 | include/bits/indirect_array.h, include/bits/mask_array.h, | |
334 | include/bits/slice_array.h, include/bits/stl_numeric.h, | |
335 | include/std/std_valarray.h: Update copyright years. | |
336 | ||
7fb397a4 JQ |
337 | 2004-02-02 Jerry Quinn <jlquinn@optonline.net> |
338 | ||
339 | * include/bits/gslice.h (gslice): Document. | |
340 | * include/bits/gslice_array.h (gslice_array): Document. | |
341 | * include/bits/indirect_array (indirect_array): Document. | |
342 | * include/bits/mask_array (mask_array): Document. | |
343 | * include/bits/slice_array.h (slice,slice_array): Document. | |
344 | * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum, | |
345 | adjacent_difference): Document | |
346 | * include/std/std_valarray.h (valarray): Document. | |
347 | ||
7f7fb4ef BK |
348 | 2004-02-02 Benjamin Kosnik <bkoz@redhat.com> |
349 | ||
6a734d61 BK |
350 | * docs/html/19_diagnostics/howto.html: Move verbose terminate |
351 | documentation... | |
352 | * docs/html/18_support/howto.html: Here. | |
353 | * docs/html/documentation.html: Add reference here. | |
354 | ||
9924f721 PC |
355 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
356 | ||
357 | * config/locale/gnu/c++locale_internal.h: Remove prototypes | |
358 | of no longer used GLIBC thread locale functions. | |
359 | ||
2ba43229 | 360 | 2004-02-02 Eric Christopher <echristo@redhat.com> |
6a734d61 | 361 | Zack Weinberg <zack@codesourcery.com> |
16dd5cfe EC |
362 | |
363 | * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use | |
6a734d61 BK |
364 | -finput-charset. |
365 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto. | |
366 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto | |
16dd5cfe | 367 | * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto. |
6a734d61 BK |
368 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto. |
369 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto. | |
370 | * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto. | |
371 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto. | |
372 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: | |
16dd5cfe EC |
373 | Ditto. |
374 | ||
7c920151 PC |
375 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
376 | ||
377 | * include/bits/stl_function.h: Additional minor tweaks. | |
378 | * include/bits/stl_multiset.h: Likewise. | |
379 | ||
380 | * include/bits/stl_queue.h: Minor tweaks. | |
381 | ||
dcec0389 PC |
382 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
383 | ||
384 | PR libstdc++/13976 (continued) | |
385 | * include/ext/malloc_allocator.h (malloc_allocator::deallocate): | |
386 | Make the second parameter unnamed, to void unused parameter | |
387 | warnings. | |
388 | * include/ext/new_allocator.h (new_allocator::deallocate): Ditto. | |
389 | ||
90f8b692 PC |
390 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
391 | ||
392 | PR libstdc++/13976 | |
393 | * include/ext/malloc_allocator.h (malloc_allocator::allocate): | |
394 | Make the second parameter unnamed, to void unused parameter | |
395 | warnings. | |
396 | * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto. | |
397 | * include/ext/new_allocator.h (new_allocator::allocate): Ditto. | |
398 | ||
737ab798 PC |
399 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
400 | ||
401 | * include/bits/stl_algo.h: Additional minor tweaks. | |
402 | * include/bits/stl_map.h: Likewise. | |
403 | * include/bits/stl_multimap.h: Likewise. | |
404 | * include/bits/stl_multiset.h: Likewise. | |
405 | * include/bits/stl_set.h: Likewise. | |
406 | * include/bits/stl_tree.h: Likewise. | |
407 | ||
64ebadac PC |
408 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
409 | ||
410 | * include/bits/vector.tcc (vector::_M_insert_aux(iterator)): | |
411 | Remove, unused. | |
412 | ||
afd4cbbb PC |
413 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
414 | ||
415 | * include/bits/stl_function.h: Additional minor tweaks. | |
416 | ||
f6592a9e PC |
417 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
418 | ||
419 | * include/bits/deque.tcc: Wrap overlong lines, constify | |
420 | a few variables, reformat according to the coding standards. | |
421 | * include/bits/list.tcc: Likewise. | |
422 | * include/bits/stl_deque.h: Likewise. | |
423 | * include/bits/stl_function.h: Likewise. | |
424 | * include/bits/stl_iterator.h: Likewise. | |
425 | * include/bits/stl_iterator_base_funcs.h: Likewise. | |
426 | * include/bits/stl_iterator_base_types.h: Likewise. | |
427 | * include/bits/stl_list.h: Likewise. | |
428 | * include/bits/stl_map.h: Likewise. | |
429 | * include/bits/stl_multimap.h: Likewise. | |
430 | * include/bits/stl_multiset.h: Likewise. | |
431 | * include/bits/stl_relops.h: Likewise. | |
432 | * include/bits/stl_set.h: Likewise. | |
433 | ||
62e67651 PC |
434 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
435 | ||
436 | * include/bits/stl_bvector.h: Wrap overlong lines, constify | |
437 | a few variables, reformat according to the coding standards. | |
438 | * include/bits/stl_tree.h: Likewise. | |
439 | ||
8f7ca398 PC |
440 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
441 | ||
442 | * include/bits/stl_algo.h: Minor additional reformat, add | |
443 | copyright year. | |
444 | * include/bits/stl_algobase.h: Add copyright year. | |
445 | ||
ffa67767 PC |
446 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
447 | ||
448 | * include/bits/stl_algo.h: Wrap overlong lines, constify | |
449 | a few variables, reformat according to the coding standards. | |
450 | * include/bits/stl_algobase.h: Likewise. | |
451 | * include/bits/stl_heap.h: Likewise. | |
452 | ||
8de63ee0 PC |
453 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
454 | ||
455 | * include/bits/basic_string.h (_Rep::operator[]): Remove, unused. | |
456 | ||
457 | * include/bits/basic_string.h: Fix two comments. | |
458 | ||
af3fb3d6 PB |
459 | 2004-01-31 Per Bothner <per@bothner.com> |
460 | ||
461 | * include/ext/mt_allocator.h | |
462 | (__mt_alloc::_S_thread_freelist_mutex): Guard with | |
463 | __GTHREAD_MUTEX_INIT. | |
464 | ||
24f33069 PC |
465 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
466 | ||
467 | * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak. | |
468 | ||
7c960b3d PC |
469 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
470 | ||
471 | * testsuite/21_strings/basic_string/cons/char/6.cc: New. | |
472 | * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New. | |
473 | * testsuite/performance/21_strings/string_cons_input_iterator.cc: New. | |
16dd5cfe | 474 | |
7b1d1edf FY |
475 | 2004-01-30 Felix Yen <fwy@alumni.brown.edu> |
476 | ||
477 | * testsuite/performance/20_util/allocator_thread.cc (do_loop): | |
478 | Don't use clear, but instead assign. Use insert. | |
479 | ||
c9732ce7 BK |
480 | 2004-01-30 Benjamin Kosnik <bkoz@redhat.com> |
481 | ||
482 | * src/demangle.cc: Add instantiations. | |
483 | * src/Makefile.am: Remove special rules for demangle.lo, demangle.o. | |
484 | * src/Makefile.in: Regenerate. | |
16dd5cfe | 485 | |
25d24447 DE |
486 | 2004-01-30 David Edelsohn <edelsohn@gnu.org> |
487 | ||
488 | * src/allocator.cc: Protect _S_get_thread_id() and | |
489 | _S_thread_key_destr() with #ifdef __GTHREADS. | |
490 | ||
33e95e9d PC |
491 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
492 | ||
493 | Reshuffle performance testsuite. | |
494 | * testsuite/performance/allocator.cc, allocator_map_thread.cc, | |
495 | allocator_thread.cc, complex_norm.cc, container_benchmark.cc, | |
496 | cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc, | |
497 | fstream_seek_write.cc, ifstream_extract_float.cc, | |
498 | ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc, | |
499 | list_create_fill_sort.cc, map_create_fill.cc, | |
500 | narrow_widen_char.cc, narrow_widen_wchar_t.cc, | |
501 | ofstream_insert_float.cc, ofstream_insert_int.cc, | |
502 | string_append.cc, wchar_t_in.cc, wchar_t_length.cc, | |
503 | wchar_t_out.cc: Split into... | |
504 | * testsuite/performance/20_util/allocator.cc: New. | |
505 | * testsuite/performance/20_util/allocator_map_thread.cc: New. | |
506 | * testsuite/performance/20_util/allocator_thread.cc: New. | |
507 | * testsuite/performance/21_strings/string_append: New. | |
508 | * testsuite/performance/22_locale/is_wchar_t.cc: New. | |
509 | * testsuite/performance/22_locale/narrow_widen_char.cc: New. | |
510 | * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New. | |
511 | * testsuite/performance/22_locale/wchar_t_in.cc: New. | |
512 | * testsuite/performance/22_locale/wchar_t_length.cc: New. | |
513 | * testsuite/performance/22_locale/wchar_t_out.cc: New. | |
514 | * testsuite/performance/23_containers/container_benchmark.cc: New. | |
515 | * testsuite/performance/23_containers/list_create_fill_sort.cc: New. | |
516 | * testsuite/performance/23_containers/map_create_fill.cc: New. | |
517 | * testsuite/performance/26_numerics/complex_norm.cc: New. | |
518 | * testsuite/performance/27_io/cout_insert_int.cc: New. | |
519 | * testsuite/performance/27_io/filebuf_copy.cc: New. | |
520 | * testsuite/performance/27_io/filebuf_sputc.cc: New. | |
521 | * testsuite/performance/27_io/fstream_seek_write.cc: New. | |
522 | * testsuite/performance/27_io/ifstream_extract_float.cc: New. | |
523 | * testsuite/performance/27_io/ifstream_extract_int.cc: New. | |
524 | * testsuite/performance/27_io/ifstream_getline.cc: New. | |
525 | * testsuite/performance/27_io/ofstream_insert_float.cc: New. | |
526 | * testsuite/performance/27_io/ofstream_insert_int.cc: New. | |
527 | ||
d1615643 PC |
528 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
529 | ||
530 | * include/bits/basic_string.tcc (_Rep::_S_create): | |
531 | Never allocate a string bigger than max_size(); always keep | |
532 | __capacity and __size in sync to avoid memory leaks at | |
533 | deallocation time. | |
534 | ||
690495b0 PC |
535 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
536 | ||
537 | * include/bits/basic_string.tcc (_S_construct(_InIterator, | |
538 | _InIterator, const _Alloc&, input_iterator_tag)): Simplify | |
539 | the double loop, streamline. | |
540 | ||
541 | * include/bits/basic_string.tcc: Very minor tweaks. | |
542 | ||
f64f4406 LR |
543 | 2004-01-30 Loren J. Rittle <ljrittle@acm.org> |
544 | ||
545 | * scripts/check_performance: Only compile with $THREAD_FLAG | |
546 | when test is marked to require it. Allow multiple | |
547 | compilations/executions of marked tests. | |
548 | * testsuite/testsuite_performance.h (report_performance): | |
549 | Report dynamic thread support status. | |
550 | (report_header): Likewise. | |
551 | * testsuite/performance/allocator.cc: Stabilize iteration | |
552 | count. Support more allocators. Mark each allocator test to | |
553 | run and report independently. | |
554 | * testsuite/performance/allocator_map_thread.cc: Likewise. | |
555 | * testsuite/performance/allocator_thread.cc: Likewise. | |
556 | ||
917a9fd4 SW |
557 | 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com> |
558 | ||
559 | * config/local/generic/c_locale.h: Change ::malloc() to new char[]. | |
560 | * config/local/gnu/c_locale.h: Change ::malloc() to new char[]. | |
561 | * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use | |
562 | std::get_temporary_buffer() instead of duplicating its code. | |
563 | Update to C++STYLE conventions. | |
564 | * include/std/std_memory.h (get_temporary_buffer): Use ::operator | |
565 | new() instead of std::malloc(). | |
566 | (return_temporary_buffer): Use ::operator delete() instead of | |
567 | std::free(). | |
568 | ||
6efc84f4 BK |
569 | 2004-01-29 Benjamin Kosnik <bkoz@redhat.com> |
570 | ||
571 | * include/bits/allocator.h: Temporary switch to new_allocator as | |
572 | the default to unjam bootstraps. | |
16dd5cfe | 573 | |
ba9d552e BK |
574 | 2004-01-28 Benjamin Kosnik <bkoz@redhat.com> |
575 | ||
576 | * include/Makefile.am (bits_headers): Remove allocator_traits.h. | |
577 | * include/Makefile.in: Regenerate. | |
578 | * include/bits/allocator_traits.h: Remove. | |
579 | * include/bits/allocator.h: Remove allocator_traits.h include, and | |
580 | relevant comments. | |
581 | (allocator): Empty base class, inherit from the underlying allocator. | |
582 | * src/allocator-inst.cc: Move __pool_alloc instantiation to... | |
583 | * src/allocator.cc: ...here. New. For the underlying allocators. | |
584 | Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits. | |
585 | * config/linker-map.gnu: Remove __pool_alloc bits. | |
586 | * src/Makefile.am (sources): Add allocator.cc. | |
587 | * src/Makefile.in: Regenerate. | |
588 | * testsuite/20_util/allocator/1.cc: Split second test into... | |
16dd5cfe | 589 | * testsuite/20_util/allocator/8230.cc: ...this. |
ba9d552e BK |
590 | * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector |
591 | typedef to use std::allocatore. Format. | |
592 | * include/ext/pool_allocator.h: Remove allocator_traits.h include, | |
593 | _Alloc_traits. | |
594 | * include/ext/mt_allocator.h (__gnu_cxx): Qualify | |
595 | __throw_bad_alloc calls. Don't include <memory>. | |
596 | * include/ext/malloc_allocator.h: Remove <memory> include. | |
597 | * include/ext/new_allocator.h (new_allocator): Same. | |
598 | * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using | |
599 | declaration. Switch __alloc to _Alloc. | |
600 | * include/ext/hashtable.h: Remove __alloc. | |
601 | * include/backward/alloc.h: Only inject allocator, not | |
602 | implementation details. | |
603 | ||
604 | * include/ext/mt_allocator.h: Replace free with delete. | |
16dd5cfe | 605 | |
ff4cf05b BK |
606 | 2004-01-28 Benjamin Kosnik <bkoz@redhat.com> |
607 | ||
608 | * src/globals_io.cc: Change to __gnu_internal namespace. | |
609 | * src/globals_locale.cc: Same. | |
610 | * src/locale_init.cc: Same. | |
611 | * src/ios_init.cc: Same. | |
16dd5cfe | 612 | |
f15f99a1 SO |
613 | 2004-01-28 Stefan Olsson <stefan@snon.net> |
614 | ||
8de63ee0 | 615 | * include/ext/mt_allocator.h: Replaced all malloc() calls with |
f15f99a1 SO |
616 | operator new(). Added support for the env variable |
617 | GLIBCXX_FORCE_NEW (this required the _S_init call to be the first | |
618 | one in allocate() as well). Fix typos. | |
619 | ||
234e0d31 PC |
620 | 2004-01-28 Paolo Carlini <pcarlini@suse.de> |
621 | ||
622 | * include/bits/basic_string.h (_S_create(size_t, | |
623 | const _Alloc&): Change signature to take two size_type | |
624 | arguments. | |
625 | * include/bits/basic_string.tcc (_S_construct(_InIterator, | |
626 | _InIterator, const _Alloc&, input_iterator_tag)): Update | |
627 | call, tweak a bit. | |
628 | (_S_construct(_InIterator, _InIterator, const _Alloc&, | |
629 | forward_iterator_tag)): Likewise. | |
630 | (_S_construct(size_type, _CharT, const _Alloc&)): Likewise. | |
631 | (_M_mutate(size_type, size_type, size_type)): Don't | |
632 | implement the exponential growth policy, demand it to | |
633 | _S_create, update call and simplify. | |
634 | (_M_clone(const _Alloc&, size_type)): Likewise. | |
635 | (_S_create(size_type, size_type, const _Alloc&)): Implement | |
636 | the growth policy, simplify otherwise. | |
637 | ||
638 | * include/bits/basic_string.h (_Rep::operator[]): Tweak | |
639 | signature to take a size_type, consistently with the other | |
640 | members. | |
16dd5cfe | 641 | |
62b21ea0 BK |
642 | 2004-01-27 Benjamin Kosnik <bkoz@redhat.com> |
643 | ||
644 | * testsuite/27_io/ios_base/storage/11584.cc: Correct new and | |
645 | delete declarations, add include and test variable. | |
646 | ||
0b563420 JQ |
647 | 2003-01-27 Jerry Quinn <jlquinn@optonline.net> |
648 | ||
649 | * include/bits/codecvt.h, include/bits/locale_facets.h, | |
650 | include/bits/postypes.h, include/bits/stl_bvector.h, | |
651 | include/bits/stl_multiset.h, include/bits/stl_set.h, | |
652 | include/bits/stream_iterator.h, include/bits/streambuf_iterator.h, | |
653 | include/std/std_complex.h: Document. | |
654 | ||
2a837cf8 JQ |
655 | 2004-01-27 Jerry Quinn <jlquinn@optonline.net> |
656 | ||
657 | PR libstdc++/11584 | |
658 | * include/bits/ios_base.h (ios_base::_M_grow_words): Add | |
6a734d61 | 659 | iword/pword selector. |
2a837cf8 JQ |
660 | (ios_base::iword, ios_base::pword): Use it. |
661 | * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero | |
6a734d61 | 662 | iword or pword member on alloc failure. |
2a837cf8 JQ |
663 | * testsuite/27_io/ios_base/storage/11584.cc: New test. |
664 | ||
6e198ee0 UW |
665 | 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com> |
666 | PJ Darcy <darcypj@us.ibm.com> | |
667 | ||
668 | * configure.host: Add support for *-tpf. | |
669 | * crossconfig.m4: Likewise. | |
670 | * configure: Regenerate. | |
671 | * config/os/tpf: New directory. | |
672 | * config/os/tpf/os_defines.h: New file. | |
673 | * config/os/tpf/ctype_base.h: Likewise. | |
674 | * config/os/tpf/ctype_inline.h: Likewise. | |
675 | * config/os/tpf/ctype_noninline.h: Likewise. | |
676 | ||
51b6facb PC |
677 | 2004-01-27 Paolo Carlini <pcarlini@suse.de> |
678 | ||
679 | PR libstdc++/13884 | |
680 | * include/bits/sstream.tcc: Guard use of extern template. | |
16dd5cfe | 681 | |
a3af79ea PC |
682 | 2004-01-27 Paolo Carlini <pcarlini@suse.de> |
683 | ||
684 | * include/bits/basic_string.tcc | |
685 | (basic_string(const basic_string&, size_type, size_type), | |
686 | basic_string(const basic_string&, size_type, size_type, | |
687 | const _Alloc&)): Avoid unnecessarily constructing iterators. | |
688 | ||
ba9119ec PC |
689 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
690 | ||
691 | * config/locale/generic/c_locale.cc: Fix throw messages | |
692 | to use the __N marker. | |
693 | * config/locale/gnu/c_locale.cc: Likewise. | |
694 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: | |
695 | Likewise. | |
696 | * docs/html/17_intro/C++STYLE: Likewise. | |
697 | * include/bits/basic_ios.tcc: Likewise. | |
698 | * include/bits/fstream.tcc: Likewise. | |
699 | * include/bits/vector.tcc: Likewise. | |
700 | * include/ext/ropeimpl.h: Likewise. | |
701 | * include/std/std_bitset.h: Likewise. | |
702 | * src/ios.cc: Likewise. | |
703 | * src/locale.cc: Likewise. | |
704 | * src/localename.cc: Likewise. | |
705 | ||
0e50667c PC |
706 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
707 | ||
708 | * include/bits/basic_string.h (_M_replace_aux): Use the | |
709 | __N marker in throw message. | |
710 | * include/bits/basic_string.tcc (assign(const _CharT*, | |
711 | size_type), insert(size_type, const _CharT*, size_type), | |
712 | replace(size_type, size_type, const _CharT*, size_type), | |
713 | reserve, _Rep::_S_create, resize, _M_replace_dispatch): | |
714 | Likewise. | |
715 | ||
716 | * include/bits/basic_string.h, include/bits/basic_string.tcc: | |
717 | Fold overlong lines, minor formatting changes. | |
718 | ||
4d39d873 PC |
719 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
720 | ||
721 | * include/bits/basic_string.h (replace(iterator, iterator, | |
722 | const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT. | |
723 | (replace(iterator, iterator, const _CharT*)): Ditto. | |
724 | (replace(iterator, iterator, const _CharT*, size_type)): | |
725 | Add missing _GLIBCXX_DEBUG_PEDASSERT. | |
726 | ||
2cb612d1 PC |
727 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
728 | ||
729 | * include/bits/basic_string.tcc (replace(size_type, | |
730 | size_type, const _CharT*, size_type)): Implement optimized | |
731 | in-place algorithm for non-overlapping ranges. | |
732 | * testsuite/21_strings/basic_string/replace/char/6.cc: New. | |
733 | * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New. | |
734 | ||
735 | * include/bits/basic_string.tcc (insert(size_type, | |
736 | const _CharT*, size_type)): Tweak slightly. | |
737 | ||
f942e78d AS |
738 | 2004-01-26 Andreas Schwab <schwab@suse.de> |
739 | ||
740 | * config/locale/gnu/monetary_members.cc: Restore locale before | |
741 | rethrowing exception. | |
742 | ||
91eab378 PC |
743 | 2004-01-25 Paolo Carlini <pcarlini@suse.de> |
744 | ||
745 | * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): | |
746 | Define inline here. | |
747 | * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe): | |
748 | Move inline. | |
749 | ||
750 | * include/bits/basic_string.tcc: Very minor tweaks. | |
751 | ||
9c519c93 PC |
752 | 2004-01-25 Paolo Carlini <pcarlini@suse.de> |
753 | ||
754 | * testsuite/performance/string_append.cc: Increase number | |
755 | of iterations. | |
756 | ||
30f315cd PC |
757 | 2004-01-25 Paolo Carlini <pcarlini@suse.de> |
758 | ||
759 | * include/bits/basic_string.h (erase(size_type, size_type), | |
760 | erase(iterator), erase(iterator, iterator)): Call _M_replace_safe | |
761 | instead, thus avoiding redundant check for length_error. | |
762 | ||
763 | * include/bits/basic_string.h: Tweak some comments. | |
764 | ||
bb9909b0 PC |
765 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
766 | ||
767 | * include/bits/basic_string.tcc (operator+(const _CharT*, | |
768 | const basic_string&)): No need to go through the append | |
769 | taking two iterators. | |
770 | ||
04cc8aef PC |
771 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
772 | ||
773 | * include/bits/basic_string.tcc (rfind(_CharT, size_type)): | |
774 | Revert last change to use std::min: machine language is worse. | |
775 | (find_last_of(const _CharT*, size_type, size_type)): Ditto. | |
776 | (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. | |
777 | (find_last_not_of(_CharT, size_type)): Ditto. | |
778 | ||
779 | * include/bits/basic_string.tcc (insert(size_type, const _CharT*, | |
780 | size_type)): Discard the value returned by _M_check. | |
781 | (replace(size_type, size_type, const _CharT*, size_type)): Ditto. | |
782 | (append(const basic_string&, size_type, size_type)): Ditto. | |
783 | (copy(_CharT*, size_type, size_type)): Ditto. | |
784 | (compare(size_type, size_type, const basic_string&)): Ditto. | |
785 | (compare(size_type, size_type, const basic_string&, | |
786 | size_type, size_type)): Ditto. | |
787 | (compare(size_type, size_type, const _CharT*)): Ditto. | |
788 | (compare(size_type, size_type, const _CharT*, size_type)): Ditto. | |
789 | ||
8865bf80 PC |
790 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
791 | ||
792 | * include/bits/basic_string.h (insert(size_type, | |
793 | const basic_string&, size_type, size_type)): Define inline here. | |
794 | * include/bits/basic_string.tcc (insert(size_type, | |
795 | const basic_string&, size_type, size_type)): Move inline. | |
796 | ||
fefe561e PC |
797 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
798 | ||
799 | * include/bits/basic_string.h (assign(const basic_string&, | |
800 | size_type, size_type)): Define inline here. | |
801 | (replace(size_type, size_type, const basic_string&, | |
802 | size_type, size_type)): Ditto. | |
803 | (_M_replace_dispatch(iterator, iterator, _InputIterator, | |
804 | _InputIterator, __false_type)): Only declare. | |
805 | (_M_replace(iterator, iterator, _InputIterator, | |
806 | _InputIterator)): Remove. | |
807 | * include/bits/basic_string.tcc (assign(const basic_string&, | |
808 | size_type, size_type)): Move inline. | |
809 | (replace(size_type, size_type, const basic_string&, | |
810 | size_type, size_type)): Ditto. | |
811 | (_M_replace_dispatch(iterator, iterator, _InputIterator, | |
812 | _InputIterator, __false_type)): Define, now does also what | |
813 | _M_replace did before. | |
814 | * src/string-inst.cc (_M_replace): Don't instantiate. | |
815 | ||
816 | * include/bits/basic_string.tcc (find(const _CharT*, | |
817 | size_type, size_type)): Tidy. | |
818 | (rfind(_CharT, size_type)): Ditto. | |
819 | (find_first_not_of(const _CharT*, size_type, size_type)): Ditto. | |
820 | (find_first_not_of(_CharT, size_type)): Ditto. | |
821 | (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. | |
822 | (find_last_not_of(_CharT, size_type)): Ditto. | |
823 | ||
72afd981 PC |
824 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
825 | ||
826 | PR libstdc++/13838 | |
827 | * include/debug/bitset (operator|=): Fix typo. | |
828 | * testsuite/23_containers/bitset/operations/13838.cc: New. | |
829 | ||
251804e6 PC |
830 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
831 | ||
832 | * include/bits/basic_string.tcc (insert(size_type, | |
833 | const _CharT*, size_type __n)): Fix length_error check. | |
834 | (replace(size_type, size_type, const _CharT*, size_type): | |
835 | Ditto; call _M_replace_safe. | |
836 | (_M_replace_aux(size_type, size_type, size_type, _CharT): | |
837 | Fix length_error check. | |
838 | (_M_replace(iterator, iterator, _InputIterator, | |
839 | _InputIterator)): Ditto, tweak. | |
840 | (_M_replace_safe(size_type, size_type, const _CharT*, | |
841 | size_type)): Remove length_error check. | |
842 | ||
843 | * include/bits/basic_string.tcc (append(const basic_string&), | |
844 | append(const basic_string&, size_type, size_type)): Tweak | |
845 | comment. | |
846 | ||
847 | * include/bits/basic_string.tcc (copy(_CharT*, size_type, | |
848 | size_type)): If __n == 0 don't call traits::copy. | |
849 | ||
3cfb44c2 SO |
850 | 2004-01-23 Stefan Olsson <stefan@snon.net> |
851 | ||
852 | * include/ext/mt_allocator.h: Reduce lock contention. | |
853 | ||
22352844 PC |
854 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
855 | ||
856 | PR libstdc++/13831 | |
857 | * include/bits/fstream.tcc (underflow): Remove unused | |
858 | variable. | |
859 | * include/bits/streambuf_iterator.h (equal): Ditto. | |
860 | * include/bits/locale_facets.h (_M_convert_from_char): | |
861 | Ditto. | |
862 | ||
129057c1 KG |
863 | 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
864 | ||
865 | PR c/13814 | |
866 | * config/linker-map.gnu (nan): Delete. | |
867 | * libmath/mathconf.h (NAN, nan): Delete. | |
868 | * linkage.m4 (nan): Don't check for it. | |
869 | * libmath/nan.c: Delete file. | |
870 | ||
871 | * config.h.in, configure: Regenerate. | |
872 | ||
0e707673 PC |
873 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
874 | ||
875 | * include/bits/basic_string.h (push_back(_CharT)): | |
876 | Call _M_replace_aux. | |
877 | (insert(size_type, const basic_string&)): Trivial tweak. | |
878 | (insert(size_type, size_type, _CharT)): Call _M_replace_aux. | |
879 | (insert(iterator, _CharT)): Ditto. | |
880 | (erase(size_type, size_type)): Ditto. | |
881 | (erase(iterator)): Ditto. | |
882 | (erase(iterator, iterator)): Ditto. | |
883 | (replace(size_type, size_type, size_type, _CharT)): Ditto. | |
884 | ||
402b0954 LR |
885 | 2004-01-23 Loren J. Rittle <ljrittle@acm.org> |
886 | ||
887 | libstdc++/13823 | |
888 | * testsuite/performance/allocator_map_thread.cc: New test. | |
889 | ||
ba46e66a PC |
890 | 2004-01-22 Paolo Carlini <pcarlini@suse.de> |
891 | ||
892 | * include/bits/locale_facets.tcc | |
893 | (money_put::do_put(..., long double)): Use the basic_string | |
894 | constructor for char arrays, not that for C-strings, to pass | |
895 | __digits to do_put(..., const string_type&): __ws isn't | |
896 | null-terminated. | |
897 | ||
7bb9b33b PC |
898 | 2004-01-22 Paolo Carlini <pcarlini@suse.de> |
899 | ||
900 | * include/bits/basic_string.h (_M_replace_safe): Change | |
901 | signatures to take size_types and const _CharT*. | |
902 | (_M_replace_aux): Likewise, takes size_types instead of | |
903 | iterators. | |
904 | (append(size_type, _CharT)): Update call. | |
905 | (assign(size_type, _CharT)): Ditto. | |
906 | (replace(iterator, iterator, size_type, _CharT)): Ditto. | |
907 | (_M_replace_dispatch(iterator, iterator, _Integer, | |
908 | _Integer, __true_type)): Ditto. | |
909 | * include/bits/basic_string.tcc (assign(const _CharT*, | |
910 | size_type)): Ditto. | |
911 | (insert(size_type, const _CharT*, size_type)): Ditto. | |
912 | (replace(size_type, size_type, const _CharT*, | |
913 | size_type)): Ditto. | |
914 | (_M_replace(iterator, iterator, _InputIterator, | |
915 | _InputIterator)): Ditto. | |
916 | (append(const basic_string&)): Ditto. | |
917 | (append(const basic_string&, size_type, size_type): Ditto. | |
918 | (append(const _CharT*, size_type): Ditto. | |
919 | (_M_replace_safe, _M_replace_safe): Change definitions | |
920 | accordingly, simplify. | |
921 | * string-inst.cc (_M_replace_safe): Don't instantiate. | |
922 | ||
3e7782b2 PC |
923 | 2004-01-21 Paolo Carlini <pcarlini@suse.de> |
924 | ||
925 | * include/bits/basic_string.tcc (append(const basic_string&)): | |
926 | Revert previous change. | |
927 | (append(const basic_string&, size_type, size_type)): Revert | |
928 | previous change, use _M_check and _M_limit. | |
929 | ||
e03a6fb7 PC |
930 | 2004-01-21 Paolo Carlini <pcarlini@suse.de> |
931 | ||
932 | * include/bits/basic_string.h (_M_check): Change to return | |
933 | a checked __pos and take an additional const char* argument. | |
934 | (_M_fold): Rename to _M_limit, change to return a size_type, | |
935 | corresponding to the __off limited to the actual length. | |
936 | (insert(size_type, size_type, _CharT)): Update call, call | |
937 | replace. | |
938 | (insert(iterator, _CharT)): Call replace(iterator, iterator, | |
939 | size_type, _CharT) instead. | |
940 | (erase(size_type, size_type)): Update calls. | |
941 | (replace(size_type, size_type, size_type, _CharT)): Ditto. | |
942 | (substr(size_type, size_type)): Use _M_check. | |
943 | * include/bits/basic_string.tcc (basic_string(const basic_string&, | |
944 | size_type, size_type)): Update calls. | |
945 | (basic_string(const basic_string&, size_type, size_type, | |
946 | const _Alloc&)): Ditto. | |
947 | (assign(const basic_string&, size_type, size_type)): Use the | |
948 | new _M_check and _M_limit. | |
949 | (insert(size_type, const basic_string&, size_type, size_type): | |
950 | Ditto. | |
951 | (insert(size_type, const _CharT*, size_type)): Ditto. | |
952 | (replace(size_type, size_type, const _CharT*, size_type): Ditto. | |
953 | (replace(size_type, size_type, const basic_string&, | |
954 | size_type, size_type)): Ditto. | |
955 | (append(const basic_string&)): Ditto. | |
956 | (append(const basic_string&, size_type, size_type)): Ditto. | |
957 | (copy(_CharT*, size_type, size_type)): Ditto. | |
958 | (compare(size_type, size_type, const basic_string&)): Ditto. | |
959 | (compare(size_type, size_type, const basic_string&,size_type, | |
960 | size_type)): Ditto. | |
961 | (compare(size_type, size_type, const _CharT*)): Ditto. | |
962 | (compare(size_type, size_type, const _CharT*, size_type)): Ditto. | |
963 | ||
cec73eb5 SO |
964 | 2004-01-19 Stefan Olsson <stefan@snon.net> |
965 | ||
966 | * include/ext/mt_allocator.h: If a thread, when it dies, still has | |
967 | memory on it's freelist this memory is not returned to global | |
968 | list. Simplification of deallocate so that memory is always | |
969 | returned to the calling thread id's freelist instead of to | |
970 | global. Fix typos. Add volatile where appropriate. | |
971 | ||
87d11ccc LR |
972 | 2004-01-19 Loren J. Rittle <ljrittle@acm.org> |
973 | ||
974 | * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered. | |
975 | * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but | |
976 | use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream. | |
977 | ||
f18be892 PC |
978 | 2004-01-19 Paolo Carlini <pcarlini@suse.de> |
979 | ||
980 | * src/debug.cc: Make sure all the names are prefixed with | |
981 | double (or single) underscore. | |
982 | ||
33d4e9b2 PC |
983 | 2004-01-19 Paolo Carlini <pcarlini@suse.de> |
984 | ||
985 | * src/debug.cc: Trivial formatting change. | |
986 | ||
954b12d2 PC |
987 | 2004-01-19 Paolo Carlini <pcarlini@suse.de> |
988 | ||
989 | * include/bits/basic_string.tcc (_S_construct(size_type, | |
990 | _CharT, const _Alloc&)): Remove redundant try/catch. | |
991 | (_M_mutate(size_type, size_type, size_type)): Ditto. | |
992 | (_M_clone(const _Alloc&, size_type)): Ditto. | |
16dd5cfe | 993 | |
acbab5bf PC |
994 | 2004-01-18 Paolo Carlini <pcarlini@suse.de> |
995 | ||
996 | * include/bits/basic_string.h (c_str()): Simplify, due to | |
997 | 21.3.4 the internal representation is always kept null-terminated. | |
998 | * include/bits/basic_string.tcc (_M_clone): Null-terminate. | |
999 | * testsuite/21_strings/basic_string/element_access/char/4.cc: New. | |
1000 | * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: | |
1001 | Ditto. | |
1002 | ||
9c96a689 PC |
1003 | 2004-01-18 Paolo Carlini <pcarlini@suse.de> |
1004 | ||
1005 | * include/bits/basic_string.h (append(size_type, _CharT)): | |
1006 | Moved inline, just call _M_replace_aux, no source iterators at | |
1007 | risk of being clobbered. | |
1008 | (assign(size_type, _CharT)): Call directly _M_replace_aux. | |
1009 | (_M_replace(iterator, iterator, _InputIterator, _InputIterator, | |
1010 | input_iterator_tag)): Remove fifth unused argument. | |
1011 | (_M_replace_dispatch(iterator, iterator, _InputIterator, | |
1012 | _InputIterator, __false_type)): Update call. | |
1013 | * include/bits/basic_string.tcc (replace(size_type, size_type, | |
1014 | const _CharT*, size_type)): Update call. | |
1015 | (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak | |
1016 | throw string literal. | |
1017 | (_M_replace_safe(iterator, iterator, _ForwardIterator, | |
1018 | _ForwardIterator)): Likewise. | |
1019 | (_M_replace(iterator, iterator, _InputIterator, _InputIterator, | |
1020 | input_iterator_tag)): Remove fifth unused argument. | |
1021 | (append(size_type __n, _CharT __c)): Move inline. | |
1022 | * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator, | |
1023 | const C*, const C*, input_iterator_tag)): Remove fifth unused | |
1024 | argument. | |
1025 | ||
d517f626 BK |
1026 | 2004-01-16 Benjamin Kosnik <bkoz@redhat.com> |
1027 | ||
1028 | * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards. | |
16dd5cfe | 1029 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. |
d517f626 | 1030 | |
701b701b DS |
1031 | 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net> |
1032 | ||
1033 | * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling | |
1034 | mkfifo for mingw32. | |
1035 | ||
2913770f SO |
1036 | 2004-01-15 Stefan Olsson <stefan@snon.net> |
1037 | ||
1038 | * include/ext/mt_allocator.h: Reuse thread id's as soon as | |
1039 | possible by changing the behaviour of thread_freelist to do | |
1040 | push_front when threads die instead of push_back. | |
1041 | ||
47f62b27 PC |
1042 | 2004-01-14 Paolo Carlini <pcarlini@suse.de> |
1043 | ||
1044 | * include/bits/locale_facets.h (struct __numpunct_cache): | |
1045 | Add member _M_grouping_size, caching the length of _M_grouping. | |
1046 | (__numpunct_cache<>::_M_cache): Assign the latter. | |
1047 | (__verify_grouping): Move declaration... | |
1048 | * include/bits/locale_facets.tcc (__verify_grouping): | |
1049 | ... here, change signature to take a const char* and a size_t | |
1050 | for the grouping; not a template anymore. | |
1051 | (__add_grouping, num_put::_M_group_int, num_put::_M_group_float): | |
16dd5cfe | 1052 | Likewise change signature and tweak consistently. |
47f62b27 PC |
1053 | (num_get::_M_extract_float, num_get::_M_extract_int, |
1054 | num_put::_M_insert_int, num_put::_M_insert_float, | |
1055 | money_get::do_get(string_type&), money_get::do_put(string_type)): | |
16dd5cfe | 1056 | Update callers. |
47f62b27 | 1057 | * config/locale/generic/numeric_members.cc |
16dd5cfe | 1058 | (numpunct<>::_M_initialize_numpunct): Assign the new member. |
47f62b27 | 1059 | * config/locale/gnu/numeric_members.cc |
16dd5cfe | 1060 | (numpunct<>::_M_initialize_numpunct): Likewise. |
47f62b27 PC |
1061 | * src/locale-inst.cc (__add_grouping): Tweak signature. |
1062 | (__verify_grouping): Don't instantiate, not a template anymore. | |
1063 | ||
1064 | * include/bits/locale_facets.h: Rename _M_truename_len -> | |
1065 | _M_truename_size, _M_falsename_len -> _M_falsename_size. | |
1066 | * include/bits/locale_facets.tcc: Likewise. | |
1067 | * config/locale/generic/numeric_members.cc: Likewise. | |
1068 | * config/locale/gnu/numeric_members.cc: Likewise. | |
1069 | ||
41f24725 SO |
1070 | 2004-01-14 Stefan Olsson <stefan@snon.net> |
1071 | ||
1072 | * include/ext/mt_allocator.h: Fixups. | |
1073 | * testsuite/performance/allocator.cc: Enable __mt_alloc tests. | |
1074 | * testsuite/performance/allocator_thread.cc: Same. | |
16dd5cfe | 1075 | |
070ce57b BK |
1076 | 2004-01-13 Benjamin Kosnik <bkoz@redhat.com> |
1077 | ||
1078 | * testsuite/performance/ifstream_extract_float.cc: Add higher | |
1079 | precision tests. | |
1080 | * testsuite/performance/ofstream_insert_float.cc: Same. | |
16dd5cfe | 1081 | |
c9513590 PC |
1082 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
1083 | ||
1084 | * src/locale-misc-inst.cc (__convert_from_v(long), | |
1085 | __convert_from_v(unsigned long), __convert_from_v(long long), | |
1086 | __convert_from_v(unsigned long long)): Remove, unused. | |
1087 | ||
60af005f BK |
1088 | 2004-01-13 Benjamin Kosnik <bkoz@redhat.com> |
1089 | ||
1090 | * testsuite/performance/ifstream_extract_float.cc: New. | |
1091 | * testsuite/performance/ofstream_insert_float.cc: Float generation | |
1092 | matches above. | |
1093 | ||
1094 | * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into... | |
1095 | * 20_util/auto_ptr/1.cc: ...this. | |
1096 | * 20_util/auto_ptr/2.cc: Same. | |
1097 | * 20_util/auto_ptr/3.cc: Same. | |
1098 | * 20_util/auto_ptr/3946.cc: Same. | |
1099 | * 20_util/auto_ptr/4.cc: Same. | |
1100 | * 20_util/auto_ptr/5.cc: Same. | |
1101 | * 20_util/auto_ptr/6.cc: Same. | |
1102 | * 20_util/auto_ptr/7.cc: Same. | |
1103 | * 20_util/auto_ptr/assign_neg.cc | |
1104 | * 20_util/pairs.cc: Break into... | |
1105 | * 20_util/pair/1.cc: ...this. | |
1106 | * 20_util/pair/2.cc: Same. | |
1107 | * 20_util/pair/3.cc: Same. | |
1108 | * 20_util/pair/4.cc: Same. | |
1109 | ||
d8ef7dec PC |
1110 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
1111 | ||
1112 | * include/bits/locale_facets.tcc (num_get::do_get(void*&)): | |
1113 | Set correctly just basefield, the only group that matters. | |
1114 | ||
5640461d PC |
1115 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
1116 | ||
1117 | * include/ext/rope (_Rope_rep_alloc_base): Eliminate. | |
1118 | (_Rope_rep_base): Inherit directly from the rope allocator; | |
1119 | use rebinding instead of _Alloc_traits; pick up data member | |
1120 | from _Rope_rep_alloc_base. | |
1121 | (_Rope_alloc_base): Eliminate. | |
1122 | (_Rope_base): Inherit directly from the rope allocator; use | |
1123 | rebinding instead of _Alloc_traits; pick up data member from | |
1124 | _Rope_alloc_base. | |
1125 | (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation, | |
1126 | rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak. | |
1127 | ||
95c9624f PC |
1128 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
1129 | ||
1130 | PR libstdc++/13650 | |
1131 | * include/bits/basic_string.tcc (compare(size_type, size_type, | |
1132 | const _CharT*, size_type)): Implement correctly the resolution | |
1133 | of DR 5: basically, s is a char array, -not- a C string. | |
1134 | * include/bits/basic_string.h: Tweak some comments. | |
1135 | * testsuite/21_strings/basic_string/compare/char/13650.cc: New. | |
1136 | * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New. | |
1137 | ||
c91de77a AT |
1138 | 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch> |
1139 | ||
1140 | * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for | |
1141 | Solaris. | |
1142 | ||
300b3317 PC |
1143 | 2004-01-12 Paolo Carlini <pcarlini@suse.de> |
1144 | ||
1145 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: | |
1146 | Use try_mkfifo. | |
1147 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: | |
1148 | Likewise. | |
1149 | ||
dc6798f8 PC |
1150 | 2004-01-12 Paolo Carlini <pcarlini@suse.de> |
1151 | ||
1152 | * include/bits/locale_facets.h (struct __numpunct_cache): | |
1153 | Add members _M_truename_len and _M_falsename_len, caching | |
1154 | the lengths of _M_truename and _M_falsename. | |
1155 | (__numpunct_cache<>::_M_cache): Assign the latter. | |
1156 | * include/bits/locale_facets.tcc (num_get::do_get(bool&), | |
1157 | num_put::do_put(bool)): Use the new members, thus avoiding | |
1158 | computing string lengths again and again. | |
1159 | * config/locale/generic/numeric_members.cc | |
1160 | (numpunct<>::_M_initialize_numpunct): Assign the new members. | |
1161 | * config/locale/gnu/numeric_members.cc | |
1162 | (numpunct<>::_M_initialize_numpunct): Likewise. | |
1163 | ||
ea1ea21a MM |
1164 | 2004-01-12 Mark Mitchell <mark@codesourcery.com> |
1165 | ||
1166 | * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. | |
1167 | * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define | |
1168 | it. | |
1169 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo | |
1170 | and remove Cygwin XFAIL. | |
1171 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
1172 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
1173 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
1174 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: | |
1175 | Likewise. | |
1176 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
1177 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
1178 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
1179 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
1180 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. | |
1181 | ||
3b3bfc0e GDR |
1182 | 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1183 | ||
1184 | * include/std/std_complex.h (std::complex<>::real): Return a | |
1185 | reference. Add non-const overload. | |
1186 | (std::complex<>::real): Likewise. | |
1187 | (std::real): Likewise. | |
1188 | (std::imag): Likewise. | |
1189 | (std::operator+): Tidy. | |
1190 | (std::operator-): Likewise. | |
1191 | (std::operator*): Likewise. | |
1192 | (std::operator/): Likewise. | |
1193 | (std::operator>>): Likewise. | |
1194 | ||
09625c16 PC |
1195 | 2004-01-11 Paolo Carlini <pcarlini@suse.de> |
1196 | ||
1197 | PR libstdc++/13582 | |
1198 | * include/bits/fstream.tcc (imbue): Exploit the external | |
1199 | buffer to imbue 'on the fly' a new locale and convert its | |
1200 | remainder with the new codecvt facet. | |
1201 | (underflow): Tweak slightly to deal with this special case. | |
1202 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New. | |
1203 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto. | |
1204 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto. | |
1205 | * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto. | |
1206 | * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto. | |
16dd5cfe | 1207 | |
a8d65349 PC |
1208 | 2004-01-10 Paolo Carlini <pcarlini@suse.de> |
1209 | ||
1210 | * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: | |
1211 | Import Revision 28. | |
1212 | ||
b656faa8 PC |
1213 | 2004-01-10 Paolo Carlini <pcarlini@suse.de> |
1214 | ||
1215 | PR libstdc++/13630 | |
1216 | * include/bits/locale_classes.h (class locale): Fix category | |
1217 | typedef. | |
1218 | * testsuite/22_locale/locale/13630.cc: Add. | |
1219 | ||
f88e4715 GB |
1220 | 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
1221 | ||
1222 | * include/bits/locale_facets.h: Make a name really dependent. This | |
1223 | will be needed when Core Issue 224 is implemented. | |
1224 | ||
64cb2c4a PC |
1225 | 2004-01-09 Paolo Carlini <pcarlini@suse.de> |
1226 | ||
1227 | * testsuite/performance/allocator.cc: Demangle typeid(obj).name(). | |
1228 | * testsuite/performance/allocator_thread.cc: Likewise. | |
1229 | ||
158960ba BK |
1230 | 2004-01-07 Benjamin Kosnik <bkoz@redhat.com> |
1231 | ||
1232 | * crossconfig.m4: Add LFS, io bits to linux cross config. | |
1233 | * acconfig.h: Remove obsolete bits, reorder. | |
1234 | * config.h.in: Regenerate. | |
1235 | * aclocal.m4: Same. | |
1236 | * configure: Same. | |
16dd5cfe | 1237 | |
e135a038 BK |
1238 | 2004-01-07 Gawain Bolton <gp.bolton@computer.org> |
1239 | ||
1240 | * include/bits/stl_list.h: | |
1241 | * include/bits/list.tc: | |
1242 | * src/list.cc: | |
6a734d61 BK |
1243 | Performance enhancements for destructor, push_front(), |
1244 | push_back(), pop_front(), pop_back(), sort() | |
1245 | Eliminated static_casts where possible. | |
1246 | Moved code out of header files into new src/list.cc | |
1247 | implementation file for library where possible. | |
1248 | Remove inheritance from iterator class and create separate | |
1249 | classes for non-constant and constant iterators. | |
e135a038 | 1250 | * include/bits/stl_tree.h (_Rb_tree class): |
16dd5cfe | 1251 | * src/tree.cc: |
6a734d61 BK |
1252 | Only erase contents in destructor. |
1253 | Eliminate unnecessary initialization in assignment operator. | |
1254 | Optimize for the nominal case by not checking whether | |
1255 | container is empty in clear(). | |
1256 | Re-order test in _M_insert() to improve performance. | |
1257 | Move initialization of new node's left & right pointers to | |
1258 | src/tree.cc to where new node's colour is initialized | |
1259 | and to reduce the amount of inline code. | |
1260 | Use _M_leftmost() and _M_end() to improve readability where | |
1261 | appropriate. | |
1262 | Create separate classes for non-constant and constant | |
1263 | iterators to clarify code, avoid extra template parameters and | |
1264 | casting away constness. | |
16dd5cfe | 1265 | |
e135a038 BK |
1266 | 2004-01-07 Benjamin Kosnik <bkoz@redhat.com> |
1267 | ||
1268 | * src/Makefile.am (sources): Add list.cc, tree.cc. | |
1269 | * src/stl_tree.cc: Move to... | |
1270 | * src/tree.cc: ...here. | |
1271 | * src/list.cc: Add. | |
1272 | * config/linker-map.gnu: Tweaks. | |
1273 | * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors. | |
1274 | * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors. | |
1275 | ||
1276 | * bits/stl_vector.h: Column wrap comments. | |
16dd5cfe | 1277 | |
677e7ddc LR |
1278 | 2004-01-07 Loren J. Rittle <ljrittle@acm.org> |
1279 | ||
1280 | (re-open) PR libstdc++/12658 | |
1281 | * src/locale_init.cc (locale::locale): Remove ill-scoped mutex. | |
1282 | (locale::global): Likewise. | |
1283 | ||
d8f5bd50 PC |
1284 | 2004-01-07 Paolo Carlini <pcarlini@suse.de> |
1285 | ||
1286 | * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc: | |
1287 | Remove redundant #include. | |
1288 | * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise. | |
1289 | * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise, | |
1290 | re-enable normal testing. | |
1291 | * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant | |
1292 | #include. | |
1293 | * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. | |
1294 | * testsuite/27_io/basic_ostream/inserters_character/char/1.cc: | |
1295 | Likewise. | |
1296 | * testsuite/27_io/basic_ostream/inserters_character/char/2.cc: | |
1297 | Likewise. | |
1298 | * testsuite/27_io/basic_ostream/inserters_character/char/3.cc: | |
1299 | Likewise. | |
1300 | * testsuite/27_io/basic_ostream/inserters_character/char/4.cc: | |
1301 | Likewise. | |
1302 | * testsuite/27_io/basic_ostream/inserters_character/char/5.cc: | |
1303 | Likewise. | |
1304 | * testsuite/27_io/basic_ostream/inserters_character/char/6.cc: | |
1305 | Likewise. | |
1306 | * testsuite/27_io/basic_ostream/inserters_character/char/8.cc: | |
1307 | Likewise. | |
1308 | * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc: | |
1309 | More properly, #include <locale>. | |
1310 | * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc: | |
1311 | Remove redundant #include. | |
1312 | * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise. | |
1313 | * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove | |
1314 | redundant DejaGnu directive. | |
1315 | * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove | |
1316 | redundant #include. | |
1317 | ||
b61f9bf0 | 1318 | 2004-01-06 Benjamin Kosnik <bkoz@redhat.com> |
6a734d61 | 1319 | Stefan Olsson <stefan@snon.net> |
b61f9bf0 BK |
1320 | |
1321 | * scripts/check_performance: Use -pthread. | |
1322 | * testsuite/performance/allocator.cc: Tweaks, add list. | |
1323 | * testsuite/performance/allocator_thread.cc: New. | |
1324 | ||
b74a6851 | 1325 | 2004-01-06 Jerry Quinn <jlquinn@optonline.net> |
9a01c9b0 JQ |
1326 | |
1327 | * include/bits/locale_facets.h: Document public classes and | |
1328 | functions. | |
1329 | * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): | |
1330 | Add comment. | |
1331 | ||
b80115c4 PC |
1332 | 2004-01-06 Paolo Carlini <pcarlini@suse.de> |
1333 | ||
1334 | * testsuite/27_io/basic_istream/extractors_other/char/1.cc: | |
1335 | Remove redundant #includes. | |
1336 | * testsuite/27_io/basic_istream/extractors_other/char/2.cc: | |
1337 | Likewise. | |
1338 | * testsuite/27_io/basic_istream/extractors_other/char/3.cc: | |
1339 | Likewise. | |
1340 | * testsuite/27_io/basic_istream/get/char/1.cc: Likewise. | |
1341 | * testsuite/27_io/basic_istream/get/char/2.cc: Likewise. | |
1342 | * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise. | |
1343 | * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise. | |
1344 | * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise. | |
1345 | * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise. | |
1346 | * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise. | |
1347 | * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise. | |
1348 | * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise. | |
1349 | * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise. | |
1350 | * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. | |
1351 | * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. | |
1352 | * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. | |
1353 | * testsuite/27_io/basic_istream/read/char/3.cc: Likewise. | |
1354 | * testsuite/27_io/basic_istream/readsome/char/6746-1.cc: | |
1355 | Likewise. | |
1356 | * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: | |
1357 | Likewise. | |
1358 | * testsuite/27_io/basic_istream/readsome/char/8258.cc: | |
1359 | Likewise. | |
1360 | * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: | |
1361 | Likewise. | |
1362 | * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: | |
1363 | Likewise. | |
1364 | * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise. | |
1365 | * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. | |
1366 | * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. | |
1367 | ||
22ed0590 | 1368 | 2004-01-04 Paolo Carlini <pcarlini@suse.de> |
223b5084 PC |
1369 | |
1370 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: | |
1371 | Remove redundant #includes. | |
1372 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: | |
1373 | Likewise. | |
1374 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: | |
1375 | Likewise. | |
1376 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: | |
1377 | Likewise. | |
1378 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: | |
1379 | Likewise. | |
1380 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: | |
1381 | Likewise. | |
1382 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: | |
1383 | Likewise. | |
1384 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: | |
1385 | Likewise. | |
1386 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: | |
1387 | Likewise. | |
1388 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: | |
1389 | Likewise. | |
1390 | * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: | |
1391 | Likewise. | |
1392 | * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: | |
1393 | Likewise. | |
1394 | * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: | |
1395 | Likewise. | |
1396 | ||
4f8163b1 MM |
1397 | 2004-01-04 Mark Mitchell <mark@codesourcery.com> |
1398 | ||
1399 | PR c++/12226 | |
1400 | * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy | |
1401 | constructor. | |
1402 | * testsuite/27_io/basic_fstream/4.cc: Likewise. | |
1403 | * testsuite/27_io/basic_ifstream/4.cc: Likewise. | |
1404 | * testsuite/27_io/basic_ios/4.cc: Likewise. | |
1405 | * testsuite/27_io/basic_iostream/4.cc: Likewise. | |
1406 | * testsuite/27_io/basic_istream/4.cc: Likewise. | |
1407 | * testsuite/27_io/basic_istingstream/4.cc: Likewise. | |
1408 | * testsuite/27_io/basic_ofstream/4.cc: Likewise. | |
1409 | * testsuite/27_io/basic_ostream/4.cc: Likewise. | |
1410 | * testsuite/27_io/basic_ostringstream/4.cc: Likewise. | |
1411 | * testsuite/27_io/basic_stringbuf/5.cc: Likewise. | |
1412 | * testsuite/27_io/basic_stringstream/4.cc: Likewise. | |
1413 | ||
17fa5560 PC |
1414 | 2004-01-04 Paolo Carlini <pcarlini@suse.de> |
1415 | ||
1416 | * config/locale/generic/numeric_members.cc (_M_initialize_numpunct): | |
1417 | Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in; | |
1418 | always use double underscored names. | |
1419 | * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct): | |
1420 | Likewise. | |
1421 | * include/bits/locale_facets.h (struct __numpunct_cache): | |
1422 | Dimension _M_atoms_out and _M_atoms_in one position smaller. | |
1423 | (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out | |
1424 | and _M_atoms_in. |