]>
Commit | Line | Data |
---|---|---|
f6a7db9e PC |
1 | 2003-11-09 Paolo Carlini <pcarlini@suse.de> |
2 | ||
3 | * include/bits/locale_facets.tcc (_M_insert_int, | |
4 | _M_insert_float): Move a couple of vars inside an if block. | |
5 | ||
7c752655 PC |
6 | 2003-11-09 Paolo Carlini <pcarlini@suse.de> |
7 | ||
8 | PR libstdc++/12971 | |
9 | * include/bits/locale_facets.tcc | |
10 | (money_put::do_put(..., long double)): Fix conversion | |
11 | specification as per DR 328 [WP]. | |
12 | * testsuite/22_locale/money_put/put/char/12971.cc: Add. | |
13 | * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto. | |
14 | * docs/html/ext/howto.html: Add entry for DR 328. | |
15 | ||
41d3a0c3 PC |
16 | 2003-11-08 Paolo Carlini <pcarlini@suse.de> |
17 | ||
18 | PR libstdc++/12967 | |
19 | * include/bits/list.tcc (merge): Implement resolution of | |
20 | DR 300 [WP]. | |
21 | * docs/html/ext/howto.html: Add entry for DR 300; tweak entry | |
22 | for DR 231. | |
23 | ||
24 | * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: | |
25 | Import R27. | |
26 | ||
3ab3dca6 JW |
27 | 2003-11-07 Jonathan Wakely <redi@gcc.gnu.org> |
28 | ||
29 | * libsupc++/vec.cc: Conform to C++STYLE. | |
30 | ||
2d369f35 CW |
31 | 2003-11-07 Carlo Wood <carlo@alinoe.com> |
32 | ||
33 | PR libstdc++/12736 | |
34 | * bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added. | |
35 | (qualifier_list<Allocator>::decode_qualifiers): Collect concatenated | |
36 | K, V, r and A qualifiers before processing them as a group. | |
37 | * testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers. | |
38 | * testsuite/demangle/regression/cw-16.cc: New. | |
39 | ||
b938ad89 RM |
40 | 2003-11-07 Robert Millan <robertmh@gnu.org> |
41 | ||
f6a7db9e PC |
42 | * configure.host: Add kfreebsd*-gnu and knetbsd*-gnu. |
43 | * crossconfig.m4: Likewise. | |
44 | * configure: Regenerate. | |
b938ad89 | 45 | |
eb622d37 CW |
46 | 2003-11-07 Carlo Wood <carlo@alinoe.com> |
47 | ||
f6a7db9e PC |
48 | * include/bits/demangle.h |
49 | (qualifier_list<Allocator>::decode_qualifiers(string_type&, | |
50 | string_type&, bool member_function_pointer_qualifiers): | |
51 | Always separate the '[' of an array type with a space from | |
52 | what is left of it, except when that is the closing bracket | |
53 | of another array dimension. | |
eb622d37 | 54 | |
2215f732 CW |
55 | 2003-11-07 Carlo Wood <carlo@alinoe.com> |
56 | ||
f6a7db9e | 57 | * include/bits/demangle.h |
2215f732 CW |
58 | (qualifier_list<Allocator>::decode_qualifiers(string_type&, |
59 | string_type&, bool) const): Made const. | |
60 | (qualifier_list<Allocator>::M_printing_suppressed): Added mutable. | |
61 | (_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3, | |
62 | std::ostream& operator<<(std::ostream&, qualifier const&), | |
63 | std::ostream& operator<<(std::ostream&, qualifier_list const&), | |
64 | qualifier_list<Allocator>::decode_qualifiers(string_type&, | |
65 | string_type&, bool) const, | |
66 | session<Allocator>::decode_type_with_postfix(string_type&, | |
67 | string_type&, qualifier_list<Allocator>*)) | |
68 | Added and/or changed debug-only hooks and code. | |
69 | ||
d30b600a JO |
70 | 2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com> |
71 | ||
72 | * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer, | |
73 | immediately return. This reflects a C++ ABI change 2003 Nov 03. | |
74 | (__cxa_vec_delete3): Likewise. | |
75 | ||
5e93f39f PR |
76 | 2003-11-03 Petur Runolfsson <peturr02@ru.is> |
77 | ||
78 | PR libstdc++/12790 | |
79 | * include/bits/fstream.tcc: Delete _M_last_overflowed. | |
80 | (basic_filebuf::basic_filebuf): Initialize _M_state_last. | |
81 | (basic_filebuf::open, basic_filebuf::close): Assign | |
82 | _M_state_beg to _M_state_cur and _M_state_last. | |
83 | (basic_filebuf::close): Call _M_terminate_output to handle | |
84 | unshift and flushing. | |
85 | (basic_filebuf::underflow): Assign _M_state_last, throw | |
86 | exception instead of calling abort when codecvt::max_length() | |
87 | is bad. | |
88 | (basic_filebuf::seekoff): Use _M_state_last when calling | |
89 | codecvt::length(), pass correct state to _M_seek. | |
90 | (basic_filebuf::seekpos): Pass __pos.state() to _M_seek. | |
91 | (basic_filebuf::_M_seek): Add __state_type parameter, | |
92 | set _M_state_cur correctly, store the resulting state in | |
93 | the return value and use _M_terminate_output to handle | |
94 | flushing and unshift. | |
95 | (basic_filebuf::_M_terminate_output): Flush contents of | |
96 | output buffer, if any, then call codecvt::unshift as | |
97 | needed and output the result. | |
98 | (basic_filebuf::sync): Move here, don't modify _M_writing | |
99 | or _M_reading. | |
100 | ||
101 | * include/std/std_fstream.h | |
102 | (basic_filebuf::_M_state_last): Declare it. | |
103 | (basic_filebuf::_M_last_overflowed): Delete. | |
104 | (basic_filebuf::_M_seek): Add __state_type parameter. | |
105 | (basic_filebuf::sync): Declare only. | |
106 | (basic_filebuf::_M_output_unshift): Delete. | |
107 | (basic_filebuf::_M_terminate_output): Declare it. | |
108 | ||
109 | * testsuite/testsuite_character.h: | |
110 | Define character class and state class plus char_traits and | |
111 | codecvt specializations for same for testing support for | |
112 | stateful encodings. | |
113 | ||
114 | * testsuite/27_io/basic_filebuf/close/12790-1.cc, | |
115 | * testsuite/27_io/basic_filebuf/close/char/12790-1.cc, | |
116 | * testsuite/27_io/basic_filebuf/close/char/12790-2.cc, | |
117 | * testsuite/27_io/basic_filebuf/close/char/12790-3.cc, | |
118 | * testsuite/27_io/basic_filebuf/close/char/12790-4.cc, | |
119 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc, | |
120 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc, | |
121 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc, | |
122 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc, | |
123 | * testsuite/27_io/basic_filebuf/open/12790-1.cc, | |
124 | * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc, | |
125 | * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc, | |
126 | * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc, | |
127 | * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc, | |
128 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc, | |
129 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc, | |
130 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc, | |
131 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc, | |
132 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc, | |
133 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc, | |
134 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc, | |
135 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc, | |
136 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc, | |
137 | * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc, | |
138 | * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc, | |
139 | * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc, | |
140 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc, | |
141 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc, | |
142 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc, | |
143 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc, | |
144 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc, | |
145 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc, | |
146 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc, | |
147 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc, | |
148 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc, | |
149 | * testsuite/27_io/basic_filebuf/sync/char/1.cc, | |
150 | * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: | |
151 | New tests. | |
152 | ||
153 | * testsuite/27_io/basic_filebuf/3.cc, | |
154 | * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc, | |
155 | * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc, | |
156 | * testsuite/27_io/basic_fstream/3.cc, | |
157 | * testsuite/27_io/basic_ifstream/3.cc, | |
158 | * testsuite/27_io/basic_ofstream/3.cc: | |
159 | Use streamoff as off_type and fpos<state_type> as pos_type. | |
160 | ||
161 | * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc, | |
162 | * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: | |
163 | Check that sync does *not* set _M_writing to false. | |
164 | ||
1b9e6d64 AG |
165 | 2003-11-03 Anthony Green <green@redhat.com> |
166 | ||
167 | * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before | |
168 | they're used. | |
169 | ||
e0f05105 BK |
170 | 2003-11-03 Benjamin Kosnik <bkoz@redhat.com> |
171 | ||
172 | * include/bits/locale_facets.h (time_get::_M_extract_name): Add | |
173 | ctype argument. | |
174 | * include/bits/locale_facets.tcc: Same, use it to allow | |
175 | capitalized names. | |
176 | ||
177 | * include/bits/fstream.tcc: Spacing tweak. | |
178 | * include/bits/istream.tcc: Same. | |
179 | * include/bits/ostream.tcc: Same. | |
180 | ||
08b9183d PC |
181 | 2003-10-30 Paolo Carlini <pcarlini@suse.de> |
182 | ||
183 | * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): | |
184 | __mod is only assigned, never used its value, remove it. | |
185 | ||
f1e7988a PC |
186 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
187 | ||
188 | * include/bits/locale_facets.tcc (time_get::do_get_year): | |
189 | Absolutely avoid dereferencing end iterators. | |
190 | (time_put::put): Minor clean up. | |
191 | ||
192 | * include/bits/locale_facets.tcc: Cosmetic reformattings. | |
193 | ||
58c9703f PC |
194 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
195 | ||
196 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
197 | Revert the last commit, is not correct, sorry. | |
198 | ||
4f363232 PC |
199 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
200 | ||
201 | * config/locale/generic/c_locale.cc: Add back <cmath> and | |
202 | <cstdlib>. | |
203 | ||
204 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
205 | Clean up. | |
206 | ||
6bf0b59c PC |
207 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
208 | ||
209 | * include/bits/locale_facets.tcc (time_put::put): Absolutely | |
210 | avoid dereferencing end iterators; clean up. | |
211 | ||
212 | * include/bits/locale_facets.tcc (num_get::_M_extract_float, | |
213 | num_get::_M_extract_int): Minor tweak. | |
214 | ||
c9cca2c2 PC |
215 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
216 | ||
217 | * include/bits/locale_facets.tcc: Remove some unnecessary | |
218 | includes. | |
219 | * config/locale/generic/c_locale.cc: Include <cerrno> here. | |
220 | * config/locale/gnu/c_locale.cc: Likewise. | |
221 | ||
157f3283 PC |
222 | 2003-10-28 Paolo Carlini <pcarlini@suse.de> |
223 | ||
224 | * include/bits/locale_facets.tcc | |
225 | (money_get<>::do_get(..., string_type&)): Absolutely avoid | |
226 | dereferencing end iterators; general clean up. | |
227 | ||
cc27f5a2 PC |
228 | 2003-10-28 Paolo Carlini <pcarlini@suse.de> |
229 | ||
230 | * include/bits/locale_facets.tcc (time_get::_M_extract_num): | |
231 | Absolutely avoid dereferencing end iterators. | |
232 | (time_get::_M_extract_name): Likewise. | |
233 | ||
234 | * include/bits/locale_facets.tcc | |
235 | (time_get::_M_extract_via_format, case 'e'): Don't try to | |
236 | be smart wrt returning the right __beg in case of parse | |
237 | error, time_get::_M_extract_num must be fixed instead. | |
238 | ||
0c6b814a PC |
239 | 2003-10-27 Paolo Carlini <pcarlini@suse.de> |
240 | ||
241 | PR libstdc++/12778 | |
242 | * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler. | |
243 | * aclocal.m4: Regenerate. | |
244 | * configure: Regenerate. | |
245 | ||
0f09879b BK |
246 | 2003-10-27 Benjamin Kosnik <bkoz@redhat.com> |
247 | ||
248 | * docs/html/17_intro/TODO: Add links. | |
249 | * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: | |
250 | Uncomment. | |
251 | ||
f20d2b78 PC |
252 | 2003-10-27 Paolo Carlini <pcarlini@suse.de> |
253 | ||
254 | PR libstdc++/12750 | |
255 | * include/bits/locale_facets.tcc | |
256 | (time_get::_M_extract_via_format): Deal with code 'e'. | |
257 | * testsuite/22_locale/time_get/get_date/char/12750.cc: New. | |
258 | * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto. | |
259 | ||
260 | * include/bits/locale_facets.tcc | |
261 | (time_get::_M_extract_via_format): Tweak to absolutely avoid | |
262 | dereferencing end iterators. | |
263 | ||
264 | * include/bits/locale_facets.h (__verify_grouping): | |
265 | Const-ify second parameter. | |
266 | * include/bits/locale_facets.tcc (__verify_grouping): Ditto. | |
267 | * src/locale-inst.cc (__verify_grouping): Ditto. | |
268 | ||
269 | 2003-10-27 Paolo Carlini <pcarlini@suse.de> | |
270 | ||
271 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
272 | Various things: 1- Avoid absolutely end iterator dereferences; | |
273 | 2- Improve performance-wise the code skipping leading zeros; | |
274 | 3- Fix two bugs wrt early bail out in case of parsing errors | |
275 | (see testcases); 4- General clean up. | |
276 | (num_get::_M_extract_int): Likewise, except 3-. Additionally, | |
277 | use __builtin_expect to favor base 10 inputs. | |
278 | * testsuite/22_locale/num_get/get/char/7.cc: New. | |
279 | * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto. | |
280 | ||
f883c8dc PC |
281 | 2003-10-26 Paolo Carlini <pcarlini@suse.de> |
282 | ||
283 | * testsuite/22_locale/money_put/put/char/1.cc: Clean up. | |
284 | * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto. | |
285 | ||
999bf60f PC |
286 | 2003-10-25 Paolo Carlini <pcarlini@suse.de> |
287 | ||
288 | * include/bits/locale_facets.tcc (num_get::_M_extract_int): | |
289 | __pos in only incremented, never used its value, remove it. | |
290 | ||
b2398b49 RM |
291 | 2003-10-24 Robert Millan <robertmh@gnu.org> |
292 | ||
293 | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu | |
294 | and knetbsd*-gnu. | |
295 | * aclocal.m4: Regenerated. | |
296 | * configure: Regenerated. | |
297 | ||
761faeec PC |
298 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
299 | ||
300 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
301 | long double&): Properly size the temporary buffer. | |
302 | * testsuite/22_locale/money_get/get/char/11.cc: New. | |
303 | * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto. | |
304 | ||
305 | * include/bits/locale_facets.tcc (num_put::_M_group_int, | |
306 | num_put::_M_group_float, money_put::do_put(..., const | |
307 | string_type&), collate::do_compare, collate::do_transform): | |
308 | Prefer basic_string::data() to c_str() when the '\0' | |
309 | terminator is not really needed. | |
310 | ||
eebf21ef PC |
311 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
312 | ||
313 | * include/bits/locale_facets.tcc (__verify_grouping): | |
314 | Prefer '=' to an unnecessary '&='. | |
315 | ||
ebaeca8b PC |
316 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
317 | ||
318 | * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)): | |
319 | Tweak my fix for libstdc++/12657. | |
320 | ||
bf22935f PC |
321 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
322 | ||
323 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
324 | string_type&): Minor tweak to the previous commit. | |
325 | ||
14628700 PC |
326 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
327 | ||
328 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
329 | string_type&): Disregard the previous commit: doesn't hurt but | |
330 | doesn't accomplish anything useful either. This is the right | |
331 | one, speeding up greatly the function in case of early fail. | |
332 | ||
cdd5cf72 PC |
333 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
334 | ||
335 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
336 | string_type&): Move an if block, thus minimizing the amount | |
337 | of code processed anyway when __tmp_units.size() == 0. | |
338 | ||
c21dbe85 PC |
339 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
340 | ||
341 | * include/bits/locale_facets.tcc | |
342 | (time_get<>::_M_extract_via_format): Deal with case 'C' too, | |
343 | equivalent to 'y'. | |
344 | ||
d2c354f3 BK |
345 | 2003-10-23 Benjamin Kosnik <bkoz@redhat.com> |
346 | ||
347 | * docs/html/documentation.html: Add a pointer to the doxygen style | |
348 | guide. | |
349 | * docs/html/17_intro/TODO: Update. | |
350 | * docs/html/test.html: Add instructions for running a subset of | |
351 | tests, update. | |
352 | ||
60aa9fc3 PC |
353 | 2003-10-23 Paolo Carlini <pcarlini@suse.de> |
354 | ||
355 | * include/bits/locale_facets.tcc (money_get<>::do_get(..., | |
356 | string_type&)): Use find_first_not_of to strip leading | |
357 | zeros; if __tmp_units == "0" never prefix it with '-'; | |
358 | always fail if __tmp_units is empty. | |
359 | * testsuite/22_locale/money_get/get/char/10.cc: New. | |
360 | * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto. | |
361 | ||
861f9573 PE |
362 | 2003-10-23 Phil Edwards <phil@codesourcery.com> |
363 | ||
364 | * config/os/vxworks/ctype_noninline.h: Adjust ctor to match | |
365 | 2003-10-21 change. | |
366 | ||
3c21d6e0 PC |
367 | 2003-10-22 Paolo Carlini <pcarlini@suse.de> |
368 | ||
369 | * include/bits/locale_facets.tcc (__int_to_char): Remove | |
370 | the const int parameter. | |
371 | (_M_insert_int): Update caller. | |
372 | * src/locale-inst.cc (__int_to_char): Update instantiations. | |
373 | ||
bf5fe473 BK |
374 | 2003-10-22 Benjamin Kosnik <bkoz@redhat.com> |
375 | ||
376 | * include/bits/locale_facets.h: Correct byname facets for "C" | |
377 | locale. | |
378 | * config/locale/generic/ctype_members.cc: Same. | |
379 | * config/locale/generic/messages_members.h: Same. | |
380 | * config/locale/gnu/ctype_members.cc: Same. | |
381 | * config/locale/gnu/messages_members.h: Same. | |
382 | * include/bits/codecvt.h: Same. | |
383 | * src/ctype.cc: Same. | |
384 | * testsuite/22_locale/codecvt_byname/1.cc: New. | |
385 | * testsuite/22_locale/collate/1.cc: Edit. | |
386 | * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to... | |
387 | * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here. | |
388 | * testsuite/22_locale/ctype/1.cc: Derivation tests. | |
389 | * testsuite/22_locale/ctype/11844.cc: Move... | |
390 | * testsuite/22_locale/ctype_base/11844.cc: ...here. | |
391 | * testsuite/22_locale/ctype_base/1.cc: Move mask bits here. | |
392 | * testsuite/22_locale/ctype_byname/1.cc: Name. | |
393 | * testsuite/22_locale/messages_byname/1.cc: New. | |
394 | * testsuite/22_locale/messages_byname/named_equivalence.cc: New. | |
395 | * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test. | |
396 | * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New. | |
397 | * testsuite/22_locale/numpunct/1.cc: Edit. | |
398 | * testsuite/22_locale/numpunct_byname/2.cc: Move... | |
399 | * testsuite/22_locale/numpunct/members/char/3.cc: ...here. | |
400 | * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests. | |
401 | * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New. | |
402 | ||
3d05b345 PC |
403 | 2003-10-22 Paolo Carlini <pcarlini@suse.de> |
404 | ||
405 | PR libstdc++/8610 | |
406 | * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro, | |
407 | checking for the availability of int64_t. | |
408 | (GLIBCXX_CHECK_LFS): New macro, checking for LFS support. | |
409 | * configure.ac: Call here. | |
410 | * acconfig.h: Add undef for the corresponding symbols. | |
411 | * config/io/basic_file_stdio.cc (__basic_file<char>::open): | |
412 | Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen. | |
413 | (__basic_file<char>::seekoff): Likewise, call lseek64 when | |
414 | available, otherwise lseek, checking the __off parameter. | |
415 | * include/bits/postypes.h: Typedef __streamoff_base_type | |
416 | to int64_t if available, otherwise long long. | |
417 | * aclocal.m4: Regenerate. | |
418 | * config.h.in: Likewise. | |
419 | * configure: Likewise. | |
420 | ||
421 | * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV): | |
422 | Use AC_TRY_LINK instead of AC_TRY_COMPILE. | |
423 | ||
57d01e69 PC |
424 | 2003-10-22 Paolo Carlini <pcarlini@suse.de> |
425 | ||
426 | PR libstdc++/12657 | |
427 | * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)): | |
428 | Implement resolution of DR 292 (WP). | |
429 | * docs/html/ext/howto.html: Add entry for DR 292. | |
430 | ||
6b5a2662 BK |
431 | 2003-10-21 Benjamin Kosnik <bkoz@redhat.com> |
432 | ||
433 | * include/ext/mt_allocator.h: Change include to gthr.h. | |
434 | * include/ext/rope: Same. Add _Refcount_base definitions. | |
435 | * include/ext/pool_allocator.h: Adjust namespaces. | |
436 | * include/bits/stl_threads.h (_Refcount_base): Move. | |
437 | Put remaining into namespace __gnu_cxx. | |
438 | ||
82c2e3d4 BK |
439 | 2003-10-21 Benjamin Kosnik <bkoz@redhat.com> |
440 | ||
441 | PR libstdc++/9858 | |
442 | * include/bits/locale_facets.h (ctype<char>): Remove | |
443 | __ctype_abstract_base. | |
444 | (ctype<char>::do_is): Remove. | |
445 | (ctype<char>::do_scan_is): Remove. | |
446 | * src/ctype.cc: Same. Inline the rest. | |
447 | * testsuite/22_locale/ctype/is/char/9858.cc: New. | |
448 | * config/os/aix/ctype_noninline.h: Adjust ctor. | |
449 | * config/os/bsd/freebsd/ctype_noninline.h: Same. | |
450 | * config/os/bsd/netbsd/ctype_noninline.h: Same. | |
451 | * config/os/djgpp/ctype_noninline.h: Same. | |
452 | * config/os/generic/ctype_noninline.h: Same. | |
453 | * config/os/gnu-linux/ctype_noninline.h: Same. | |
454 | * config/os/hpux/ctype_noninline.h: Same. | |
455 | * config/os/irix/irix5.2/ctype_noninline.h: Same. | |
456 | * config/os/irix/irix6.5/ctype_noninline.h: Same. | |
457 | * config/os/mingw32/ctype_noninline.h: Same. | |
458 | * config/os/newlib/ctype_noninline.h: Same. | |
459 | * config/os/qnx/qnx6.1/ctype_noninline.h: Same. | |
460 | * config/os/solaris/solaris2.5/ctype_noninline.h: Same. | |
461 | * config/os/solaris/solaris2.6/ctype_noninline.h: Same. | |
462 | * config/os/solaris/solaris2.7/ctype_noninline.h: Same. | |
463 | * config/os/windiss/ctype_noninline.h: Same. | |
464 | ||
d23ad8c8 PC |
465 | 2003-10-21 Paolo Carlini <pcarlini@suse.de> |
466 | ||
467 | * src/locale.cc: Tweak a comment. | |
468 | * src/localename.cc: Move a comment. | |
469 | ||
9540958e BK |
470 | 2003-10-20 Benjamin Kosnik <bkoz@redhat.com> |
471 | ||
472 | PR libstdc++/10081 | |
473 | * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations. | |
474 | * testsuite_hooks.cc: Same. | |
475 | * 22_locale/numpunct/members/pod/1.cc: Edit. | |
476 | * 22_locale/numpunct/members/pod/2.cc: Same. | |
477 | * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ... | |
478 | * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ... | |
479 | * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here. | |
480 | * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here. | |
481 | * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here. | |
482 | * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove. | |
483 | * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove. | |
484 | * 27_io/basic_istream/sentry/pod/1.cc: New. | |
485 | * 27_io/basic_ostream/sentry/pod/1.cc: New. | |
486 | * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New. | |
487 | * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New. | |
488 | ||
27d54b2a RO |
489 | 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
490 | ||
491 | * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead | |
492 | of external _MIPS_SIM_ABI32. | |
493 | ||
65fc9769 PE |
494 | 2003-10-20 Phil Edwards <phil@codesourcery.com> |
495 | ||
496 | * configure.ac: Fix comment typo. | |
497 | * configure.host: Add vxworks to host_os switch. | |
498 | * crossconfig.m4: Remove old commented os_include_dir variables | |
499 | left over from autotools transition. | |
500 | (*-vxworks): New stanza. | |
501 | (*-windiss): Add missing symbols. | |
502 | * configure: Regenerate. | |
503 | * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h, | |
504 | config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h: | |
505 | New files. | |
506 | * config/os/windiss/os_defines.h: Define __C9X__. | |
507 | ||
47395a24 DE |
508 | 2003-10-19 David Edelsohn <edelsohn@gnu.org> |
509 | ||
510 | PR other/12506 | |
511 | * configure.host (aix4,aix*): Define os_include_dir to os/generic. | |
512 | ||
8f4c7b67 AT |
513 | 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch> |
514 | ||
515 | * src/locale.cc (locale::_S_initialize): Re-apply workaround a | |
516 | confusion of the use of the gthr API when __gthread_active_p() | |
517 | returns true. | |
518 | ||
c755e77d BK |
519 | 2003-10-17 Benjamin Kosnik <bkoz@redhat.com> |
520 | ||
521 | * src/Makefile.am: Add new files. | |
522 | * src/Makefile.in: Regenerate. | |
523 | * src/globals.cc: Split into.. | |
524 | * src/globals_io.cc: New. | |
525 | * src/globals_locale.cc: New. | |
526 | * src/ios.cc: Split into... | |
527 | * src/ios_init.cc: New. | |
528 | * src/ios_locale.cc: New. | |
529 | * src/locale-inst.cc: Split into.. | |
530 | * src/wlocale-inst.cc: New. | |
531 | * src/locale-misc-inst.cc: New. | |
532 | * src/locale.cc, src/localename: Split into... | |
533 | * src/locale_facets.cc: New. | |
534 | * src/locale_init.cc: New. | |
535 | * src/wstring-inst.cc: Add copyright info. | |
536 | ||
4c4809c1 BK |
537 | 2003-10-16 Petur Runolfsson <peturr02@ru.is> |
538 | ||
4c4809c1 BK |
539 | PR libstdc++/11450 |
540 | PR libstdc++/11543 | |
541 | PR libstdc++/12065 | |
542 | * config/io/basic_file_stdio.cc (__basic_file::seekoff): | |
543 | Change return value from streampos to streamoff. | |
544 | (__basic_file::seekpos): Delete. | |
545 | * config/io/basic_file_stdio.h: Same. | |
546 | * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs. | |
547 | * include/Makefile.am (bits_headers): Add bits/postypes.h. | |
548 | * include/bits/char_traits.h: Include bits/postypes.h instead of | |
549 | bits/fpos.h. | |
550 | * include/bits/fstream.tcc (basic_filebuf::open, | |
551 | basic_filebuf::pbackfail): Don't use < or >= to compare pos_type | |
552 | values, use == and != instead. | |
553 | (basic_filebuf::_M_seek): Use explicit conversion from streamoff | |
554 | to pos_type. | |
555 | (basic_filebuf::imbue): Don't use ! on pos_type values, use | |
556 | == instead. Don't use __check_facet(_M_codecvt) unless is_open(). | |
557 | * include/bits/postypes.h: New file. | |
558 | Add __streamoff_base_type typedef, streamsize. | |
559 | (streamoff, streampos, wstreampos): Define typedefs, with | |
560 | streamoff defined as... | |
561 | (streamoff): New class. Document implementation defined | |
562 | aspects. | |
563 | (fpos): New implementation. Document implementation defined | |
564 | aspects. | |
565 | * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use | |
566 | explicit conversion from pos_type to off_type. | |
567 | * include/std/std_iosfwd.h: Include bits/postypes.h instead | |
568 | of bits/fpos.h. | |
569 | * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test. | |
570 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test. | |
571 | * testsuite/27_io/fpos/11450.cc: New test. | |
572 | * testsuite/27_io/fpos/mbstate_t/12065.cc: New test. | |
573 | * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test. | |
574 | * testsuite/27_io/types/3.cc: New test. | |
575 | ||
576 | 2003-10-16 Benjamin Kosnik <bkoz@redhat.com> | |
f883c8dc PC |
577 | |
578 | * configure.host: Remove fpos_include_dir. | |
579 | * configure.ac: Remove FPOS_INC_SRCDIR. | |
580 | * configure: Regenerate. | |
581 | * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H. | |
582 | * aclocal.m4: Regenerate. | |
583 | * include/Makefile.am (host_headers): Remove fpos.h. | |
584 | (bits_headers): Add postypes.h. | |
585 | * include/Makefile.in: Regenerate. | |
586 | * config/os/gnu-linux/fposh: Remove. | |
587 | * config/os/generic/fpos.h: Remove. | |
588 | ||
589 | * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup. | |
590 | * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same. | |
591 | * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same. | |
592 | * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same. | |
593 | * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same. | |
594 | * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same. | |
595 | * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same. | |
596 | * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same. | |
597 | * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same. | |
598 | * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same. | |
599 | * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same. | |
600 | * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same. | |
601 | * testsuite/27_io/basic_istream/seekg/char/2.cc: Same. | |
602 | * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same. | |
603 | * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same. | |
604 | * testsuite/27_io/fpos/mbstate_t/3.cc: Same. | |
605 | * testsuite/27_io/objects/char/10.cc: Same. | |
4c4809c1 | 606 | |
0392ff98 PC |
607 | 2003-10-16 Paolo Carlini <pcarlini@suse.de> |
608 | ||
609 | * src/locale.cc (locale::locale(const char*)): ... one | |
610 | more comparison missed in the previous commit. | |
611 | ||
d2f663d1 BK |
612 | 2003-10-16 Benjamin Kosnik <bkoz@redhat.com> |
613 | ||
5d78fe72 BK |
614 | * acconfig.h: Add HAVE_DRAND48. |
615 | * crossconfig.m4: Remove ISATTY. | |
d2f663d1 BK |
616 | * aclocal.m4: Regenerated. |
617 | * config.h.in: Regenerated. | |
5d78fe72 | 618 | * configure: Regenerated. |
d2f663d1 | 619 | |
068c84e3 BI |
620 | 2003-10-16 Bernardo Innocenti <bernie@develer.com> |
621 | ||
622 | * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on | |
623 | __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000. | |
624 | Document SMP safeness of asm macros. | |
625 | ||
eaed902b PC |
626 | 2003-10-16 Paolo Carlini <pcarlini@suse.de> |
627 | ||
628 | * src/locale.cc (locale::locale(const char*)): Tweak | |
629 | a couple of comparisons to use basic_string operators. | |
630 | ||
f991b1d8 PC |
631 | 2003-10-16 Paolo Carlini <pcarlini@suse.de> |
632 | ||
633 | PR libstdc++/12540 | |
634 | * config/locale/gnu/monetary_members.cc | |
635 | (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct): | |
636 | Don't leak memory if new throws. | |
637 | * src/locale.cc (locale::locale(const char*)): In order not | |
638 | to leak memory in case new throws, use a basic_string type | |
639 | for __res too and avoid strdup. | |
640 | ||
84e72d83 JB |
641 | 2003-10-14 Jeff Bailey <jbailey@nisa.net> |
642 | ||
643 | PR libstdc++/12562 | |
644 | * crossconfig.m4: Share the config between *-linux* and *-gnu*. | |
645 | * configure: Regenerate. | |
646 | ||
be3faf89 CW |
647 | 2003-10-14 Carlo Wood <carlo@alinoe.com> |
648 | ||
649 | PR libstdc++/12600 | |
650 | * include/bits/demangle.h (session<Allocator>:: | |
651 | decode_unqualified_name(string_type& output)): Fail on a | |
652 | <operator-name> when decoding <template-argument>. | |
653 | * testsuite/demangle/regression/cw-15.cc: New. | |
654 | ||
1638f5c9 PC |
655 | 2003-10-14 Paolo Carlini <pcarlini@unitus.it> |
656 | ||
657 | PR libstdc++/11480 | |
658 | * include/bits/stl_algo.h (unique): Fix. | |
659 | * testsuite/25_algorithms/unique.cc: Move to unique/1.cc. | |
660 | * testsuite/25_algorithms/unique/11480.cc: New, from the PR. | |
661 | * testsuite/25_algorithms/unique/2.cc: New. | |
662 | ||
42db0f21 PC |
663 | 2003-10-14 Paolo Carlini <pcarlini@unitus.it> |
664 | ||
665 | * src/localename.cc (_M_replace_categories, M_replace_facet): | |
666 | Const-ify a couple of variables. | |
667 | ||
9dccaa6b PR |
668 | 2003-10-14 Petur Runolfsson <peturr02@ru.is> |
669 | Andreas Tobler <a.tobler@schweiz.ch> | |
670 | ||
671 | * src/locale.cc (locale::_S_initialize): Workaround a confusion | |
672 | of the use of the gthr API when __gthread_active_p() returns true. | |
673 | ||
a62e7311 PR |
674 | 2003-10-12 Petur Runolfsson <peturr02@ru.is> |
675 | Paolo Carlini <pcarlini@unitus.it> | |
676 | ||
677 | PR libstdc++/11460 | |
678 | * src/strstream.cc (pbackfail): Fix to use to_int_type. | |
679 | * testsuite/backward/11460.cc: New, from the PR. | |
680 | ||
f5677b15 PC |
681 | 2003-10-12 Paolo Carlini <pcarlini@unitus.it> |
682 | ||
683 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: | |
684 | Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. | |
685 | * include/bits/basic_string.tcc: Likewise. | |
686 | * include/bits/ios_base.h: Likewise. | |
687 | * include/bits/istream.tcc: Likewise. | |
688 | * include/bits/locale_facets.tcc: Likewise. | |
689 | * include/bits/ostream.tcc: Likewise. | |
690 | * include/bits/stl_function.h: Likewise. | |
691 | * include/bits/stl_multiset.h: Likewise. | |
692 | * include/bits/stl_pair.h: Likewise. | |
693 | * include/bits/stl_set.h: Likewise. | |
694 | * include/bits/streambuf_iterator.h | |
695 | * include/std/std_iosfwd.h: Likewise. | |
696 | * include/std/std_istream.h: Likewise. | |
697 | * include/std/std_sstream.h: Likewise. | |
698 | * include/std/std_streambuf.h: Likewise. | |
699 | * src/ios.cc: Likewise. | |
700 | * include/bits/c++config: | |
701 | Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1. | |
702 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a | |
703 | dg-error directive due to removal of a blank line. | |
704 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. | |
705 | ||
c411fdae AT |
706 | 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch> |
707 | Paolo Carlini <pcarlini@unitus.it> | |
708 | ||
709 | PR libstdc++/11844/11740 (cont) | |
710 | * config/os/generic/ctype_inline.h (ctype<char>::is): | |
711 | Generically, use a bitmasksize of 15 (instead of 10); | |
712 | Fix the logic to actually return (M & m) != 0 as per | |
713 | 22.2.1.1.2. | |
714 | ||
796d7a86 BI |
715 | 2003-10-11 Bernardo Innocenti <bernie@develer.com> |
716 | ||
717 | * crossconfig.m4 (*-uclinux*): New target. | |
718 | * configure: Regenerate. | |
719 | ||
6b61bca4 PC |
720 | 2003-10-10 Paolo Carlini <pcarlini@unitus.it> |
721 | ||
722 | * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT)) | |
723 | Avoid unnecessarily calling __builtin_alloca and dealing | |
724 | explicitly with width() smaller than zero. | |
725 | (operator<<(basic_ostream&, char), operator<<(basic_ostream&, | |
726 | const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, | |
727 | const char*), operator<<(basic_ostream<char, _Traits>&, | |
728 | const char*), operator<<(basic_ostream, const basic_string&)): | |
729 | Likewise. | |
730 | ||
5aaa2108 BK |
731 | 2003-10-09 Benjamin Kosnik <bkoz@redhat.com> |
732 | ||
733 | * config/linker-map.gnu: Make more *_type_info bits visible. | |
734 | Move new/delete bits back into GLIBCXX space. | |
735 | ||
736 | * include/bits/locale_classes.h: Move _M_id out of line, so that | |
737 | locale::id::_S_highwater can be removed from the export list. | |
738 | * src/locale.cc (locale::id::_M_id): Define. | |
739 | ||
64833be0 AT |
740 | 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch> |
741 | ||
742 | * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for | |
743 | SPARC64. | |
744 | ||
2f800bcc PC |
745 | 2003-10-09 Paolo Carlini <pcarlini@unitus.it> |
746 | ||
747 | PR libstdc++/11844 | |
748 | * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph' | |
749 | to conform to the requirements of 22.2.1. | |
750 | * config/os/bsd/freebsd/ctype_base.h: Likewise. | |
751 | * config/os/djgpp/ctype_base.h: Likewise. | |
752 | * config/os/generic/ctype_base.h: Likewise. | |
753 | * config/os/gnu-linux/ctype_base.h: Likewise. | |
754 | * config/os/hpux/ctype_base.h: Likewise. | |
755 | * config/os/irix/irix6.5/ctype_base.h: Likewise. | |
756 | * config/os/solaris/solaris2.6/ctype_base.h: Likewise. | |
757 | * config/os/solaris/solaris2.7/ctype_base.h: Likewise. | |
758 | * testsuite/22_locale/ctype/11844.cc: New. | |
759 | ||
760 | * config/locale/generic/ctype_members.cc (do_is): | |
761 | Generically, use a bitmasksize of 15 (instead of 10), since | |
762 | we don't know the numerical encoding of the various categories | |
763 | in the underlying /usr/include/ctype.h. | |
764 | ||
93d04686 BK |
765 | 2003-10-09 Benjamin Kosnik <bkoz@redhat.com> |
766 | ||
767 | * src/string-inst.cc: Prune. | |
768 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. | |
769 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
770 | ||
771 | 2003-10-09 Petur Runolfsson <peturr02@ru.is> | |
772 | ||
773 | * src/io-inst.cc: Don't include iostream. | |
774 | * include/bits/ios_base.h (ios_base::failure): Use string. | |
775 | * src/Makefile.am: Add ios_failure.cc. | |
776 | * src/Makefile.in: Regenerate. | |
777 | * src/ios.cc: Move ios_base::failure definitions to... | |
778 | * src/ios_failure.cc: ...here. New. | |
779 | ||
1a139c59 PR |
780 | 2003-10-09 Petur Runolfsson <peturr02@ru.is> |
781 | ||
782 | PR libstdc++/9874 | |
783 | * include/bits/fstream.tcc (basic_filebuf::seekoff): | |
784 | Move code needed for both seekoff and seekpos... | |
785 | (basic_filebuf::_M_seek): ...here. New function. | |
786 | (basic_filebuf::seekpos): Don't call seekoff, call _M_seek. | |
787 | * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it. | |
788 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test. | |
789 | ||
790 | * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit. | |
791 | ||
a761195b PC |
792 | 2003-10-08 Paolo Carlini <pcarlini@unitus.it> |
793 | ||
794 | * include/bits/locale_facets.tcc: More minor cosmetic | |
795 | changes and const-ifications of some variables. | |
796 | ||
905df1fb PC |
797 | 2003-10-07 Paolo Carlini <pcarlini@unitus.it> |
798 | ||
799 | * include/bits/locale_facets.tcc: Minor cosmetic changes | |
800 | and const-ifications of some variables. | |
801 | ||
802 | * include/bits/locale_facets.tcc | |
803 | (money_get::do_get(..., string_type&)): Simplify an if-else. | |
804 | ||
ba9b12d1 PC |
805 | 2003-10-06 Paolo Carlini <pcarlini@unitus.it> |
806 | ||
807 | PR libstdc++/11740 | |
808 | * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): | |
809 | Fix to actually return (M & m) != 0 as per 22.2.1.1.2. | |
810 | * config/locale/generic/ctype_members.cc: Same. | |
811 | * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New. | |
812 | ||
e4f7d0a1 PC |
813 | 2003-10-06 Paolo Carlini <pcarlini@unitus.it> |
814 | ||
815 | * include/bits/locale_facets.tcc (__pad<>::_S_pad): | |
816 | Improve performance-wise: avoid one traits::copy, avoid | |
817 | the __builtin_alloca, streamline. | |
818 | ||
5b577977 PC |
819 | 2003-10-05 Paolo Carlini <pcarlini@unitus.it> |
820 | ||
821 | * include/bits/locale_facets.tcc | |
822 | (num_put::do_put(..., bool)): Prefer ?: to if-else. | |
823 | (time_get::_M_extract_name): Qualify min with std::. | |
824 | (__pad<>::_S_pad): Constify two variables; simplify an | |
825 | if-else statement factoring out some code. | |
826 | ||
827 | * include/bits/locale_facets.tcc: Minor cosmetic changes. | |
828 | ||
dff186db PC |
829 | 2003-10-04 Paolo Carlini <pcarlini@unitus.it> |
830 | ||
831 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
832 | Constify a couple of variables. | |
833 | (num_get::do_get(..., bool&)): Constify __c; prefer *__beg, | |
834 | ++__beg to *__beg++. | |
835 | ||
2811b823 PC |
836 | 2003-10-04 Paolo Carlini <pcarlini@unitus.it> |
837 | Petur Runolfsson <peturr02@ru.is> | |
838 | ||
839 | * include/ext/stdio_sync_filebuf.h: Don't include the whole | |
840 | <fstream>, only <streambuf> and <cstdio>. | |
841 | ||
184b434c PC |
842 | 2003-10-04 Paolo Carlini <pcarlini@unitus.it> |
843 | ||
844 | PR libstdc++/12206 | |
845 | * include/bits/fstream.tcc (imbue): In case a codecvt facet | |
846 | is not available, set _M_codecvt = 0. | |
847 | * testsuite/27_io/basic_filebuf/imbue/12206.cc: New. | |
848 | ||
cafc7337 HB |
849 | 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de> |
850 | ||
851 | PR libstdc++/12451 | |
852 | * libsupc++/cxxabi.h: Move forward declaration of __class_type_info. | |
853 | ||
bb1b12ec BK |
854 | 2003-10-02 Benjamin Kosnik <bkoz@redhat.com> |
855 | ||
856 | * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add. | |
857 | * src/locale.cc: Define. | |
858 | * src/localename.cc: Use it. | |
859 | * config/locale/generic/time_members.h: Same. | |
860 | * config/locale/gnu/messages_members.h: Same. | |
861 | * config/locale/gnu/time_members.h: Same. | |
862 | ||
8dcaff28 PC |
863 | 2003-10-02 Paolo Carlini <pcarlini@unitus.it> |
864 | ||
865 | PR libstdc++/12232 | |
866 | * include/bits/fstream.tcc (seekoff): Ignore the openmode | |
867 | argument; simplify. | |
868 | * config/io/basic_file_stdio.h (__basic_file<char>::seekoff, | |
869 | seekpos): Remove the openmode argument. | |
870 | * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff, | |
871 | seekpos): Remove redundant placeholder for the openmode argument. | |
872 | * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New. | |
873 | * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak. | |
874 | * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise. | |
875 | * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise. | |
876 | * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise. | |
877 | ||
5c109a17 BK |
878 | 2003-10-02 Benjamin Kosnik <bkoz@redhat.com> |
879 | ||
880 | * src/locale.cc (locale::_S_initialize): Use __gthread_active_p. | |
881 | (locale::facet::_S_get_c_locale): Same. | |
882 | ||
8ae81136 BK |
883 | 2003-10-02 Benjamin Kosnik <bkoz@redhat.com> |
884 | ||
885 | * config/linker-map.gnu: Export _S_get_c_locale instead of | |
886 | _S_c_locale object. | |
887 | ||
888 | 2003-10-02 Petur Runolfsson <peturr02@ru.is> | |
889 | ||
890 | * config/locale/generic/c_locale.cc | |
891 | (category_names, locale::_S_categories): Const qualify. | |
892 | * config/locale/gnu/c_locale.cc: Same. | |
893 | * config/locale/generic/time_members.h (__timepunct::__timepunct): | |
894 | Copy string contents before assigning to _M_name_timepunct, | |
895 | qualify strcpy and strlen with std::. | |
896 | * config/locale/gnu/time_members.h: Same. | |
897 | * config/locale/gnu/messages_members.h (messages::messages): | |
898 | Copy string contents before assigning to _M_name_messages, | |
899 | qualify strcpy and strlen with std::. | |
900 | * config/os/gnu-linux/ctype_noninline.h | |
901 | (ctype<char>::classic_table()): Don't call locale::classic(). | |
902 | * include/bits/locale_classes.h | |
903 | (locale::_S_categories): Const qualify. | |
904 | (locale::_S_once, locale::_S_initialize_once, | |
905 | locale::facet::_S_once, locale::facet::_S_initialize_once, | |
906 | locale::facet::_S_get_c_locale): Declare. | |
907 | (locale::_S_initialize): Don't define. | |
908 | (locale::facet::_S_c_locale): Make private. | |
909 | (locale::facet::_S_c_name): Same, const qualify. | |
910 | (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused | |
911 | parameters, add throw() specifier. | |
912 | * include/bits/locale_facets.h (__timepunct::_M_name_timepunct, | |
913 | messages::_M_name_messages): Const qualify. | |
914 | * src/locale.cc | |
915 | (locale::_S_once, locale::facet::_S_once): Define. | |
916 | (locale::classic): Move initialization code... | |
917 | (locale::_S_initialize_once): ...here. | |
918 | (locale::_S_initialize): Call _S_initialize_once through | |
919 | __gthread_once. | |
920 | (locale::facet::_S_initialize_once): Initialize _S_c_locale. | |
921 | (locale::facet::_S_get_c_locale): Call _S_initialize_once through | |
922 | __gthread_once before returning _S_c_locale. | |
923 | * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)): | |
924 | Drop unused parameters, add throw() specifier, don't initialize | |
925 | locale::facet::_S_c_locale and _S_c_name. | |
926 | ||
927 | * config/locale/generic/messages_members.h: | |
928 | Replace _S_c_locale with _S_get_c_locale(). | |
929 | * config/locale/gnu/c_locale.cc: Same. | |
930 | * config/locale/gnu/messages_members.h: Same. | |
931 | * config/locale/gnu/numeric_members.cc: Same. | |
932 | * config/locale/gnu/time_members.cc: Same. | |
933 | * config/os/gnu-linux/ctype_noninline.h: Same. | |
934 | * include/bits/locale_facets.h: Same. | |
935 | * include/bits/locale_facets.tcc: Same. | |
936 | * src/codecvt.cc: Same. | |
937 | * src/ctype.cc: Same. | |
938 | ||
4a035cf7 CW |
939 | 2003-10-02 Carlo Wood <carlo@alinoe.com> |
940 | ||
941 | * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)): | |
942 | Decode symbols that start with _GLOBAL_[ID]_ differently: the | |
943 | trailing part ends with a terminating zero and is not necessarily an | |
944 | encoding. | |
945 | * src/demangle.cc (): Same. | |
946 | * testsuite/demangle/regression/cw-13.cc: Adjust for new output. | |
947 | ||
86b4ab73 PC |
948 | 2003-10-02 Paolo Carlini <pcarlini@unitus.it> |
949 | ||
950 | * testsuite/22_locale/locale/cons/12438.cc: Use | |
951 | __gnu_test::try_named_locale(""). | |
952 | ||
222a5b1d RO |
953 | 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
954 | ||
955 | * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define. | |
956 | (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48 | |
957 | instead of drand48. | |
958 | * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48. | |
959 | * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of | |
960 | HAVE_DRAND48. | |
961 | * config.h.in, configure: Regenerate. | |
962 | * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard | |
963 | lrand48 use. | |
964 | ||
e39dd1ce NM |
965 | 2003-10-01 Nathan Myers <ncm@cantrip.org> |
966 | ||
967 | * include/bits/locale_facets.tcc (time_put::put): Avoid | |
968 | expensive *__s++, in favor of *__s, ++__s. | |
969 | ||
530ce551 PC |
970 | 2003-10-01 Paolo Carlini <pcarlini@unitus.it> |
971 | ||
972 | * include/bits/locale_facets.tcc (time_put::put): Minor | |
973 | tweak to the previous commit. | |
974 | ||
52a16d08 PC |
975 | 2003-10-01 Paolo Carlini <pcarlini@unitus.it> |
976 | ||
977 | PR libstdc++/12439 | |
978 | * include/bits/locale_facets.tcc (time_put::put): Deal | |
979 | with the three issues pointed out by the PR. | |
980 | * testsuite/22_locale/time_put/put/char/12439_1.cc: New. | |
981 | * testsuite/22_locale/time_put/put/char/12439_3.cc: New. | |
982 | * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New. | |
983 | * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New. | |
984 | * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New. | |
985 | ||
ae7c3ba5 PC |
986 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
987 | ||
988 | * include/bits/stl_algo.h: Minor cosmetic reformattings. | |
989 | ||
cbc6c296 PC |
990 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
991 | ||
992 | * include/bits/stl_algo.h (search_n): Tweak, to spare the | |
993 | first --__n. | |
994 | ||
2ea247d3 PC |
995 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
996 | ||
997 | * testsuite/22_locale/locale/cons/12352.cc: Explicitly | |
998 | qualify exception name. | |
999 | ||
155f6fbb PC |
1000 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
1001 | ||
1002 | PR libstdc++/12438 | |
1003 | * include/bits/locale_facets.tcc (locale::combine): Don't | |
1004 | leak memory if _M_replace_facet throws. | |
1005 | * testsuite/22_locale/locale/cons/12438.cc: New, from the PR. | |
1006 | ||
1007 | * include/bits/locale_classes.h (locale::locale(const locale&, | |
1008 | _Facet*)): Tweak, use consistently _M_remove_reference. | |
1009 | ||
70863cbd PC |
1010 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
1011 | ||
1012 | PR libstdc++/12352 (cont) | |
1013 | * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)): | |
1014 | Don't leak __cloc; don't leak if any of the _M_init_facet(...) | |
1015 | calls fail. | |
1016 | (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak. | |
1017 | (locale::_Impl::~_Impl): Don't do anything if !_M_facets, | |
1018 | !_M_caches, !_M_names. | |
1019 | ||
51ac684e RO |
1020 | 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1021 | ||
1022 | * configure.host: Handle Solaris 2.5 micro releases explicitly. | |
1023 | Remove wildcards from Solaris 2.6, 7-9: there were no | |
1024 | micro releases. | |
1025 | Treat Solaris 10 and up like 7-9. | |
1026 | ||
6821a40b PC |
1027 | 2003-09-29 Paolo Carlini <pcarlini@unitus.it> |
1028 | ||
1029 | * include/bits/stl_algo.h (search_n): Improve the previous | |
1030 | fix as suggested by Martin. | |
1031 | ||
e5012ba5 PC |
1032 | 2003-09-29 Paolo Carlini <pcarlini@unitus.it> |
1033 | ||
1034 | PR libstdc++/12296 | |
1035 | * include/bits/istream.tcc (peek): Set eofbit if sgetc | |
1036 | returns eof. | |
1037 | * testsuite/27_io/basic_istream/peek/char/12296.cc: | |
1038 | New, from the PR. | |
1039 | ||
1040 | 2003-09-29 Nathan Myers <ncm@cantrip.org> | |
1041 | Paolo Carlini <pcarlini@unitus.it> | |
1042 | ||
1043 | PR libstdc++/11400 | |
1044 | * include/bits/stl_algo.h (search_n): | |
1045 | Use iterator_traits<>::difference_type for __n. | |
1046 | * testsuite/25_algorithms/search_n/11400.cc: New, from the PR. | |
1047 | ||
6cd6aed7 PC |
1048 | 2003-09-29 Paolo Carlini <pcarlini@unitus.it> |
1049 | ||
1050 | * testsuite/22_locale/locale/cons/12352.cc: | |
1051 | Use __attribute__((unused)) for test. | |
1052 | ||
33b16690 UW |
1053 | 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com> |
1054 | ||
1055 | * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either | |
1056 | "Son" or "So" as abbreviated name for Sunday in de_DE locale. | |
1057 | * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise. | |
1058 | ||
2d07c3f5 BS |
1059 | 2003-09-26 Brad Spencer <spencer@infointeractive.com> |
1060 | ||
1061 | * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: | |
1062 | Explicitly qualify exceptions. | |
1063 | * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same. | |
1064 | * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same. | |
1065 | * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. | |
1066 | * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same. | |
1067 | ||
91675f9d PC |
1068 | 2003-09-25 Paolo Carlini <pcarlini@unitus.it> |
1069 | ||
1070 | PR libstdc++/12352 | |
1071 | * src/localename.cc (locale::_Impl::_Impl(const _Impl&, | |
1072 | size_t)): Don't leak if memory allocations for _M_facets, | |
1073 | _M_caches, and _M_names fail. | |
1074 | (locale::_Impl::_Impl(const char*, size_t)): Ditto. | |
1075 | (locale::_Impl::_M_replace_categories(const _Impl*, | |
1076 | category)): Ditto. | |
1077 | (locale::_Impl::_M_install_facet(const locale::id*, | |
1078 | const facet*)): Ditto. | |
1079 | * include/bits/locale_classes.h (locale::locale(const locale&, | |
1080 | _Facet*)): Don't leak memory. | |
1081 | * testsuite/22_locale/locale/cons/12352.cc: New, from the PR. | |
1082 | ||
1083 | * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, | |
1084 | bool)): Qualify with std:: strcpy, tweak. | |
1085 | * include/bits/locale_classes.h | |
1086 | (locale::_Impl::_M_check_same_name): Qualify strcmp. | |
1087 | ||
2b1be54b BS |
1088 | 2003-09-25 Brad Spencer <spencer@infointeractive.com> |
1089 | ||
1090 | PR libstdc++/6072 | |
775ee48e BK |
1091 | * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf, |
1092 | wcstof, iswblank. | |
2b1be54b BS |
1093 | * aclocal.m4: Regenerate. |
1094 | * config.h.in: Regenerate. | |
1095 | * configure: Regenerate. | |
1096 | * crossconfig.m4: Add in wchar_t bits for solaris crosses. | |
1097 | * config/io/basic_file_stdio.cc: Guard unistd.h. | |
1098 | * include/c_compatibility/wchar.h: Guard extra wchar_t functionality. | |
1099 | * include/c_std/std_cwchar.h: Same. | |
1100 | * include/c_std/std_cwctype.h: Same. | |
1101 | ||
465ad0c7 BK |
1102 | 2003-09-25 Benjamin Kosnik <bkoz@redhat.com> |
1103 | ||
775ee48e | 1104 | PR libstdc++/11065 |
465ad0c7 BK |
1105 | * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix. |
1106 | * config/locale/generic/ctype_members.cc: Same. | |
1107 | * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask. | |
1108 | * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same. | |
1109 | ||
1110 | * config/os/generic/ctype_inline.h: Update. | |
1111 | ||
7b865c36 UW |
1112 | 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com> |
1113 | ||
1114 | * src/Makefile.am (version_dep): New variable. | |
1115 | (libstdc___la_DEPENDENCIES): Use it to add dependency on | |
1116 | libstdc++-symbol.ver only when using symbol versioning. | |
1117 | * src/Makefile.in: Regenerate. | |
1118 | ||
11f10e6b BK |
1119 | 2003-09-23 Benjamin Kosnik <bkoz@redhat.com> |
1120 | ||
1121 | * include/bits/locale_facets.tcc: Tweak to avoid warnings. | |
1122 | * testsuite/testsuite_hooks.h: Same. | |
1123 | * testsuite/*/*.cc: Same. | |
1124 | ||
89ec0c4b PR |
1125 | 2003-09-22 Petur Runolfsson <peturr02@ru.is> |
1126 | ||
1127 | * include/bits/istream.tcc (basic_istream::read, | |
1128 | basic_istream::readsome, basic_istream::putback, | |
1129 | basic_istream::unget, operator>>(basic_istream, CharT)): | |
1130 | Avoid redundant setstate(failbit) calls when sentry::operator bool() | |
1131 | returns false. | |
1132 | ||
dc25fbc7 CW |
1133 | 2003-09-22 Carlo Wood <carlo@alinoe.com> |
1134 | ||
1135 | PR libstdc++/12365 | |
1136 | * include/bits/demangle.h (qualifier(int, cv_qualifier_nt, | |
1137 | char const*, int, int)): Remove unused identifier | |
1138 | cv_qualifier for overloaded constructor. | |
1139 | ||
b2bc3339 BK |
1140 | 2003-09-18 Benjamin Kosnik <bkoz@redhat.com> |
1141 | ||
1142 | PR libstdc++/11504 | |
1143 | * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to | |
1144 | WARN_FLAGS, remove -Wno-format. | |
1145 | * aclocal.m4: Regenerate. | |
1146 | * configure: Regenerate. | |
1147 | ||
0b5ce4f1 PR |
1148 | 2003-09-18 Petur Runolfsson <peturr02@ru.is> |
1149 | ||
1150 | * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. | |
1151 | * config/io/basic_file_stdio.h: Same. | |
1152 | * include/std/std_fstream.h (__ctype_type): Delete. | |
1153 | * include/std/std_streambuf.h (__ctype_type, __state_type): Delete. | |
1154 | ||
43892f8c BK |
1155 | 2003-09-17 Benjamin Kosnik <bkoz@redhat.com> |
1156 | ||
1157 | PR libstdc++/12239 | |
1158 | * configure.host (abi_baseline_pair): Error out on solaris2 | |
1159 | configurations without a minor version number. | |
1160 | ||
4bc8ae23 PE |
1161 | 2003-09-13 Phil Edwards <phil@codesourcery.com> |
1162 | ||
1163 | * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely | |
1164 | if man pages are on. | |
1165 | * docs/doxygen/user.cfg.in: And here. | |
1166 | ||
dbc66058 DJ |
1167 | 2003-09-10 Daniel Jacobowitz <drow@mvista.com> |
1168 | Andreas Jaeger <aj@suse.de> | |
1169 | ||
1170 | PR libstdc++/12189 | |
1171 | * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build | |
1172 | abi_check if cross compiling. | |
1173 | * aclocal.m4: Regenerated. | |
1174 | * configure: Regenerated. | |
1175 | ||
520abf69 JO |
1176 | 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com> |
1177 | ||
1178 | * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns | |
1179 | NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05. | |
1180 | (__cxa_vec_new3): Likewise. | |
1181 | ||
8c8dec01 PR |
1182 | 2003-09-10 Petur Runolfsson <peturr02@ru.is> |
1183 | ||
1184 | * include/bits/fstream.tcc (basic_filebuf::seekoff): | |
1185 | Use codecvt::length to handle variable-width stateless encodings | |
1186 | correctly. | |
1187 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test. | |
1188 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test. | |
1189 | ||
80e46d77 AM |
1190 | 2003-09-10 Alan Modra <amodra@bigpond.net.au> |
1191 | ||
1192 | * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode | |
1193 | rather than or'ing. | |
1194 | ||
e517f636 AM |
1195 | 2003-09-09 Alan Modra <amodra@bigpond.net.au> |
1196 | ||
1197 | * configure: Regenerate. | |
1198 | ||
263594d2 DE |
1199 | 2003-09-09 David Edelsohn <edelsohn@gnu.org> |
1200 | ||
1201 | * src/ios.cc (ios_base::Init::Init): Remove unnecessary | |
1202 | qualifier from _S_synced_with_stdio. | |
1203 | ||
1204 | 2003-09-09 Bernardo Innocenti <bernie@develer.com> | |
e7f115de BI |
1205 | |
1206 | * include/c_std/std_cstdlib.h: Avoid using missing C library symbols. | |
1207 | ||
f1813b69 PR |
1208 | 2003-09-04 Petur Runolfsson <peturr02@ru.is> |
1209 | ||
1210 | PR libstdc++/9028 | |
1211 | * include/bits/fstream.tcc | |
1212 | (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf. | |
1213 | (basic_filebuf::basic_filebuf): Initialize _M_ext_buf, | |
1214 | _M_ext_buf_size, _M_ext_next and _M_ext_end. | |
1215 | (basic_filebuf::underflow): Handle variable-width stateless | |
1216 | encodings (codecvt::encoding() == 0), including UTF-8. | |
1217 | * include/std/std_fstream.h (basic_filebuf): | |
1218 | Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end. | |
1219 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test. | |
1220 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test. | |
1221 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test. | |
1222 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test. | |
1223 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test. | |
1224 | * testsuite/27_io/objects/wchar_t/12.cc: New test. | |
1225 | * testsuite/27_io/objects/wchar_t/13.cc: New test. | |
1226 | ||
7976070c JW |
1227 | 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org> |
1228 | ||
1229 | * docs/html/faq/index.html: Note that a namespace alias can't be | |
1230 | used when specialising templates in extension namespace. | |
1231 | * docs/html/faq/index.txt: Regenerate. | |
1232 | ||
149639d4 PR |
1233 | 2003-09-03 Petur Runolfsson <peturr02@ru.is> |
1234 | ||
1235 | PR libstdc++/12048 | |
1236 | * include/ext/stdio_sync_filebuf.h | |
1237 | (stdio_sync_filebuf::_M_unget_buf): Declare it. | |
1238 | (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf. | |
1239 | (stdio_sync_filebuf::uflow): Store the returned character in | |
1240 | _M_unget_buf. | |
1241 | (stdio_sync_filebuf::pbackfail): If argument is eof(), pass | |
1242 | _M_unget_buf to syncungetc(). Set _M_unget_buf to eof(). | |
1243 | (stdio_sync_filebuf<char>::xsgetn): Store last read character in | |
1244 | _M_unget_buf, if any, else eof(). | |
1245 | (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in | |
1246 | _M_unget_buf, if any, else eof(). | |
1247 | * testsuite/27_io/objects/char/12048.cc: Rename to... | |
1248 | * testsuite/27_io/objects/char/12048-1.cc: ...this. | |
1249 | * testsuite/27_io/objects/char/12048-2.cc: New test. | |
1250 | * testsuite/27_io/objects/char/12048-3.cc: New test. | |
1251 | * testsuite/27_io/objects/char/12048-4.cc: New test. | |
1252 | * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL. | |
1253 | * testsuite/27_io/objects/wchar_t/12048-1.cc: New test. | |
1254 | * testsuite/27_io/objects/wchar_t/12048-2.cc: New test. | |
1255 | * testsuite/27_io/objects/wchar_t/12048-3.cc: New test. | |
1256 | * testsuite/27_io/objects/wchar_t/12048-4.cc: New test. | |
1257 | * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL. | |
1258 | * testsuite/ext/stdio_sync_filebuf_char.cc | |
1259 | (test02, test03, test04, test05): New tests. | |
1260 | * testsuite/ext/stdio_sync_filebuf_wchar_t.cc | |
1261 | (test02, test03, test04, test05): New tests. | |
1262 | ||
1263 | 2003-09-03 Petur Runolfsson <peturr02@ru.is> | |
1264 | ||
1265 | * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on | |
1266 | stringbuf or strstreambuf. Fix typos. | |
1267 | ||
3660e02f PE |
1268 | 2003-09-02 Phil Edwards <phil@codesourcery.com> |
1269 | ||
1270 | * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED | |
1271 | appropriately. | |
1272 | * config.h.in: Add _GLIBCXX_HOSTED. | |
1273 | * libsupc++/eh_term_handler.cc: Test it here; initialize | |
1274 | __terminate_handler to std::abort if freestanding. | |
1275 | * aclocal.m4, configure: Regenerated. | |
1276 | * docs/html/configopts.html: Document --disable-hosted-libstdcxx. | |
1277 | ||
a3aff86a NM |
1278 | 2003-08-29 Nathan Myers <ncm@cantrip.org> |
1279 | ||
1280 | PR libstdc++/11990 | |
1281 | * include/bits/locale_facets.tcc (__pad): delete dead code. | |
1282 | ||
f5cf58dd AM |
1283 | 2003-08-28 Alan Modra <amodra@bigpond.net.au> |
1284 | ||
1285 | * configure.ac: Test $with_cross_host against $build_alias, not $build. | |
1286 | * configure: Regenerate. | |
1287 | ||
3bedd161 PR |
1288 | 2003-08-27 Petur Runolfsson <peturr02@ru.is> |
1289 | ||
1290 | * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff... | |
1291 | * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file. | |
1292 | ||
ca618b60 PE |
1293 | 2003-08-27 Phil Edwards <pme@gcc.gnu.org> |
1294 | ||
1295 | * Makefile.am: Remove trailing whitespace. Remove needless | |
1296 | "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo). | |
1297 | * include/Makefile.am: Likewise. | |
1298 | * libmath/Makefile.am: Likewise. | |
1299 | * libsupc++/Makefile.am: Likewise. | |
1300 | * po/Makefile.am: Likewise. | |
1301 | * src/Makefile.am: Likewise. | |
1302 | * testsuite/Makefile.am: Likewise. | |
1303 | ||
1304 | * Makefile.in, include/Makefile.in, libmath/Makefile.in, | |
1305 | libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, | |
1306 | testsuite/Makefile.in: Regenerated. | |
1307 | ||
37e0ff11 PE |
1308 | 2003-08-27 Phil Edwards <pme@gcc.gnu.org> |
1309 | ||
1310 | * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of | |
1311 | includedir. | |
1312 | * aclocal.m4, configure: Regenerate. | |
1313 | ||
72730fdb DJ |
1314 | 2003-08-27 Daniel Jacobowitz <drow@mvista.com> |
1315 | ||
1316 | * acinclude.m4: Include no-executables.m4. | |
1317 | * configure.ac: Uncomment GCC_NO_EXECUTABLES. | |
1318 | * aclocal.m4: Regenerated. | |
1319 | * configure: Regenerated. | |
1320 | ||
ec0d7421 DJ |
1321 | 2003-08-27 Daniel Jacobowitz <drow@mvista.com> |
1322 | ||
1323 | * acinclude.m4: Don't call AC_ISC_POSIX. | |
1324 | * aclocal.m4: Regenerated. | |
1325 | * configure: Regenerated. | |
1326 | ||
92eabea2 PE |
1327 | 2003-08-27 Phil Edwards <pme@gcc.gnu.org> |
1328 | ||
1329 | * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap | |
1330 | AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one. | |
1331 | (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted, | |
1332 | used elsewhere in this file. | |
1333 | (GLIBCXX_EVALUATE_CONDITIONALS): New macro... | |
1334 | * configure.ac: ...called here to expand all conditionals. | |
1335 | * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED. | |
1336 | * include/Makefile.am: Remove redundant gxx_include_dir assignment. | |
1337 | (install-freestanding-headers): New target, a subset of | |
1338 | install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED. | |
1339 | ||
1340 | * aclocal.m4, configure, Makefile.in, include/Makefile.in, | |
1341 | libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, | |
1342 | src/Makefile.in, testsuite/Makefile.in: Regenerated. | |
1343 | ||
a43d13fb PE |
1344 | 2003-08-26 Phil Edwards <pme@gcc.gnu.org> |
1345 | ||
1346 | * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local | |
1347 | pathnames from generated tag file. | |
1348 | ||
82ba99d5 PE |
1349 | 2003-08-26 Phil Edwards <pme@gcc.gnu.org> |
1350 | ||
1351 | * Makefile.am: Add comment. | |
1352 | * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and | |
1353 | SUBDIRS variables. | |
1354 | * configure.ac: Use them both here, instead of hardcoded lists. | |
1355 | ||
1356 | * fragment.am: Add STAMP varaible. | |
1357 | * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S) | |
1358 | instead of @LN_S@. | |
1359 | (stamp-*): Move file creation rule outside of 'if' branches to | |
1360 | ensure the stamp-* files are actually updated. Use $(STAMP). | |
1361 | * src/Makefile.am: Remove now-nonexistant variable. | |
1362 | * libsupc++/Makefile.am: Likewise. Snap the assignment chain | |
1363 | for -prefer-pic. | |
1364 | * po/Makefile.am: Include same fragment as all the others. | |
1365 | ||
1366 | * aclocal.m4, configure, Makefile.in, include/Makefile.in, | |
1367 | libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated. | |
1368 | ||
73780bfe LR |
1369 | 2003-08-26 Loren J. Rittle <ljrittle@acm.org> |
1370 | ||
1371 | * testsuite/data/cin_unget-1.txt: New. | |
1372 | * testsuite/27_io/objects/char/12048.cc: New. | |
1373 | ||
7e2055ec ZW |
1374 | 2003-08-25 Zack Weinberg <zack@codesourcery.com> |
1375 | ||
1376 | * config/os/hpux/os_defines.h: Unconditionally define | |
1377 | _GLIBCXX_GTHREAD_USE_WEAK to 0. | |
1378 | ||
a6f3e253 GK |
1379 | 2003-08-19 Geoffrey Keating <geoffk@apple.com> |
1380 | ||
1381 | * crossconfig.m4 (*-darwin*): Add a large and boring stanza for | |
1382 | crosses to Darwin targets. | |
1383 | * configure: Regenerate. | |
1384 | ||
1b391ba9 PR |
1385 | 2003-08-19 Petur Runolfsson <peturr02@ru.is> |
1386 | ||
7e2055ec ZW |
1387 | * include/ext/ropeimpl.h: #include <ostream> instead of <iostream> |
1388 | ||
77e862fa PE |
1389 | 2003-08-17 Phil Edwards <pme@gcc.gnu.org> |
1390 | ||
1391 | * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented | |
1392 | in the patch from 3 minutes ago. Boy, is my face red. | |
1393 | * configure: At least I remembered to regenerate this. | |
1394 | ||
0df3f383 PE |
1395 | 2003-08-17 Phil Edwards <pme@gcc.gnu.org> |
1396 | ||
1397 | * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES | |
1398 | and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to | |
1399 | things from the top level. | |
1400 | * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order. | |
1401 | Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH | |
1402 | (currently unused). Strip the fake-VPATH shell fragment from | |
1403 | automake-generated rules, if present. | |
1404 | * linkage.m4: Add comment. | |
1405 | ||
1406 | * fragment.am: New file, containing factored-out common settings. | |
1407 | (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents. | |
1408 | * Makefile.am: Include fragment.am. Remove common variables. | |
1409 | * include/Makefile.am: Likewise. | |
1410 | * libmath/Makefile.am: Likewise. | |
1411 | * libsupc++/Makefile.am: Likewise. | |
1412 | * po/Makefile.am: Likewise. Print rules during check. | |
1413 | * src/Makefile.am: Likewise. | |
1414 | * testsuite/Makefile.am: Likewise. | |
1415 | ||
1416 | * aclocal.m4, configure, Makefile.in, include/Makefile.in, | |
1417 | libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, | |
1418 | src/Makefile.in, testsuite/Makefile.in: Regenerate. | |
1419 | ||
e885821f JL |
1420 | 2003-08-11 John Levon <levon@movementarian.org> |
1421 | ||
1422 | * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update | |
1423 | remaining places for the name change from GLIBCPP_FORCE_NEW | |
1424 | to GLIBCXX_FORCE_NEW | |
1425 | ||
2803847d BK |
1426 | 2003-08-11 Benjamin Kosnik <bkoz@redhat.com> |
1427 | ||
1428 | * include/bits/basic_ios.h: Remove *_iter typedefs, change num* | |
7e2055ec | 1429 | typedefs to num_*. |
2803847d BK |
1430 | * include/bits/basic_ios.tcc: Same. |
1431 | * include/bits/istream.tcc: Same. | |
1432 | * include/bits/locale_facets.h: Same. | |
1433 | * include/bits/ostream.tcc: Same. | |
1434 | * include/std/std_istream.h: Same. | |
1435 | * include/std/std_ostream.h: Same. | |
1436 | * testsuite/26_numerics/complex_inserters_extractors.cc: Fix. | |
1437 | ||
1438 | * include/ext/rope: Remove build warning. | |
7e2055ec | 1439 | |
51c1f3c9 AJ |
1440 | 2003-08-11 Andreas Jaeger <aj@suse.de> |
1441 | ||
1442 | * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits | |
1443 | to make SMP-safe. | |
1444 | * include/Makefile.in: Regenerated. | |
1445 | ||
f6dda651 PE |
1446 | 2003-08-11 Phil Edwards <pme@gcc.gnu.org> |
1447 | ||
1448 | * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS | |
1449 | when calling AC_PROG_CC. | |
1450 | * aclocal.m4, configure: Regenerate. | |
1451 | ||
fbe057bb PE |
1452 | 2003-08-11 Phil Edwards <pme@gcc.gnu.org> |
1453 | ||
1454 | * acinclude.m4: Properly quote variable which will be expanded | |
1455 | inside makefiles. Use CXX instead of CC to extract compiler info. | |
1456 | * configure.ac (AC_INIT): Use the new 4-arg form to finally get the | |
1457 | correct form in PACKAGE. | |
1458 | * aclocal.m4, configure: Regenerate. | |
1459 | ||
258e7dbc BK |
1460 | 2003-08-08 Benjamin Kosnik <bkoz@redhat.com> |
1461 | ||
1462 | * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++. | |
1463 | (check-abi-verbose): Same. | |
1464 | * testsuite/testsuite_performance.h (report_performance): Same. | |
7e2055ec | 1465 | |
3e083bea LR |
1466 | 2003-08-08 Loren J. Rittle <ljrittle@acm.org> |
1467 | ||
1468 | * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo. | |
1469 | ||
5a9ed693 DG |
1470 | 2003-08-07 Doug Gregor <dgregor@apple.com> |
1471 | ||
7e2055ec ZW |
1472 | * include/bits/char_traits.h (char_traits::not_eof): Match operand |
1473 | types in ? :. | |
5a9ed693 | 1474 | |
4e9ebd4b BI |
1475 | 2003-08-07 Bernardo Innocenti <bernie@develer.com> |
1476 | ||
1477 | PR libstdc++/11784 | |
1478 | * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add): | |
1479 | Replace variants with new BSET-based version. | |
7e2055ec | 1480 | |
a9ebaa2b CW |
1481 | 2003-08-07 Carlo Wood <carlo@alinoe.com> |
1482 | ||
0df3f383 | 1483 | * include/bits/demangle.h: Do not use cctype functions that depend |
a9ebaa2b | 1484 | on locale. |
7e2055ec | 1485 | |
8b171e55 PE |
1486 | 2003-08-05 Phil Edwards <pme@gcc.gnu.org> |
1487 | ||
1488 | * configure.in: Rename... | |
1489 | * configure.ac: ...to this. | |
1490 | * docs/html/17_intro/porting.texi: Update name. | |
1491 | ||
1492 | * docs/html/17_intro/porting.html: Regenerate. | |
1493 | * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in, | |
1494 | libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, | |
1495 | testsuite/Makefile.in: Regenerate (picks up new dependancy). | |
1496 | ||
1260d70f PE |
1497 | 2003-08-05 Phil Edwards <pme@gcc.gnu.org> |
1498 | ||
1499 | * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack | |
1500 | pipe, open the window to let out the fumes, redo the option-handling | |
1501 | logic to properly execute the detection test. | |
1502 | * aclocal.m4, configure: Regenerate. | |
1503 | ||
ff66d28f PE |
1504 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
1505 | ||
1506 | Convert to new autotools. | |
1507 | * acconfig.h: Update with correct names. | |
1508 | * configure.host (ATOMICITYH): Rename to atomicity_include_dir. | |
1509 | (qnx6.[12]*): 'q' comes before 's', not after 'w'. | |
1510 | * configure.in: Update. Split hardcoded cross-configury settings | |
1511 | out to... | |
1512 | * crossconfig.m4: ...here. New file. Contents untouched. | |
1513 | * acinclude.m4: Reorganize and rewrite as needed. Split large | |
1514 | chunks out to... | |
1515 | * linkage.m4: ...here. New file. Math and stdlib linkage tests. | |
1516 | Contents untouched. | |
1517 | * scripts/testsuite_flags.in: Update. | |
1518 | ||
1519 | * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other | |
1520 | variables (already generated by automake). | |
1521 | * include/Makefile.am: Ditto. | |
1522 | * libmath/Makefile.am: Ditto. | |
1523 | * libsupc++/Makefile.am: Ditto. | |
1524 | * po/Makefile.am: Ditto. | |
1525 | * src/Makefile.am: Ditto. | |
1526 | ||
1527 | * aclocal.m4: Regenerate using new versions. | |
1528 | * config.h.in: Ditto. | |
1529 | * configure: Ditto. | |
1530 | * Makefile.in: Ditto. | |
1531 | * include/Makefile.in: Ditto. | |
1532 | * libmath/Makefile.in: Ditto. | |
1533 | * libsupc++/Makefile.in: Ditto. | |
1534 | * po/Makefile.in: Ditto. | |
1535 | * src/Makefile.in: Ditto. | |
1536 | * testsuite/Makefile.in: Ditto. | |
1537 | ||
5e7c251d PE |
1538 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
1539 | ||
1540 | * po/libstdc++.pot: Re-extract/regenerate. | |
1541 | ||
caf21254 PE |
1542 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
1543 | ||
1544 | * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS): | |
1545 | Remove unneeded variable assignments. Leave them for automake. | |
1546 | * testsuite/lib/libstdc++-v3.exp: Rename... | |
1547 | * testsuite/lib/libstdc++.exp: ...to this. Adjust function names | |
1548 | accordingly. | |
1549 | * testsuite/libstdc++-v3.dg/dg.exp: Rename... | |
1550 | * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function | |
1551 | names accordingly. | |
1552 | ||
f7ab5fa4 PE |
1553 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
1554 | ||
1555 | * docs/doxygen/guide.html: run_doxygen uses bash. | |
1556 | * docs/doxygen/mainpage.html: We'll be shipping tag files. | |
1557 | * docs/doxygen/run_doxygen: Tweaks and improvements. | |
1558 | * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE. | |
1559 | * docs/html/install.html: Update autoconf/automake requirements. | |
1560 | * docs/html/test.html: Add section describing DejaGNU support. | |
1561 | * docs/html/17_intro/confdeps.dot: New file, generates... | |
1562 | * docs/html/17_intro/confdeps.png: ...this new file. | |
1563 | * docs/html/Makefile: Generated here. | |
1564 | * docs/html/17_intro/configury.html: New file. | |
1565 | ||
b3f2a032 PE |
1566 | 2003-07-31 Phil Edwards <pme@gcc.gnu.org> |
1567 | ||
1568 | * testsuite/lib/libstdc++-v3-dg.exp: Rename... | |
1569 | * testsuite/lib/libstdc++-v3.exp: ...to this. | |
1570 | * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now. | |
1571 | ||
e64a227a DG |
1572 | 2003-07-31 Doug Gregor <dgregor@apple.com> |
1573 | ||
1574 | Add user specialization tests. | |
1575 | * testsuite/23_containers/deque/1.cc: New. | |
1576 | * testsuite/23_containers/list/1.cc: New. | |
1577 | * testsuite/23_containers/map/1.cc: New. | |
1578 | * testsuite/23_containers/multimap/1.cc: New. | |
1579 | * testsuite/23_containers/multiset/1.cc: New. | |
1580 | * testsuite/23_containers/set/1.cc: New. | |
1581 | * testsuite/23_containers/vector/1.cc: New. | |
7e2055ec | 1582 | |
17472bb6 BK |
1583 | 2003-07-31 Benjamin Kosnik <bkoz@redhat.com> |
1584 | ||
1585 | Reshuffle 23_containers testsuite. | |
7e2055ec | 1586 | * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc, |
17472bb6 BK |
1587 | bitset_shift.cc, deque_ctor.cc, deque_operators.cc, |
1588 | list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc, | |
1589 | map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc, | |
1590 | set_operators_neg.cc, vector_bool.cc, vector_capacity.cc, | |
1591 | vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc, | |
1592 | vector_resize.cc: Split into... | |
1593 | * 23_containers/bitset/cons/1.cc: New. | |
1594 | * 23_containers/bitset/cons/6282.cc: New. | |
1595 | * 23_containers/bitset/count/6124.cc: New. | |
1596 | * 23_containers/bitset/operations/1.cc: New. | |
1597 | * 23_containers/bitset/operations/2.cc: New. | |
1598 | * 23_containers/bitset/test/1.cc: New. | |
1599 | * 23_containers/bitset/to_ulong/1.cc: New. | |
1600 | * 23_containers/deque/cons/1.cc: New. | |
1601 | * 23_containers/deque/cons/2.cc: New. | |
1602 | * 23_containers/deque/operators/1.cc: New. | |
1603 | * 23_containers/list/capacity/1.cc: New. | |
1604 | * 23_containers/list/cons/1.cc: New. | |
1605 | * 23_containers/list/cons/2.cc: New. | |
1606 | * 23_containers/list/cons/3.cc: New. | |
1607 | * 23_containers/list/cons/4.cc: New. | |
1608 | * 23_containers/list/cons/5.cc: New. | |
1609 | * 23_containers/list/cons/6.cc: New. | |
1610 | * 23_containers/list/cons/7.cc: New. | |
1611 | * 23_containers/list/cons/8.cc: New. | |
1612 | * 23_containers/list/cons/9.cc: New. | |
1613 | * 23_containers/list/modifiers/1.cc: New. | |
1614 | * 23_containers/list/modifiers/2.cc: New. | |
1615 | * 23_containers/list/modifiers/3.cc: New. | |
1616 | * 23_containers/list/operators/1.cc: New. | |
1617 | * 23_containers/list/operators/2.cc: New. | |
1618 | * 23_containers/list/operators/3.cc: New. | |
1619 | * 23_containers/list/operators/4.cc: New. | |
1620 | * 23_containers/map/insert/1.cc: New. | |
1621 | * 23_containers/map/operators/1.cc: New. | |
1622 | * 23_containers/map/operators/1_neg.cc: New. | |
1623 | * 23_containers/multiset/insert/1.cc: New. | |
1624 | * 23_containers/priority_queue/members/7161.cc: New. | |
1625 | * 23_containers/queue/members/7157.cc: New. | |
1626 | * 23_containers/set/operators/1_neg.cc: New. | |
1627 | * 23_containers/stack/members/7158.cc: New. | |
1628 | * 23_containers/vector/bool/1.cc: New. | |
1629 | * 23_containers/vector/bool/6886.cc: New. | |
1630 | * 23_containers/vector/capacity/1.cc: New. | |
1631 | * 23_containers/vector/capacity/2.cc: New. | |
1632 | * 23_containers/vector/capacity/8230.cc: New. | |
1633 | * 23_containers/vector/cons/1.cc: New. | |
1634 | * 23_containers/vector/cons/2.cc: New. | |
1635 | * 23_containers/vector/cons/3.cc: New. | |
1636 | * 23_containers/vector/cons/4.cc: New. | |
1637 | * 23_containers/vector/cons/6513.cc: New. | |
1638 | * 23_containers/vector/element_access/1.cc: New. | |
1639 | * 23_containers/vector/modifiers/1.cc: New. | |
1640 | * 23_containers/vector/modifiers/2.cc: New. | |
1641 | * 23_containers/vector/resize/1.cc: New. | |
7e2055ec | 1642 | |
515aab7c RO |
1643 | 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1644 | ||
1645 | * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run, | |
1646 | dg-options. | |
1647 | * testsuite/thread/pthread2.cc: Likewise. | |
1648 | * testsuite/thread/pthread3.cc: Likewise. | |
1649 | * testsuite/thread/pthread4.cc: Likewise. | |
1650 | * testsuite/thread/pthread5.cc: Likewise. | |
1651 | * testsuite/thread/pthread6.cc: Likewise. | |
1652 | * testsuite/thread/pthread7-rope.cc: Likewise. | |
1653 | ||
1051c718 PE |
1654 | 2003-07-30 Phil Edwards <pme@gcc.gnu.org> |
1655 | ||
1656 | * include/bits/c++config: Partial reversion (comment placement) of | |
1657 | previous patch. | |
1658 | ||
5f697f7a BK |
1659 | 2003-07-30 Benjamin Kosnik <bkoz@redhat.com> |
1660 | ||
1661 | * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove. | |
1662 | (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE. | |
1663 | (_GLIBCXX_AT_AT): Remove. | |
1664 | (__USE_MALLOC): Remove. | |
1665 | * include/std/std_fstream.h: Modify. | |
1666 | * include/bits/basic_ios.h: Same. | |
1667 | * include/bits/valarray_array.h: Same. | |
1668 | * include/c_std/std_cmath.h: Same. | |
1669 | * include/c_std/cmath.tcc: Same. | |
1670 | * include/std/std_vector.h: Same. | |
1671 | * include/std/std_string.h: Same. | |
1672 | * include/std/std_stack.h: Same. | |
1673 | * include/std/std_queue.h: Same. | |
1674 | * include/std/std_list.h: Same. | |
1675 | * include/std/std_deque.h: Same. | |
1676 | * include/std/std_streambuf.h: Same. | |
1677 | * include/std/std_sstream.h: Same. | |
1678 | * include/std/std_ostream.h: Same. | |
1679 | * include/std/std_istream.h: Same. | |
1680 | * include/bits/valarray_array.tcc: Same, format. | |
1681 | ||
1682 | * include/c/std_cctype.h: Fix include guards. | |
1683 | * include/c/std_cerrno.h: Same. | |
1684 | * include/c/std_cfloat.h: Same. | |
1685 | * include/c/std_climits.h: Same. | |
1686 | * include/c/std_clocale.h: Same. | |
1687 | * include/c/std_cmath.h: Same. | |
1688 | * include/c/std_csetjmp.h: Same. | |
1689 | * include/c/std_csignal.h: Same. | |
1690 | * include/c/std_cstdarg.h: Same. | |
1691 | * include/c/std_cstddef.h: Same. | |
1692 | * include/c/std_cstdio.h: Same. | |
1693 | * include/c/std_cstdlib.h: Same. | |
1694 | * include/c/std_cstring.h: Same. | |
1695 | * include/c/std_ctime.h: Same. | |
1696 | * include/c/std_cwchar.h: Same. | |
1697 | * include/c/std_cwctype.h: Same. | |
1698 | * include/c_std/cmath.tcc: Same. | |
1699 | * include/c_std/std_cmath.h: Same. | |
7e2055ec | 1700 | |
b4c70e89 GB |
1701 | 2003-07-30 Gawain Bolton <gp.bolton@computer.org> |
1702 | ||
7e2055ec | 1703 | PR libstdc++/11504. |
b4c70e89 GB |
1704 | * include/bits/stl_tree.h: Replace C-style casts with C++-style |
1705 | casts. Changes to avoid casting away constness. Eliminate | |
1706 | _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use | |
1707 | initialization lists. Move out implementation of __black_count() | |
1708 | to... | |
7e2055ec ZW |
1709 | * src/stl_tree.cc: ...here and rename _Rb_tree_black_count(). |
1710 | Rename_Rb_tree_base_iterator::_M_increment() to | |
1711 | _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to | |
1712 | _Rb_tree_decrement. | |
1713 | * config/linker-map.gnu: Add and change symbols here. | |
b4c70e89 | 1714 | |
48b3222d JW |
1715 | 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org> |
1716 | ||
1717 | * docs/html/22_locale/howto.html: Use locale::classic() instead | |
1718 | of locale("C"). | |
1719 | ||
cb584bcf BK |
1720 | 2003-07-28 Benjamin Kosnik <bkoz@redhat.com> |
1721 | ||
1722 | * testsuite/testsuite_hooks.h: Remove list include. | |
1723 | (func_callback): Define as unique type, not std::list. | |
1724 | Change DEBUG_ASSERT to _GLIBCXX_ASSERT. | |
1725 | * testsuite/libstdc++-v3.dg/dg.exp: Same. | |
1726 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same. | |
7e2055ec | 1727 | * testsuite/23_containers/bitset_ctor.cc: |
cb584bcf BK |
1728 | * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT. |
1729 | * testsuite/18_support/numeric_limits.cc: Same. | |
1730 | * testsuite/21_strings/basic_string/append/char/1.cc: Same. | |
1731 | * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same. | |
1732 | * testsuite/21_strings/basic_string/compare/char/1.cc: Same. | |
1733 | * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same. | |
1734 | * testsuite/21_strings/basic_string/element_access/char/1.cc: Same. | |
1735 | * testsuite/21_strings/basic_string/element_access/char/2.cc: Same. | |
1736 | * testsuite/21_strings/basic_string/element_access/char/3.cc: Same. | |
1737 | * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same. | |
1738 | * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same. | |
1739 | * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same. | |
1740 | * testsuite/21_strings/basic_string/find/char/1.cc: Same. | |
1741 | * testsuite/21_strings/basic_string/find/char/2.cc: Same. | |
1742 | * testsuite/21_strings/basic_string/find/char/3.cc: Same. | |
1743 | * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same. | |
1744 | * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same. | |
1745 | * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same. | |
1746 | * testsuite/21_strings/basic_string/insert/char/1.cc: Same. | |
1747 | * testsuite/21_strings/basic_string/insert/char/2.cc: Same. | |
1748 | * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same. | |
1749 | * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same. | |
7e2055ec ZW |
1750 | * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc: |
1751 | * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc: | |
1752 | * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: | |
1753 | * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc: | |
1754 | * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc: | |
1755 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc: | |
1756 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc: | |
1757 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: | |
1758 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc: | |
1759 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc: | |
cb584bcf BK |
1760 | * testsuite/21_strings/basic_string/operators/char/1.cc: Same. |
1761 | * testsuite/21_strings/basic_string/operators/char/2.cc: Same. | |
1762 | * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same. | |
1763 | * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same. | |
1764 | * testsuite/21_strings/basic_string/replace/char/1.cc: Same. | |
1765 | * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same. | |
1766 | * testsuite/21_strings/basic_string/rfind/char/1.cc: Same. | |
1767 | * testsuite/21_strings/basic_string/rfind/char/2.cc: Same. | |
1768 | * testsuite/21_strings/basic_string/rfind/char/3.cc: Same. | |
1769 | * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same. | |
1770 | * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same. | |
1771 | * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same. | |
1772 | * testsuite/21_strings/basic_string/substr/char/1.cc: Same. | |
1773 | * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same. | |
1774 | * testsuite/23_containers/bitset_ctor.cc: Same. | |
1775 | * testsuite/23_containers/bitset_shift.cc: Same. | |
1776 | * testsuite/23_containers/vector_ctor.cc: Same. | |
1777 | * testsuite/23_containers/vector_element_access.cc: Same. | |
1778 | * testsuite/24_iterators/istreambuf_iterator.cc: Same. | |
1779 | * testsuite/24_iterators/iterator.cc: Same. | |
1780 | * testsuite/24_iterators/ostreambuf_iterator.cc: Same. | |
1781 | * testsuite/25_algorithms/lower_bound.cc: Same. | |
1782 | * testsuite/26_numerics/complex_inserters_extractors.cc: Same. | |
1783 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same. | |
1784 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same. | |
1785 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same. | |
1786 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same. | |
1787 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same. | |
1788 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same. | |
1789 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same. | |
1790 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same. | |
1791 | * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same. | |
7e2055ec ZW |
1792 | * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: |
1793 | Same. | |
1794 | ||
1cb1de7e PE |
1795 | 2003-07-28 Phil Edwards <pme@gcc.gnu.org> |
1796 | ||
1797 | * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html, | |
1798 | docs/html/test.html, docs/html/17_intro/headers_cc.txt, | |
1799 | docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change | |
1800 | GLIBCPP to GLIBCXX (and explain as needed). | |
1801 | ||
6dfe0fc9 PE |
1802 | 2003-07-28 Phil Edwards <pme@gcc.gnu.org> |
1803 | ||
1804 | * README: Update. | |
1805 | ||
2cb1c928 PE |
1806 | 2003-07-28 Phil Edwards <pme@gcc.gnu.org> |
1807 | ||
1808 | * testsuite/22_locale/messages/members/char/1.cc, | |
1809 | testsuite/22_locale/messages/members/char/2.cc, | |
1810 | testsuite/22_locale/messages/members/char/3.cc, | |
1811 | testsuite/22_locale/messages_byname/1.cc: Update comment regarding | |
1812 | the origin of LOCALEDIR. | |
1813 | * testsuite/lib/libstdc++-v3.exp: New file. | |
1814 | ||
b66ea7d4 BK |
1815 | 2003-07-25 Benjamin Kosnik <bkoz@redhat.com> |
1816 | ||
1817 | * include/bits/char_traits.h: Update copyright, tweak. | |
e884d397 | 1818 | * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace |
b66ea7d4 BK |
1819 | std types. |
1820 | ||
d5ff4e3f MA |
1821 | 2003-07-24 Matt Austern <austern@apple.com> |
1822 | ||
1823 | * /include/bits/char_traits.h (class char_traits): Put all the | |
1824 | real work into the new class template __gnu_cxx::char_traits. | |
1825 | Gave generic definitions for member functions. Types are taken | |
1826 | from the new class template __gnu_cxx::_Char_types. | |
1827 | * testsuite/21_strings/char_traits/requirements/short/1.cc: New | |
1828 | file. Test of std::char_traits<short>, which serves as a test of | |
1829 | the char_traits primary template. | |
1830 | ||
aecf642c BK |
1831 | 2003-07-24 Benjamin Kosnik <bkoz@redhat.com> |
1832 | ||
1833 | * testsuite/*: Change __gnu_cxx_test to __gnu_test. | |
1834 | ||
1835 | 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org> | |
d7541133 | 1836 | |
7e2055ec ZW |
1837 | * testsuite/23_containers/map_operators.cc: Conform to |
1838 | container requirement as value must be Assignable. | |
d7541133 | 1839 | |
118545ec AO |
1840 | 2003-07-23 Alexandre Oliva <aoliva@redhat.com> |
1841 | ||
1842 | * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it | |
1843 | tests not only generation of pch files, but also their use. | |
1844 | * aclocal.m4, configure: Rebuilt. | |
1845 | ||
ff89cb01 SE |
1846 | 2003-07-23 Steve Ellcey <sje@cup.hp.com> |
1847 | ||
1848 | * config/cpu/hppa/atomicity.h: Change | |
1849 | _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK | |
1850 | to match misc-inst.cc | |
1851 | ||
1143680e SE |
1852 | 2003-07-23 Steve Ellcey <sje@cup.hp.com> |
1853 | ||
1854 | * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard. | |
1855 | * include/c_std/std_cctype.h: Ditto. | |
1856 | * include/c_std/std_cerrno.h: Ditto. | |
1857 | * include/c_std/std_cfloat.h: Ditto. | |
1858 | * include/c_std/std_climits.h: Ditto. | |
1859 | * include/c_std/std_clocale.h: Ditto. | |
1860 | * include/c_std/std_cmath.h: Ditto. | |
1861 | * include/c_std/std_csetjmp.h: Ditto. | |
1862 | * include/c_std/std_csignal.h: Ditto. | |
1863 | * include/c_std/std_cstdarg.h: Ditto. | |
1864 | * include/c_std/std_cstddef.h: Ditto. | |
1865 | * include/c_std/std_cstdio.h: Ditto. | |
1866 | * include/c_std/std_cstdlib.h: Ditto. | |
1867 | * include/c_std/std_cstring.h: Ditto. | |
1868 | * include/c_std/std_ctime.h: Ditto. | |
1869 | * include/c_std/std_cwchar.h: Ditto. | |
1870 | * include/c_std/std_cwctype.h: Ditto. | |
1871 | * include/std/std_algorithm.h: Ditto. | |
1872 | * include/std/std_bitset.h: Ditto. | |
1873 | * include/std/std_complex.h: Ditto. | |
1874 | * include/std/std_deque.h: Ditto. | |
1875 | * include/std/std_fstream.h: Ditto. | |
1876 | * include/std/std_functional.h: Ditto. | |
1877 | * include/std/std_iomanip.h: Ditto. | |
1878 | * include/std/std_ios.h: Ditto. | |
1879 | * include/std/std_iosfwd.h: Ditto. | |
1880 | * include/std/std_iostream.h: Ditto. | |
1881 | * include/std/std_istream.h: Ditto. | |
1882 | * include/std/std_iterator.h: Ditto. | |
1883 | * include/std/std_limits.h: Ditto. | |
1884 | * include/std/std_list.h: Ditto. | |
1885 | * include/std/std_locale.h: Ditto. | |
1886 | * include/std/std_map.h: Ditto. | |
1887 | * include/std/std_memory.h: Ditto. | |
1888 | * include/std/std_numeric.h: Ditto. | |
1889 | * include/std/std_ostream.h: Ditto. | |
1890 | * include/std/std_queue.h: Ditto. | |
1891 | * include/std/std_set.h: Ditto. | |
1892 | * include/std/std_sstream.h: Ditto. | |
1893 | * include/std/std_stack.h: Ditto. | |
1894 | * include/std/std_stdexcept.h: Ditto. | |
1895 | * include/std/std_streambuf.h: Ditto. | |
1896 | * include/std/std_string.h: Ditto. | |
1897 | * include/std/std_utility.h: Ditto. | |
1898 | * include/std/std_valarray.h: Ditto. | |
1899 | * include/std/std_vector.h: Ditto. | |
1900 | ||
3988d179 DG |
1901 | 2003-07-22 Doug Gregor <dgregor@apple.com> |
1902 | ||
1903 | * include/bits/basic_string.h (basic_string::insert): Deprecate | |
1904 | GNU extension. | |
1905 | ||
5dfda042 BK |
1906 | 2003-07-21 Benjamin Kosnik <bkoz@redhat.com> |
1907 | ||
1908 | * scripts/testsuite_flags.in (--build-includes): Remove extraneous | |
1909 | paths for libio. | |
1910 | * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc | |
1911 | (test03): Include typeinfo for bad_cast. | |
1912 | * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same. | |
1913 | * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. | |
1914 | * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same. | |
1915 | ||
3988d179 | 1916 | 2003-07-21 Doug Gregor <dgregor@apple.com> |
f345c6b5 DG |
1917 | |
1918 | * include/bits/boost_concept_check.h: | |
7e2055ec ZW |
1919 | (_EqualityComparableConcept::__constraints): Remove != from the |
1920 | list of constraints; it is not listed in Table 28 of the C++98 | |
1921 | standard. | |
f345c6b5 | 1922 | |
2d5f9af2 AJ |
1923 | 2003-07-18 Andreas Jaeger <aj@suse.de> |
1924 | ||
1925 | * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file. | |
1926 | * config/abi/mips-linux-gnu/baseline_symbols.txt: New file. | |
1927 | * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file. | |
1928 | * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated. | |
1929 | ||
fea4065d | 1930 | 2003-07-17 Benjamin Kosnik <bkoz@redhat.com> |
7e2055ec | 1931 | |
fea4065d BK |
1932 | * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache. |
1933 | * config/locale/generic/messages_members.h: Tweaks. | |
1934 | * config/locale/generic/monetary_members.cc | |
1935 | (moneypunct::_M_initialize_moneypunct): Use cache. | |
1936 | (moneypunct::~moneypunct): Delete cache. | |
1937 | * config/locale/generic/time_members.cc: | |
1938 | (__timepunct::_M_initialize_timepunct): Use cache. | |
1939 | * config/locale/generic/time_members.h: | |
1940 | (__timepunct::~__timepunct): Delete cache. | |
1941 | (__timepunct::__timepunct): Set cache. | |
1942 | * config/locale/gnu/messages_members.h: Tweaks. | |
1943 | * config/locale/gnu/monetary_members.cc: | |
1944 | (moneypunct::_M_initialize_moneypunct): Use cache. | |
1945 | (moneypunct::~moneypunct): Delete cache. | |
1946 | * config/locale/gnu/time_members.cc: | |
1947 | (__timepunct::_M_initialize_timepunct): Use cache. | |
1948 | * config/locale/gnu/time_members.h: | |
1949 | (__timepunct::~__timepunct): Delete cache. | |
1950 | (__timepunct::__timepunct): Set cache. | |
1951 | * include/bits/locale_facets.h (__timepunct_cache): New. | |
1952 | (__moneypunct_cache): New. | |
1953 | * include/bits/locale_facets.tcc: Tweak. | |
1954 | * src/locale.cc (__timepunct::_S_timezones): Adjust for cache. | |
1955 | * src/locale-inst.cc: Instantiate caches. | |
1956 | * src/globals.cc: Add "C" caches. | |
1957 | * src/localename.cc: Use external "C" caches. | |
1958 | ||
83a279e4 PE |
1959 | 2003-07-17 Phil Edwards <pme@gcc.gnu.org> |
1960 | ||
1961 | * docs/doxygen/guide.html: Fix typo. | |
1962 | ||
db5eed18 BK |
1963 | 2003-07-16 Benjamin Kosnik <bkoz@redhat.com> |
1964 | ||
1965 | * include/ext/pod_char_traits.h: Add state template argument. | |
1966 | ||
7942afdc BK |
1967 | 2003-07-16 Benjamin Kosnik <bkoz@redhat.com> |
1968 | ||
1969 | * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX. | |
1970 | (num_get::_M_convert_int): To _M_insert_int. | |
7e2055ec | 1971 | (num_get::_M_convert_float): To _M_insert_float. |
7942afdc BK |
1972 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): |
1973 | Use caches for ctype, num_get. | |
1974 | (num_get::_M_extract_int): Same. | |
1975 | (num_get::get(bool)): Same. | |
1976 | (__verify_grouping): Use size_t. | |
1977 | * src/locale-inst.cc: Update. | |
1978 | * src/locale.cc: Adjust _S_atoms_in. | |
1979 | ||
1ef4a5d4 PE |
1980 | 2003-07-16 Phil Edwards <pme@gcc.gnu.org> |
1981 | ||
1982 | * docs/doxygen/mainpage.html: Move building/writing instructions... | |
1983 | * docs/doxygen/guide.html: ...to here. New file. | |
1984 | ||
dced0d12 JW |
1985 | 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org> |
1986 | ||
1987 | * docs/html/ext/howto.html: Update URL for SGI STL docs. | |
1988 | * docs/html/faq/index.html: Same. | |
1989 | * docs/html/faq/index.txt: Regenerate. | |
1990 | ||
e50344b9 PC |
1991 | 2003-07-16 Paolo Carlini <pcarlini@unitus.it> |
1992 | ||
1993 | PR libstdc++/11528 | |
1994 | * include/bits/locale_facets.tcc (money_get::do_get): | |
1995 | Strip only _leading_ zeros. | |
1996 | * testsuite/22_locale/money_get/get/char/11528.cc: Add. | |
1997 | * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add. | |
1998 | ||
94b7906a GP |
1999 | 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2000 | ||
2001 | * include/ext/hash_map (class hash_multimap): Remove extra | |
2002 | semicolons from __glibcxx_class_requires3 entries. | |
2003 | * include/ext/hash_set (class hash_set): Ditto. | |
2004 | (class hash_multiset): Ditto. | |
2005 | ||
73a530bd PR |
2006 | 2003-07-15 Petur Runolfsson <peturr02@ru.is> |
2007 | ||
2008 | * include/bits/char_traits.h (char_traits<wchar_t>::move): | |
2009 | Change last parameter from int_type to size_t. | |
2010 | ||
119dbb1f JQ |
2011 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
2012 | ||
2013 | * include/bits/stl_algo.h (includes, set_union, set_intersection, | |
7e2055ec ZW |
2014 | set_difference, set_symmetric_difference, max_element, min_element, |
2015 | next_permutation, prev_permutation, find_first_of, find_end): | |
2016 | Document. | |
119dbb1f | 2017 | * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap |
7e2055ec | 2018 | restrictions in docs. |
119dbb1f | 2019 | * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap): |
7e2055ec | 2020 | Document. |
119dbb1f JQ |
2021 | * docs/doxygen/doxygroups.cc (setoperations): New group. |
2022 | ||
284f19bf JQ |
2023 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
2024 | ||
7e2055ec | 2025 | * include/bits/basic_string.h: Document public functions. |
284f19bf JQ |
2026 | * docs/doxygen/TODO: Update c21 todo. |
2027 | ||
709e7c9f JQ |
2028 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
2029 | ||
2030 | * include/bits/stl_list.h: Document more functions. | |
2031 | * docs/doxygen/TODO: Update c23 todo. | |
2032 | ||
f45e487d PC |
2033 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2034 | ||
2035 | * config/locale/gnu/c_locale.h (__convert_from_v): One more | |
2036 | qualification. | |
2037 | ||
f088510d PC |
2038 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2039 | ||
2040 | * include/bits/stl_tempbuf.h: Qualify free with std::. | |
2041 | * src/locale.cc: Include <cstdlib>, qualify getenv. | |
2042 | ||
2def5b76 PC |
2043 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2044 | ||
2045 | * config/locale/gnu/c_locale.h (__convert_from_v): Include | |
2046 | <cstdio>. Qualify names. | |
2047 | * config/locale/generic/c_locale.h (__convert_from_v): Ditto. | |
2048 | ||
bda243ec PC |
2049 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2050 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
2051 | ||
2052 | PR libstdc++/11378 | |
2053 | * include/std/std_fstream.h (xsputn): Declare only. | |
2054 | * include/bits/fstream.tcc (xsputn): Define, optimize for the | |
7e2055ec | 2055 | always_noconv() case: when __n is sufficiently large flush |
bda243ec PC |
2056 | the buffer and issue a direct write, if possible combining the |
2057 | two with writev in __basic_file<>::xsputn_2. | |
2058 | * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2): | |
2059 | New, declare. | |
2060 | * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2): | |
2061 | Define. | |
2062 | * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for | |
2063 | the availability of writev in <sys/uio.h>. | |
2064 | * configure.in: Call here. | |
2065 | * acconfig.h: Add undef for the corresponding symbol. | |
2066 | * aclocal.m4: Regenerate. | |
2067 | * configure: Regenerate. | |
2068 | * config.h.in: Regenerate. | |
2069 | * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak. | |
2070 | ||
2071 | * include/std/std_fstream.h (sync): Constify a variable. | |
2072 | ||
c573d965 BK |
2073 | 2003-07-14 Benjamin Kosnik <bkoz@redhat.com> |
2074 | ||
2075 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers. | |
2076 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
7e2055ec | 2077 | |
3ad249b9 GDR |
2078 | 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net> |
2079 | ||
2080 | * config/locale/gnu/c_locale.h (__convert_from_v): Include | |
2081 | <cstring> and <cstdlib>. Qualify names. | |
2082 | ||
f2ffecb1 MM |
2083 | 2003-07-13 Mark Mitchell <mark@codesourcery.com> |
2084 | ||
2085 | * config/locale/generic/c_locale.h: Include <cstdlib> and | |
2086 | <cstring>. | |
2087 | * include/bits/boost_concept_check.h: Add this-> to unqualified | |
2088 | method calls. | |
2089 | * include/bits/deque.tcc: Likewise. | |
2090 | * include/bits/locale_facets.h : Likewise. | |
2091 | * include/bits/ostream.tcc: Likewise. | |
2092 | * include/bits/stl_algo.h: Likewise. | |
2093 | * include/bits/stl_bvector.h: Likewise. | |
2094 | * include/bits/stl_deque.h: Likewise. | |
2095 | * include/bits/stl_list.h: Likewise. | |
2096 | * include/bits/stl_tree.h: Likewise. | |
2097 | * include/bits/stl_vector.h: Likewise. | |
2098 | * include/bits/vector.tcc: Likewise. | |
2099 | * include/ext/rope: Likewise. | |
2100 | * include/ext/ropeimpl.h: Likewise. | |
2101 | * include/ext/stdio_filebuf.h: Likewise. | |
2102 | ||
e2fcbaa3 JQ |
2103 | 2003-07-11 Jerry Quinn <jlquinn@optonline.net> |
2104 | ||
2105 | * include/bits/basic_ios.h (copyfmt): Document. | |
2106 | * include/bits/ios_base.h (event, event_callback, register_callback, | |
2107 | xalloc, iword, pword): Document. | |
2108 | (imbue, ~ios_base): Update docs on callbacks. | |
2109 | ||
58579a27 PE |
2110 | 2003-07-11 Phil Edwards <pme@gcc.gnu.org> |
2111 | ||
2112 | * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add | |
2113 | warning messages if the environment cannot support symbol versioning. | |
2114 | (port_specific_symbol_file): It's plural, add an 's' on the end. | |
2115 | * configure.host: Likewise. | |
2116 | * src/Makefile.am: Likewise. | |
2117 | * config/linker-map.gnu: Remove one semicolon, heh. | |
2118 | * scripts/extract_symvers: Don't assume useful 'export' syntax. | |
2119 | Set LANG as well as LC_ALL for possibly-broken sort(1)s. | |
2120 | * aclocal.m4, configure, src/Makefile.in: Regenerated. | |
2121 | ||
cde63840 BK |
2122 | 2003-07-09 Benjamin Kosnik <bkoz@redhat.com> |
2123 | ||
2124 | * include/bits/locale_facets.tcc: Use function object for | |
7e2055ec | 2125 | __use_cache instead of template function. Partially specialize for |
cde63840 BK |
2126 | __numpunct<_CharT>. |
2127 | * include/bits/locale_classes.h: Update friend declaration for | |
2128 | __use_cache. | |
2129 | (_M_install_cache): No throw exception specs. | |
2130 | * src/locale.cc: Remove __use_cache specializations. | |
2131 | * include/ext/pod_char_traits.h (length): Tweak. | |
2132 | * include/bits/locale_facets.h (__numpunct_cache): Remove | |
2133 | char_type typedef. | |
2134 | * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove. | |
2135 | (pod_long): Remove. | |
2136 | * testsuite/22_locale/numpunct/members/char/cache_1.cc: New. | |
2137 | * testsuite/22_locale/numpunct/members/char/cache_2.cc: New. | |
2138 | * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New. | |
2139 | * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New. | |
2140 | * testsuite/22_locale/numpunct/members/pod/1.cc: New. | |
2141 | * testsuite/22_locale/numpunct/members/pod/2.cc: New. | |
7e2055ec | 2142 | |
e7f042e4 JQ |
2143 | 2003-07-09 Jerry Quinn <jlquinn@optonline.net> |
2144 | ||
2145 | * src/ios.cc (_M_grow_words): Fix spelling. | |
2146 | ||
ca1c7011 GB |
2147 | 2003-07-09 Gawain Bolton <gp.bolton@computer.org> |
2148 | ||
2149 | * include/bits/stl_tree.h: Move larger member functions in | |
2150 | _Rb_tree_base_iterator and _Rb_tree_node to... | |
2151 | * src/stl_tree.cc: Here. | |
2152 | * src/Makefile.in: Add stl_tree.cc. | |
2153 | * src/Makefile.in: Regenerated. | |
2154 | * config/linker-map.gnu: Add symbols here. | |
2155 | ||
9e7facfd BK |
2156 | 2003-07-08 Benjamin Kosnik <bkoz@redhat.com> |
2157 | ||
2158 | * testsuite/ext/pod_char_traits.cc: New. | |
2159 | * include/ext/pod_char_traits.h: New. | |
2160 | * include/Makefile.am (ext_headers): Add pod_char_traits.h. | |
2161 | * include/Makefile.in: Regenerate. | |
2162 | * docs/html/21_strings/howto.html: Update. | |
7e2055ec | 2163 | |
e55dc371 GB |
2164 | 2003-07-08 Gawain Bolton <gp.bolton@computer.org> |
2165 | ||
2166 | * testsuite/performance/list_create_fill_sort.cc: New. | |
2167 | ||
c094e9b9 BK |
2168 | 2003-07-08 Benjamin Kosnik <bkoz@redhat.com> |
2169 | ||
2170 | * config/locale/generic/numeric_members.cc: Correct type info. | |
2171 | * config/locale/gnu/numeric_members.cc: Same. | |
2172 | * include/bits/locale_facets.h: Same. | |
7e2055ec | 2173 | |
c094e9b9 BK |
2174 | * include/bits/char_traits.h: Correct spacing. |
2175 | ||
2176 | * src/locale.cc: Wrap to 80 col. | |
7e2055ec | 2177 | |
a8784c4c PC |
2178 | 2003-07-07 Paolo Carlini <pcarlini@unitus.it> |
2179 | ||
2180 | * include/std/std_complex.h: Partially revert last | |
2181 | changes: cmath functions must not be qualified. | |
2182 | ||
313dd504 PE |
2183 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
2184 | ||
2185 | * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils | |
2186 | 2.11 with globbing backport fix. | |
2187 | * aclocal.m4, configure: Regenerated. | |
2188 | ||
6623b2f2 PC |
2189 | 2003-07-06 Paolo Carlini <pcarlini@unitus.it> |
2190 | ||
2191 | * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback: | |
2192 | if output is at all possible (!_M_reading), cannot be active. | |
2193 | ||
2194 | * include/std/std_fstream.h: Tweak comments to doxygen style. | |
2195 | ||
391cfc46 PC |
2196 | 2003-07-06 Paolo Carlini <pcarlini@unitus.it> |
2197 | ||
2198 | * include/bits/locale_classes.h: Fully qualify standard | |
2199 | functions with std::, thus avoiding Koenig lookup. | |
2200 | * include/bits/locale_facets.tcc: Likewise. | |
2201 | * src/locale.cc: Likewise. | |
2202 | * src/localename.cc: Likewise. | |
2203 | ||
48166869 PE |
2204 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
2205 | ||
2206 | * include/bits/allocator_traits.h: Fix doxygen markup. | |
2207 | * include/ext/mt_allocator.h: Likewise. | |
2208 | ||
aaa4a229 PE |
2209 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
2210 | ||
2211 | * testsuite/testsuite_hooks.h: Guard against a missing unlink(). | |
2212 | ||
e6b7a69a PE |
2213 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
2214 | ||
2215 | * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version | |
2216 | requirement. Add port_specific_symbol_file variable. | |
2217 | * configure.host: Add docs for port_specific_symbol_file. | |
2218 | Clean up try_cpu block for x86. | |
2219 | * config/linker-map.gnu: No more "last symbol can't have a | |
2220 | semicolon" kaka. Add hook for port-specific symbols. | |
2221 | * src/Makefile.am: Remove trailing whitespace. | |
2222 | (libstdc++-symbol.ver): Detect the presence of port-specific | |
2223 | symbols, and add them accordingly. | |
2224 | ||
2225 | * docs/html/17_intro/porting.texi: Bring up to date. | |
2226 | ||
2227 | * src/Makefile.in, aclocal.m4, configure, | |
2228 | docs/html/17_intro/porting.html: Regenerated. | |
2229 | ||
ac3d7b44 PE |
2230 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
2231 | ||
2232 | * scripts/create_testsuite_files: New file. | |
2233 | * testsuite/Makefile.am (all-local, check-performance): Use it. | |
2234 | * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove. | |
2235 | * testsuite/Makefile.in: Regenerated. | |
2236 | ||
2237 | * testsuite/performance/filebuf_sputc.cc: Remove the temporary | |
2238 | files at the end. | |
2239 | * testsuite/performance/fstream_seek_write.cc: Likewise. | |
2240 | * testsuite/performance/ofstream_insert_float.cc: Likewise. | |
2241 | * testsuite/performance/ofstream_insert_int.cc: Likewise. | |
2242 | * testsuite/abi_check.cc (main): Nicer spacing in usage output. | |
2243 | ||
e3d51be2 GB |
2244 | 2003-07-05 Gawain Bolton <gp.bolton@computer.org> |
2245 | ||
2246 | * include/bits/stl_list.h: Performance and memory usage | |
c094e9b9 BK |
2247 | improvements. In particular, the behaviour of the constructor and |
2248 | destructor as the list header node is no longer dynamically | |
2249 | allocated/de-allocated. | |
e3d51be2 GB |
2250 | * include/bits/list.tcc: Likewise. |
2251 | ||
eb9a4231 PC |
2252 | 2003-07-05 Paolo Carlini <pcarlini@unitus.it> |
2253 | ||
2254 | * include/std/std_complex.h: Fully qualify standard | |
2255 | functions with std::, thus avoiding Koenig lookup. | |
2256 | * include/std/std_memory.h: Likewise. | |
2257 | * include/std/std_valarray.h: Likewise. | |
2258 | ||
f92c5313 GB |
2259 | 2003-07-05 Gawain Bolton <gp.bolton@computer.org> |
2260 | ||
2261 | * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local | |
7e2055ec | 2262 | variable for grandparent and use const |
f92c5313 | 2263 | |
8b87d3fa DB |
2264 | 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com> |
2265 | ||
2266 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin | |
2267 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto | |
2268 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto | |
2269 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto | |
2270 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto | |
2271 | * testsuite/27_io/objects/char/7.cc: Ditto | |
2272 | * testsuite/27_io/objects/char/9661-1.cc: Ditto | |
2273 | ||
a8cad3e1 PC |
2274 | 2003-07-05 Paolo Carlini <pcarlini@unitus.it> |
2275 | ||
2276 | * include/std/std_bitset.h: Fully qualify standard | |
2277 | functions with std::, thus avoiding Koenig lookup. | |
2278 | ||
2279 | * include/std/std_fstream.h: Change comment to doxygen style. | |
2280 | ||
2778669a PE |
2281 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
2282 | ||
2283 | * include/std/std_limits.h: More CPP->CXX changes. | |
2284 | * scripts/check_survey.in: Likewise. | |
2285 | ||
3d7c150e BK |
2286 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
2287 | ||
2288 | Move from CPP to CXX. | |
2289 | * include/bits/c++config: Move to GLIBCXX from GLIBCPP. | |
2290 | * testsuite/Makefile.am: Same. | |
2291 | * testsuite/Makefile.in: Regenerate. | |
2292 | * po/Makefile.am: Same. | |
7e2055ec | 2293 | * po/Makefile.in: Regenerate. |
3d7c150e | 2294 | * libsupc++/Makefile.am: Same. |
7e2055ec | 2295 | * libsupc++/Makefile.in: Regenerate. |
3d7c150e | 2296 | * libmath/Makefile.am: Same. |
7e2055ec | 2297 | * libmath/Makefile.in: Regenerate. |
3d7c150e | 2298 | * include/Makefile.am: Same. |
7e2055ec | 2299 | * include/Makefile.in: Regenerate. |
3d7c150e | 2300 | * src/Makefile.am: Same. |
7e2055ec | 2301 | * src/Makefile.in: Regenerate. |
3d7c150e BK |
2302 | * acconfig.h: Same. |
2303 | * configure.host: Same. | |
2304 | * configure.in: Same. | |
2305 | * configure: Regenerate. | |
2306 | * acinclude.m4: Same. | |
2307 | * aclocal.m4: Same. | |
2308 | * src: Change all files in this directory. | |
2309 | * testsuite: Same. | |
2310 | * include: Same, standardize include guards. | |
2311 | * config: Same. | |
2312 | * libsupc++: Same. | |
7e2055ec | 2313 | |
e6cc3a24 ZW |
2314 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
2315 | ||
2316 | * testsuite/22_locale/collate/compare/wchar_t/2.cc | |
2317 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc | |
2318 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc | |
2319 | * testsuite/22_locale/collate/hash/wchar_t/2.cc | |
2320 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc | |
2321 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc | |
2322 | * testsuite/22_locale/collate/transform/wchar_t/2.cc | |
2323 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc | |
2324 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: | |
2325 | XFAIL on all targets. | |
2326 | ||
d542f114 BK |
2327 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
2328 | ||
2329 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable. | |
2330 | * aclocal.m4: Regenerate. | |
2331 | * configure: Regenerate. | |
e6cc3a24 | 2332 | |
d542f114 BK |
2333 | 2003-07-04 Jerry Quinn <jlquinn@optonline.net> |
2334 | ||
2335 | * include/bits/locale_facets.tcc (__int_to_char): Move common case | |
2336 | to the top. | |
2337 | ||
69ef29fd | 2338 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 ZW |
2339 | Petur Runolfsson <peturr02@ru.is> |
2340 | ||
69ef29fd BK |
2341 | * config/io/basic_file_stdio.cc: Revert. |
2342 | ||
5b5bf717 PC |
2343 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
2344 | ||
2345 | * include/bits/deque.tcc: Fully qualify standard | |
2346 | functions with std::, thus avoiding Koenig lookup. | |
2347 | * include/bits/gslice_array.h: Likewise. | |
2348 | * include/bits/indirect_array.h: Likewise. | |
2349 | * include/bits/list.tcc: Likewise. | |
2350 | * include/bits/mask_array.h: Likewise. | |
2351 | * include/bits/slice_array.h: Likewise. | |
2352 | ||
7f6dd1ca GB |
2353 | 2003-07-04 Gawain Bolton <gbolton@free.fr> |
2354 | ||
2355 | * include/bits/stl_tree.h: Performance and memory usage | |
2356 | improvements. | |
2357 | ||
8c90b13a L |
2358 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
2359 | ||
2360 | * Makefile.am: Replace PWD with PWD_COMMAND. | |
2361 | * Makefile.in: Regenerated. | |
2362 | * docs/html/Makefile: Likewise. | |
2363 | ||
2f805868 PC |
2364 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
2365 | ||
2366 | * include/bits/valarray_array.h: Fully qualify standard | |
2367 | functions with std::, thus avoiding Koenig lookup. | |
2368 | * include/bits/vector.tcc: Likewise. | |
2369 | ||
a30335e9 BK |
2370 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
2371 | ||
2372 | * include/Makefile.am: Update target_ to host_. | |
2373 | * include/Makefile.in: Regenerate. | |
2374 | * src/Makefile.am: Same. | |
2375 | * src/Makefile.in: Regenerate. | |
2376 | ||
2377 | * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support. | |
e6cc3a24 | 2378 | |
d8d81f62 BK |
2379 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
2380 | ||
2381 | * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To | |
2382 | --enable-libstdcxx-debug-flags. | |
2383 | (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug. | |
2384 | (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch. | |
2385 | * aclocal.m4: Regenerate. | |
2386 | * configure: Same. | |
2387 | * docs/html/configopts.html: Update. | |
e6cc3a24 | 2388 | |
10ef4e2e PC |
2389 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
2390 | ||
2391 | Revert the fix for libstdc++/11378. | |
2392 | ||
ac2c48d7 PC |
2393 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
2394 | ||
2395 | PR libstdc++/11378 | |
2396 | * include/std/std_fstream.h (xsputn): In the unbuffered case, | |
2397 | provided always_noconv(), issue directly _M_file.xsputn. | |
2398 | * testsuite/performance/filebuf_unbuf_sputn.cc: New. | |
2399 | ||
9dd90ac6 PC |
2400 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
2401 | ||
2402 | * include/bits/stl_list.h: Fully qualify standard | |
2403 | functions with std::, thus avoiding Koenig lookup. | |
2404 | * include/bits/stl_queue.h: Likewise. | |
2405 | * include/bits/stl_raw_storage_iter.h: Likewise. | |
2406 | * include/bits/stl_tempbuf.h: Likewise. | |
2407 | * include/bits/stl_tree.h: Likewise. | |
2408 | * include/bits/stl_uninitialized.h: Likewise. | |
2409 | * include/bits/stl_vector.h: Likewise. | |
e6cc3a24 | 2410 | * include/ext/rope: Change includes order. |
9dd90ac6 | 2411 | |
1b33b6b2 BK |
2412 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
2413 | ||
2414 | * configure.host (fpos_include_dir): Fix. | |
2415 | ||
369b78b0 PC |
2416 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
2417 | ||
2418 | * include/bits/stl_heap.h: Fully qualify standard | |
2419 | functions with std::, thus avoiding Koenig lookup. | |
2420 | * include/bits/stl_iterator_base_funcs.h: Likewise. | |
2421 | ||
2422 | * include/bits/stl_algo.h: Qualify __iterator_category too. | |
2423 | * include/bits/stl_algobase.h: Likewise. | |
2424 | * include/bits/stl_bvector.h: Likewise. | |
2425 | ||
2426 | * include/bits/stl_algo.h: Don't qualify the pair type. | |
2427 | ||
cc5112c9 BK |
2428 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> |
2429 | ||
2430 | * include/Makefile.am (target_headers): Add fpos.h | |
2431 | (bits_headers): Remove. | |
2432 | * include/Makefile.in: Regenerate. | |
2433 | * configure.in: Add FPOS_INC_SRCDIR, substitute it. | |
2434 | * configure: Regenerate. | |
2435 | * configure.host: Add fpos_include_dir. | |
2436 | * config/os/gnu-linux/fpos.h: New. | |
e6cc3a24 ZW |
2437 | * config/os/generic/fpos.h: Add. |
2438 | * include/bits/fpos.h: Remove. | |
cc5112c9 BK |
2439 | |
2440 | * config/io/c_io_stdio.h: Remove fpos_t typedef. | |
2441 | ||
2442 | * include/bits/fstream.tcc: Tweaks. | |
2443 | * include/std/std_fstream.h: Same. | |
e6cc3a24 | 2444 | |
cc5112c9 BK |
2445 | * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... |
2446 | * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. | |
2447 | * testsuite/27_io/fpos/mbstate_t/2.cc: Same. | |
2448 | * testsuite/27_io/fpos/mbstate_t/3.cc: Same. | |
2449 | * testsuite/27_io/fpos/1.cc: New. | |
e6cc3a24 | 2450 | |
cc5112c9 BK |
2451 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> |
2452 | Petur Runolfsson <peturr02@ru.is> | |
e6cc3a24 | 2453 | |
cc5112c9 BK |
2454 | * include/std/std_streambuf.h: Remove _M_pos. |
2455 | * config/io/basic_file_stdio.h: Use seekpos instead of seekoff. | |
2456 | * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek, | |
2457 | use fread/fwrite instead of read/write. | |
2458 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix. | |
2459 | * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs | |
2460 | before reading again. | |
2461 | * testsuite/27_io/objects/char/6.cc: Tweak. | |
e6cc3a24 | 2462 | |
304d79dc DE |
2463 | 2003-07-03 David Edelsohn <edelsohn@gnu.org> |
2464 | ||
2465 | * testsuite/22_locale/num_put/put/char/7.cc: Guard with | |
2466 | _GLIBCPP_USE_WCHAR_T. | |
2467 | ||
41ba4c46 PC |
2468 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
2469 | ||
2470 | * include/bits/basic_string.tcc (_M_replace_aux): Constify | |
2471 | __n1 and __off1. | |
2472 | ||
da73f9de PC |
2473 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
2474 | ||
2475 | * include/bits/stl_bvector.h: Fully qualify standard | |
2476 | functions with std::, thus avoiding Koenig lookup. | |
2477 | * include/bits/stl_construct.h: Likewise. | |
2478 | * include/bits/stl_deque.h: Likewise. | |
2479 | ||
1c380095 PC |
2480 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
2481 | ||
2482 | * testsuite/22_locale/num_put/put/char/7.cc: Include | |
2483 | <testsuite_hooks.h>, tweak. | |
2484 | * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise. | |
2485 | ||
f9f4d1e1 PE |
2486 | 2003-07-01 Phil Edwards <pme@gcc.gnu.org> |
2487 | ||
2488 | * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects | |
2489 | check* targets, but not libs/programs). | |
2490 | * testsuite/Makefile.in: Regenerate. | |
2491 | ||
b7693a46 RS |
2492 | 2003-07-01 Roger Sayle <roger@eyesopen.com> |
2493 | ||
2494 | * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS. | |
2495 | (GLIBCPP_CHECK_MATH_SUPPORT): Likewise. | |
2496 | * aclocal.m4: Regenerate. | |
2497 | * configure: Regenerate. | |
2498 | ||
a5b1b26c BK |
2499 | 2003-07-01 Benjamin Kosnik <bkoz@redhat.com> |
2500 | ||
2501 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error. | |
2502 | * aclocal.m4: Regenerated. | |
2503 | * configure: Regenerated. | |
e6cc3a24 | 2504 | |
f64f3e74 PC |
2505 | 2003-07-01 Paolo Carlini <pcarlini@unitus.it> |
2506 | ||
2507 | PR libstdc++/11389 | |
2508 | * include/bits/fstream.tcc (underflow): For encoding() == 0 | |
2509 | don't read more than __buflen chars. | |
2510 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New. | |
2511 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New. | |
2512 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New. | |
2513 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New. | |
2514 | ||
5ee78c21 JQ |
2515 | 2003-07-01 Jerry Quinn <jlquinn@optonline.net> |
2516 | ||
2517 | * 22_locale/num_put/put/char/7.cc: New. | |
2518 | * 22_locale/num_put/put/wchar_t/7.cc: New. | |
2519 | ||
e97ee22e JQ |
2520 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
2521 | ||
2522 | * src/locale.cc (__use_cache<numpunct>): Revert previous relocation. | |
2523 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto. | |
2524 | ||
7d6a0993 BK |
2525 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
2526 | ||
2527 | * 27_io/basic_filebuf/seekoff/char/1-in.cc: New. | |
2528 | * 27_io/basic_filebuf/seekoff/char/1-io.cc: New. | |
2529 | * 27_io/basic_filebuf/seekoff/char/1-out.cc: New. | |
2530 | * 27_io/basic_filebuf/seekoff/char/2-in.cc: New. | |
2531 | * 27_io/basic_filebuf/seekoff/char/2-io.cc: New. | |
2532 | * 27_io/basic_filebuf/seekoff/char/2-out.cc: New. | |
2533 | * 27_io/basic_filebuf/seekoff/char/2.cc: Remove. | |
2534 | * 27_io/basic_filebuf/seekoff/char/3-in.cc: New. | |
2535 | * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change. | |
2536 | * 27_io/basic_filebuf/seekoff/char/3-out.cc: New. | |
2537 | * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove. | |
2538 | * 27_io/basic_filebuf/seekpos/char/1-in.cc: New. | |
2539 | * 27_io/basic_filebuf/seekpos/char/1-io.cc: New. | |
2540 | * 27_io/basic_filebuf/seekpos/char/1-out.cc: New. | |
2541 | * 27_io/basic_filebuf/seekpos/char/2-in.cc: New. | |
2542 | * 27_io/basic_filebuf/seekpos/char/2-io.cc: New. | |
2543 | * 27_io/basic_filebuf/seekpos/char/2-out.cc: New. | |
2544 | * 27_io/basic_filebuf/seekpos/char/2.cc: Change. | |
2545 | * 27_io/basic_filebuf/seekpos/char/3-in.cc: New. | |
2546 | * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove. | |
2547 | * 27_io/basic_filebuf/seekpos/char/3-out.cc: New. | |
2548 | * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove. | |
2549 | * data/seekoff-1.tst: Remove. | |
2550 | * data/seekoff-1io.tst: New. | |
2551 | * data/seekoff-1out.tst: New. | |
2552 | * data/seekoff-2.tst: Remove. | |
2553 | * data/seekoff-2io.tst: New. | |
2554 | * data/seekoff-2out.tst: New. | |
2555 | * data/seekoff.txt | |
2556 | * data/seekpos-1.tst: Remove. | |
2557 | * data/seekpos-1io.tst: New. | |
2558 | * data/seekpos-1out.tst: New. | |
2559 | * data/seekpos-2.tst: Remove. | |
2560 | * data/seekpos-2io.tst: New. | |
2561 | * data/seekpos-2out.tst: New. | |
2562 | * data/seekpos.txt: New. | |
2563 | ||
a5b1b26c | 2564 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
cf0cad09 JQ |
2565 | |
2566 | * src/locale.cc (__use_cache<numpunct>): Move from here ... | |
2567 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): To | |
2568 | here. | |
2569 | ||
884a757a PC |
2570 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
2571 | ||
2572 | * include/bits/stl_algobase.h: Fully qualify standard | |
2573 | functions with std::, thus avoiding Koenig lookup. | |
2574 | ||
5892c641 | 2575 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
e6cc3a24 | 2576 | |
5892c641 | 2577 | * include/bits/locale_facets.tcc (money_get::do_get): Avoid |
e6cc3a24 | 2578 | subscripting empty string. |
5892c641 | 2579 | |
7685a26d PE |
2580 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
2581 | ||
2582 | * testsuite/Makefile.am (check-am): Do not override. | |
2583 | (baseline_symbols): Declare as PHONY, so no need to 'touch' it. | |
2584 | * testsuite/Makefile.in: Regenerate. | |
2585 | ||
e6cc3a24 ZW |
2586 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
2587 | ||
d147b75b DG |
2588 | * testsuite/24_iterators/insert_iterator.cc (test01, test02): |
2589 | Don't initialize an insert_iterator with a singular iterator. | |
2590 | ||
44f0760e | 2591 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 2592 | |
44f0760e BK |
2593 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch. |
2594 | * aclocal.m4: Regenerate. | |
2595 | * configure.in (GLIBCPP_CHECK_PCH): Move, change to | |
2596 | GLIBCPP_ENABLE_PCH, default to yes. | |
2597 | * configure: Regenerate. | |
2598 | * docs/html/configopts.html: Add --enable-pch. | |
e6cc3a24 | 2599 | |
e37f7da7 PE |
2600 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
2601 | ||
2602 | * testsuite/lib/libstdc++-v3-dg.exp: Add comments. | |
2603 | (libstdc++-v3-init): Also set LD_RUN_PATH. | |
2604 | ||
cd16e04b PC |
2605 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
2606 | ||
fbfcbadc PC |
2607 | * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move |
2608 | from here to filebuf and stringbuf. | |
cd16e04b PC |
2609 | (~basic_streambuf()): Don't set _M_mode. |
2610 | (basic_streambuf()): Don't set _M_mode. | |
2611 | * include/std/std_fstream.h (_M_mode): Move here, from streambuf. | |
2612 | (~basic_filebuf()): Clean up. | |
2613 | * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode. | |
2614 | * include/std/std_sstream.h (_M_mode): Move here, from streambuf. | |
2615 | * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode. | |
2616 | * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. | |
2617 | * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. | |
2618 | * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. | |
2619 | * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. | |
2620 | ||
2621 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> | |
2622 | ||
2623 | * include/std/std_fstream.h (_M_underflow): Remove. | |
2624 | (uflow): Remove, inherited from streambuf. | |
2625 | (underflow): Only declare. | |
e6cc3a24 | 2626 | * include/bits/fstream.tcc (_M_underflow): Rename to |
cd16e04b PC |
2627 | underflow, to which is equivalent for __bump == false, |
2628 | simplify. | |
2629 | * include/std/std_sstream.h (_M_underflow): Remove. | |
2630 | (uflow): Remove, inherited from streambuf. | |
2631 | (underflow): Only declare. | |
e6cc3a24 | 2632 | * include/bits/sstream.tcc (_M_underflow): Rename to |
cd16e04b PC |
2633 | underflow, to which is equivalent for __bump == false, |
2634 | simplify. | |
2635 | ||
c868f37e PC |
2636 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
2637 | ||
fbfcbadc PC |
2638 | * include/bits/stl_algo.h: Fully qualify standard functions |
2639 | with std::, thus avoiding Koenig lookup. | |
c868f37e | 2640 | |
165f54e0 PC |
2641 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
2642 | ||
2643 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: | |
2644 | Improve type correctness-wise. | |
2645 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: | |
2646 | Likewise. | |
2647 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: | |
2648 | Likewise. | |
2649 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: | |
2650 | Likewise. | |
2651 | ||
90319d16 PC |
2652 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
2653 | ||
2654 | * include/std/std_streambuf.h (uflow): According to | |
2655 | 27.5.2.4.3,p16, don't check gptr() < egptr(). | |
2656 | ||
b417ae14 PC |
2657 | 2003-06-28 Paolo Carlini <pcarlini@unitus.it> |
2658 | ||
2659 | PR libstdc++/9875 | |
2660 | * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0. | |
2661 | (seekpos): Likewise. | |
2662 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: | |
2663 | New test. | |
2664 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: | |
2665 | New test. | |
2666 | ||
f1a22109 BK |
2667 | 2003-06-27 Benjamin Kosnik <bkoz@redhat.com> |
2668 | ||
2669 | * testsuite/testsuite_performance.h (__gnu_cxx_test): Change | |
2670 | output name to libstdc++-v3-performance.sum. | |
2671 | * testsuite/Makefile.am (CLEANFILES): Remove .performance. | |
2672 | * testsuite/Makefile.in: Regenerate. | |
e6cc3a24 | 2673 | |
f1a22109 BK |
2674 | 2003-06-27 Matthias Klose <doko@debian.org> |
2675 | ||
2676 | * testsuite/Makefile.am (check-abi, check-abi-verbose): Save | |
2677 | output of abi-check in libstdc++-v3-abi.sum. | |
2678 | * testsuite/Makefile.in: Regenerate. | |
2679 | ||
2e8a523f KW |
2680 | 2003-06-27 Krister Walfridsson <cato@df.lth.se> |
2681 | ||
2682 | * config/os/bsd/netbsd/ctype_noninline.h | |
2683 | (_C_ctype_): Declare. | |
2684 | (ctype<char>::classic_table): Return _C_ctype_ + 1. | |
2685 | (ctype<char>::ctype): Use classic_table. | |
2686 | ||
3461133d PC |
2687 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> |
2688 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
2689 | ||
2690 | PR libstdc++/9178 | |
2691 | * include/bits/fstream.tcc (_M_underflow): Properly estimate | |
2692 | the worst-case number of external bytes for a given get area. | |
2693 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New. | |
2694 | ||
2695 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> | |
2696 | Petur Runolfsson <peturr02@ru.is> | |
2697 | ||
2698 | PR libstdc++/11305 | |
2699 | * include/bits/fstream.tcc (overflow): Properly estimate the | |
2700 | worst-case number of external bytes for a given put area | |
2701 | (by using codecvt::max_length()). | |
2702 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New. | |
2703 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New. | |
2704 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New. | |
2705 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New. | |
2706 | ||
5648db54 NS |
2707 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
2708 | ||
2709 | * config/linker-map.gnu: Remove ; after __numpunct_cache. | |
2710 | ||
215f9e28 BK |
2711 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> |
2712 | ||
2713 | * include/bits/ios_base.h (ios_base::_M_getloc): Return reference | |
2714 | to the imbued locale. | |
2715 | * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use | |
2716 | _M_getloc. | |
2717 | (num_put::_M_convert_float): Use. | |
2718 | ||
2719 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> | |
2720 | Jerry Quinn <jlquinn@optonline.net> | |
2721 | ||
2722 | * config/linker-map.gnu: Add __numpunct_cache. | |
2723 | * config/locale/gnu/numeric_members.cc | |
2724 | (numpunct::_M_initialize_numpunct): Account for _M_data, fill in | |
2725 | all elements for "C" locale. | |
2726 | (numpunct::~numpunct): Delete _M_data. | |
e6cc3a24 | 2727 | * config/locale/generic/numeric_members.cc: Same. |
215f9e28 BK |
2728 | * include/bits/basic_ios.tcc |
2729 | (basic_ios::init): Remove __locale_cache bits. | |
2730 | (basic_ios::_M_cache_locale): Same. | |
e6cc3a24 | 2731 | * include/bits/ios_base.h: Same. Tweaks. |
215f9e28 BK |
2732 | * include/bits/locale_classes.h: Tweaks. Reorder classes. |
2733 | (__use_cache): Make friends with _Impl, locale. | |
2734 | (_Impl::_M_caches): Add. | |
2735 | (_Impl::_M_install_cache): Add. | |
2736 | * include/bits/locale_facets.h (__numpunct_cache): New. | |
2737 | (numpunct): Encapsulate data members in __numpunct_cache member, | |
2738 | _M_data. Adjust virtuals. | |
e6cc3a24 | 2739 | (numpunct::numpunct): New ctor for the same. |
215f9e28 | 2740 | (__locale_cache_base): Remove. |
e6cc3a24 | 2741 | (__locale_cache): Remove. |
215f9e28 BK |
2742 | * include/bits/locale_facets.tcc (__use_cache): New function, |
2743 | specializations. | |
2744 | (num_put::_M_convert_int, _M_convert_float, do_put): Use it. | |
2745 | * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w. | |
2746 | * src/ios.cc (ios_base::ios_base): Remove __locale_cache. | |
2747 | * src/locale-inst.cc: Same. Add __numpunct_cache. | |
2748 | * src/locale.cc: Tweak inlines. | |
2749 | (__use_cache): Define specializations. | |
2750 | * src/localename.cc: Use global bits. | |
2751 | (_Impl::~Impl): Deal with __numpunct_cache destruction. | |
2752 | (_Impl::_Impl): Same. Pre-cache standard numpunct facets. | |
2753 | (_Impl::_M_init_facet): Take into account __numpunct_cache. | |
2754 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers. | |
2755 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
2756 | ||
8370378a | 2757 | 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org> |
e6cc3a24 | 2758 | Paolo Carlini <pcarlini@unitus.it> |
8370378a NM |
2759 | |
2760 | * testsuite/performance/filebuf_copy.cc: New, testing char | |
2761 | by char file copy. | |
2762 | ||
2cfe4e68 | 2763 | 2003-06-26 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 2764 | Nathan C. Myers <ncm-nospam@cantrip.org> |
2cfe4e68 PC |
2765 | |
2766 | * include/bits/fstream.tcc (_M_underflow): When the actual | |
2767 | end of file is reached, set 'uncommitted' mode to allow a | |
2768 | next write without an intervening seek (see C++98 27.8.1.1,2 | |
2769 | and C89 7.9.5.3). | |
2770 | * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New. | |
2771 | ||
29d9ed97 NM |
2772 | 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org> |
2773 | ||
2774 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
2775 | sputc): Move inline, from here... | |
2776 | * include/std/std_streambuf.h: ... to here. | |
2777 | ||
2778 | * include/std/std_streambuf.h (snextc, sbumpc, sgetc, | |
2779 | sputbackc, sungetc, sputc): Use __builtin_expect. | |
2780 | ||
c1a62440 PE |
2781 | 2003-06-24 Phil Edwards <pme@gcc.gnu.org> |
2782 | ||
2783 | * docs/doxygen/mainpage.html: Use a useful title. | |
2784 | ||
cdc1242a BK |
2785 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
2786 | ||
2787 | * docs/html/documentation.html: Remove assignment info. | |
2788 | * docs/html/17_intro/contribute.html: Edits. | |
2789 | * docs/html/17_intro/libstdc++-assign.tx: Remove. | |
2790 | ||
2791 | * docs/html/test.html: Update. | |
2792 | ||
2793 | * README: Update. | |
e6cc3a24 | 2794 | |
1b6f0a56 | 2795 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 2796 | Ulrich Drepper <drepper@redhat.com> |
1b6f0a56 BK |
2797 | |
2798 | * testsuite/testsuite_performance.h: Tweak mallinfo. | |
2799 | ||
71b46021 | 2800 | 2003-06-24 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 2801 | Nathan C. Myers <ncm-nospam@cantrip.org> |
71b46021 PC |
2802 | |
2803 | * include/std/std_fstream.h (_M_filepos): Remove. | |
2804 | (_M_reading, _M_writing): New, encode the various I/O modes: | |
2805 | 'read', 'write' and 'uncommitted'. | |
2806 | (sync): If there is something to flush, do it, then go to | |
2807 | 'uncommitted' mode. | |
2808 | * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal | |
2809 | with three different cases: __off > 0 (upon underflow), | |
2810 | __off == 0 (upon overflow), __off == -1 (upon open, setbuf, | |
2811 | seekoff/pos). | |
2812 | (_M_underflow): Don't call overflow, set _M_reading to true | |
2813 | on success, tweak. | |
2814 | (pbackfail): Set _M_reading to true on pback creation, tweak. | |
2815 | (overflow): Don't seek, deal with overflow in 'uncommitted' mode, | |
2816 | set _M_writing to true on success, tweak. | |
2817 | (seekoff): Simplify, set _M_reading, _M_writing to false, call | |
2818 | _M_set_buffer(-1) ('uncommitted'). | |
2819 | (open, close, setbuf): Set _M_reading, _M_writing to false and | |
2820 | call _M_set_buffer(-1), tweak. | |
2821 | (basic_filebuf): Don't set _M_buf_unified. | |
2822 | (_M_destroy_internal_buffer): Don't call setg and setp. | |
2823 | * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading, | |
2824 | _M_writing and _M_set_buffer(-1). | |
2825 | * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur, | |
2826 | _M_out_lim, _M_buf_unified): Remove. | |
2827 | (basic_streambuf): Don't set _M_out_lim and _M_buf_unified. | |
e6cc3a24 | 2828 | (setp): Don't set _M_out_lim. |
71b46021 PC |
2829 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for |
2830 | the new logic ('read', 'write' and 'uncommitted' modes): e.g., | |
2831 | upon open the mode is 'uncommitted' and therefore the put area | |
2832 | pointers are null. | |
2833 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto. | |
2834 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto. | |
2835 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto. | |
2836 | * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto. | |
2837 | * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto. | |
2838 | * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto. | |
2839 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
2840 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto. | |
2841 | * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto. | |
2842 | * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto. | |
2843 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto. | |
2844 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto. | |
2845 | * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto. | |
2846 | * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto. | |
2847 | * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto. | |
2848 | * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto. | |
2849 | * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto. | |
2850 | * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto. | |
2851 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto. | |
2852 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto. | |
2853 | ||
2854 | * include/bits/fstream.tcc (showmanyc): Use only the | |
2855 | documented derivation interface to basic_streambuf (gptr(), | |
2856 | setg(), etc.) to work right with user specializations. | |
2857 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
2858 | sputc, xsgetn, xsputn, __copy_streambufs): Likewise. | |
2859 | * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc): | |
2860 | Likewise. | |
2861 | * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback, | |
2862 | xsgetn): Likewise. | |
2863 | ||
9eb6e1d3 LR |
2864 | 2003-06-23 Loren J. Rittle <ljrittle@acm.org> |
2865 | ||
2866 | * configure.host (freebsd*): Set abi_baseline_pair. | |
2867 | * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2 | |
2868 | (at or near first release) to 3.3. | |
2869 | * config/abi/i386-freebsd5/baseline_symbols.txt: New file. | |
2870 | * config/abi/alpha-freebsd5/baseline_symbols.txt: New file. | |
2871 | * config/abi/sparc-freebsd5/baseline_symbols.txt: New file. | |
2872 | ||
3d57d7ba | 2873 | * include/ext/mt_allocator.h: Portability. |
d1a2c4d6 | 2874 | * testsuite/testsuite_performance.h: Likewise. |
3d57d7ba | 2875 | |
c89c30dd BK |
2876 | 2003-06-23 Benjamin Kosnik <bkoz@redhat.com> |
2877 | ||
2878 | * docs/html/17_intro/libstdc++-assign.txt: Update address. | |
2879 | ||
2880 | * testsuite/performance/ifstream_getline.cc: Fix. | |
e6cc3a24 | 2881 | |
c89c30dd | 2882 | 2003-06-23 Doug Gregor <dgregor@apple.com> |
2b491e3a | 2883 | |
e6cc3a24 ZW |
2884 | * include/bits/boost_concept_check.h: Don't use _D or _R for type |
2885 | names. | |
2b491e3a | 2886 | |
1b170b55 PC |
2887 | 2003-06-22 Paolo Carlini <pcarlini@unitus.it> |
2888 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
2889 | ||
2890 | * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim | |
2891 | is now used only for filebuf, when _M_buf_unified is true. | |
2892 | epgtr() plays the role of _M_out_lim but it's only updated | |
2893 | upon overflow, underflow, uflow, seekoff/pos. | |
2894 | * include/bits/sstream.tcc (_M_underflow): New, implements | |
2895 | stringbuf::underflow and uflow. | |
2896 | (seekoff, seekpos): Tweak, use _M_update_egptr. | |
2897 | * include/std/std_sstream.h (str): Rewrote, deal correctly | |
2898 | with the new logic, in particular, when pptr() > egptr(). | |
2899 | (_M_sync): When __testout && !__testin set all the get area | |
2900 | pointers to the current string end. | |
2901 | (_M_update_egptr): New, internal function updating egptr() | |
2902 | to the actual string end. | |
2903 | (_M_underflow): New, declare. | |
2904 | (underflow): Dispatch to _M_underflow(false). | |
2905 | (uflow): Dispatch to _M_underflow(true). | |
2906 | ||
2907 | * include/bits/sstream.tcc (pbackfail, overflow, seekoff, | |
2908 | seekpos): Use only the documented derivation interface to | |
2909 | basic_streambuf (gptr(), setg(), etc.) to work right with | |
2910 | user specializations. | |
2911 | * include/std/std_sstream.h (str, _M_sync): Likewise. | |
2912 | ||
8dbe14be DG |
2913 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
2914 | ||
1b170b55 PC |
2915 | * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr |
2916 | * testsuite/21_strings/basic_string/replace/char/4.cc: Don't | |
2917 | dereference end iterator. | |
2918 | * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same. | |
2919 | * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with | |
2920 | index equal to the length of a string. | |
2921 | * testsuite/22_locale/ctype/narrow/char/2.cc: Same. | |
2922 | * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same. | |
2923 | * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same. | |
2924 | * testsuite/22_locale/ctype/widen/char/1.cc: Same. | |
2925 | * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same. | |
2926 | * testsuite/23_containers/list_modifiers.cc: Don't dereference | |
2927 | singular reverse iterator. | |
2928 | * testsuite/23_containers/vector_bool.cc: Don't increment singular | |
2929 | iterator. | |
2930 | * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator. | |
8dbe14be | 2931 | |
bdb0f0f5 DG |
2932 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
2933 | ||
e6cc3a24 | 2934 | * include/bits/basic_string.h (basic_string::replace): Dispatch |
bdb0f0f5 DG |
2935 | _InputIterator version based on _Is_integer. |
2936 | * include/bits/basic_string.tcc (basic_string::replace): | |
2937 | Renamed replace(iterator, iterator, size_type, _CharT) to | |
2938 | _M_replace_aux. | |
2939 | * testsuite/21_strings/basic_string/assign/char/1.cc (test01): | |
2940 | Test basic_string::assign(_InputIterator, _InputIterator), | |
2941 | which calls basic_string::replace(iterator, iterator, | |
2942 | _Input_iterator, _InputIterator). | |
2943 | ||
f5a6463e BK |
2944 | 2003-06-20 Benjamin Kosnik <bkoz@redhat.com> |
2945 | ||
2946 | * testsuite/testsuite_performance.h (resource_counter): Don't use | |
2947 | mallinfo at the moment. | |
2948 | ||
bbdfb3e8 MK |
2949 | 2003-06-20 Matthias Klose <doko@debian.org> |
2950 | ||
2951 | * configure.host: Set try_cpu to target_cpu for existing | |
2952 | baseline files. | |
2953 | ||
97460e9a AJ |
2954 | 2003-06-19 Andreas Jaeger <aj@suse.de> |
2955 | ||
2956 | * testsuite/Makefile.am (extract_symvers): Revert accidental | |
2957 | change. | |
2958 | * testsuite/Makefile.in: Regenerate. | |
2959 | ||
2960 | * configure.in: Pass MULTISUBDIR to testsuite/Makefile. | |
2961 | * configure: Regenerated. | |
2962 | ||
50af15ec PC |
2963 | 2003-06-19 Paolo Carlini <pcarlini@unitus.it> |
2964 | ||
2965 | * include/std/std_sstream.h (_M_sync): Make non virtual. | |
2966 | ||
ce4f8c6b BK |
2967 | 2003-06-18 Benjamin Kosnik <bkoz@redhat.com> |
2968 | ||
2969 | * testsuite/testsuite_performance.h (time_counter): New. | |
2970 | (resource_counter): New. | |
2971 | (report_performance): New. | |
2972 | (start_counters): New. | |
2973 | (stop_counters): New. | |
97460e9a | 2974 | (clear_counters): New. |
ce4f8c6b BK |
2975 | * testsuite/performance/allocator.cc: Instrument. |
2976 | * testsuite/performance/cout_insert_int.cc: Same. | |
2977 | * testsuite/performance/complex_norm.cc: Same. | |
2978 | * testsuite/performance/filebuf_sputc.cc: New. | |
2979 | * testsuite/performance/fstream_seek_write.cc: Same. | |
2980 | * testsuite/performance/ifstream_getline.cc: Same. | |
2981 | * testsuite/performance/map_create_fill.cc: Same. | |
2982 | * testsuite/performance/ofstream_insert_float.cc: Same. | |
2983 | * testsuite/performance/ofstream_insert_int.cc: Same. | |
97460e9a | 2984 | * testsuite/performance/string_append.cc: Convert. |
ce4f8c6b BK |
2985 | * scripts/check_performance: New. |
2986 | * testsuite/Makefile.am (check-performance): New. | |
2987 | (CLEANFILES): Add. | |
97460e9a | 2988 | |
b82a33d2 | 2989 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 2990 | Benjamin Kosnik <bkoz@redhat.com> |
b82a33d2 PC |
2991 | |
2992 | * include/std/std_sstream.h (setbuf): Check __n >= 0. | |
2993 | * include/bits/fstream.tcc (setbuf): Tweak. | |
2994 | ||
4c526d09 PC |
2995 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
2996 | ||
2997 | * include/bits/sstream.tcc (seekoff): We can't seek beyond | |
2998 | _M_out_lim, therefore _M_move_out_cur boils down to simply | |
2999 | updating _M_out_cur. | |
3000 | (seekpos): Likewise, clean up. | |
3001 | ||
c1b74c21 | 3002 | 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org> |
e6cc3a24 | 3003 | Paolo Carlini <pcarlini@unitus.it> |
c1b74c21 NM |
3004 | |
3005 | * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too, | |
3006 | simply equivalent to the unbuffered case (0, 0) as far as | |
3007 | _M_buf_size is concerned. | |
3008 | ||
a1af4623 AJ |
3009 | 2003-06-18 Andreas Jaeger <aj@suse.de> |
3010 | ||
3011 | * testsuite/Makefile.am (new-abi-baseline): Create baseline | |
3012 | directory. | |
3013 | (baseline_file): Use baseline_dir. | |
3014 | (baseline_dir): New. | |
3015 | (mkinstalldirs): New. | |
3016 | ||
3017 | * acinclude.m4: Rename baseline_file to baseline_dir, strip | |
3018 | filename from baseline_dir. | |
3019 | ||
3020 | * testsuite/Makefile.in: Regenerated. | |
3021 | * Makefile.in: Regenerated. | |
3022 | * aclocal.m4: Regenerated. | |
3023 | * configure: Regenerated. | |
3024 | ||
2f934953 BK |
3025 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
3026 | ||
3027 | * configure.in: Missed check_survey bit. | |
3028 | * configure: Regenerated. | |
3029 | ||
0676e930 BK |
3030 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
3031 | ||
3032 | * scripts: New. | |
3033 | * config/abi/extract_symvers: Move to... | |
3034 | * scripts/extract_symvers: ...here. | |
3035 | * mkcheck.in: Move to.. | |
3036 | * scripts/check_survey.in: ...here. | |
3037 | * testsuite_flags.in: Move to.. | |
3038 | * scripts/testsuite_flags.in: ...here. | |
3039 | * configure.in: Change check and testsuite_flags locations. | |
3040 | * configure: Regenerate. | |
3041 | * testsuite/Makefile.am (current_symbols.txt): Change location. | |
3042 | * testsuite/Makefile.in: Regenerate. | |
3043 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify | |
3044 | location of testsuite_flags. | |
3045 | * Makefile.am (check-script): Move.. | |
3046 | (check-script-install): Move... | |
a1af4623 | 3047 | * testsuite/Makefile.am: ... here. |
0676e930 | 3048 | * testsuite/Makefile.in: Regenerate. |
a1af4623 AJ |
3049 | * Makefile.in: Regenerate. |
3050 | ||
82620aaf BK |
3051 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
3052 | ||
3053 | * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0. | |
3054 | ||
c4c064e7 BK |
3055 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
3056 | ||
3057 | * Makefile.am (check-abi): Move... | |
3058 | (new-abi-baseline): Move... | |
3059 | * testsuite/Makefile.am: ...here. | |
3060 | (new-abi-baseline): Conditionalize. | |
3061 | (check-abi): Conditionalize. | |
3062 | (check-abi-verbose): New. | |
3063 | * Makefile.in: Regenerate. | |
a1af4623 | 3064 | * testsuite/Makefile.in: Regenerate. |
c4c064e7 BK |
3065 | * configure.in: Consolidate testsuite configure bits. |
3066 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same. | |
3067 | * configure: Regenerate. | |
a1af4623 | 3068 | * aclocal.m4: Regenerate. |
c4c064e7 BK |
3069 | * testsuite/abi_check.cc: Add --check-verbose. |
3070 | Only output detailed information if --check-verbose. | |
3071 | ||
e7bb3511 | 3072 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
a1af4623 | 3073 | |
e6cc3a24 | 3074 | * testsuite/abi_check.cc: Create summary report. |
a1af4623 | 3075 | |
8363b773 PC |
3076 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
3077 | ||
3078 | * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix | |
3079 | for systems with BUFSIZ != 8192. | |
3080 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
3081 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: | |
3082 | Minor tweaks. | |
3083 | ||
5ab481e0 BK |
3084 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
3085 | ||
3086 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make | |
3087 | check-abi multilib aware. | |
3088 | * aclocal.m4: Regenerate. | |
3089 | * configure: Regenerate. | |
a1af4623 | 3090 | |
5ab481e0 | 3091 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 3092 | Andreas Jaeger <aj@suse.de> |
5ab481e0 BK |
3093 | |
3094 | * configure.host: Set x86_64 abi_baseline pair correctly. | |
3095 | ||
0bad3b7c PC |
3096 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
3097 | ||
3098 | * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and | |
e6cc3a24 | 3099 | fix for missing seeks between gets and puts into... |
0bad3b7c PC |
3100 | * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New. |
3101 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New. | |
3102 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New. | |
3103 | * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New. | |
3104 | * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New. | |
3105 | * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New. | |
a1af4623 | 3106 | |
dc4add82 RH |
3107 | 2003-06-15 Richard Henderson <rth@redhat.com> |
3108 | ||
3109 | * config/linker-map.gnu: Export virtual function thunks for | |
3110 | 64-bit systems too. | |
3111 | ||
ef16a298 BK |
3112 | 2003-06-13 Benjamin Kosnik <bkoz@redhat.com> |
3113 | ||
3114 | * config/abi/i686-pc-linux-gnu: To.. | |
3115 | * config/abi/i486-linux-gnu: ...this. | |
3116 | * config/abi/alphaev67-unknown-linux-gnu: To.. | |
3117 | * config/abi/alpha-linux-gnu: ...this. | |
3118 | * config/abi/ia64-unknown-linux-gnu: To... | |
3119 | * config/abi/ia64-linux-gnu: ...this. | |
3120 | * config/abi/x86_64-unknown-linux-gnu: To... | |
3121 | * config/abi/x86_64-linux-gnu: ...this. | |
3122 | * config/abi/i386-unknown-freebsd4: To... | |
3123 | * config/abi/i386-freebsd4: ...this. | |
5ab481e0 BK |
3124 | * config/linker-map.gnu: Cleanups, move libsupc++ bits into |
3125 | CXXABI. | |
ef16a298 BK |
3126 | * configure.host: abi_baseline_triplet to abi_baseline_pair. |
3127 | Simplify cpu bits so that abi_baseline_pair can use the same | |
3128 | cpu configuration. | |
3129 | * acinclude.m4: Same. | |
3130 | * aclocal.m4: Regenerate. | |
3131 | * configure.in: Can't get enable_abi_check to yes unless native. | |
3132 | * configure: Regenerate. | |
3133 | ||
ed242935 PC |
3134 | 2003-06-13 Paolo Carlini <pcarlini@unitus.it> |
3135 | ||
3136 | * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and | |
3137 | fix for missing seeks between gets and puts into... | |
3138 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New. | |
3139 | * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New. | |
3140 | * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into... | |
3141 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New. | |
3142 | * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New. | |
3143 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix | |
3144 | for missing seeks between gets and puts. | |
3145 | * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto. | |
3146 | * testsuite/data/seekoff-1.tst: New. | |
3147 | * testsuite/data/seekoff-2.tst: New. | |
3148 | * testsuite/data/seekpos-1.tst: New. | |
3149 | * testsuite/data/seekpos-2.tst: New. | |
3150 | ||
ca566e4c NM |
3151 | 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org> |
3152 | ||
3153 | Avoid multi-processor bus contention on increment/decrement-and- | |
a1af4623 | 3154 | test of the reference count in the empty-string object, by comparing |
e6cc3a24 ZW |
3155 | addresses first, and never touching the reference count of the empty- |
3156 | string object. | |
ca566e4c NM |
3157 | * include/bits/basic_string.h: |
3158 | (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its | |
3159 | members. | |
a1af4623 | 3160 | (_Rep::_S_empty_rep()): New accessor. |
ca566e4c NM |
3161 | (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to |
3162 | a base class _Rep_base. | |
3163 | (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string. | |
3164 | (basic_string()): Change to use _M_refdata() in place of _M_refcopy(), | |
3165 | since no longer must increment its refcount. | |
3166 | * include/bits/basic_string.tcc: | |
a1af4623 | 3167 | (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and |
e6cc3a24 ZW |
3168 | return immediately. The former might be unnecessary. The latter |
3169 | prevents begin() and end() from cloning it unnecessarily. | |
ca566e4c NM |
3170 | (_S_construct(_InIterator, _InIterator, const _Alloc&, |
3171 | input_iterator_tag), _S_construct(_InIterator, _InIterator, | |
3172 | const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT, | |
3173 | const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy(). | |
3174 | (_M_mutate): Check for the empty string and treat it as shared. | |
e6cc3a24 ZW |
3175 | This is necessary here because _M_mutate is sometimes called with |
3176 | all-zero arguments; in all other uses of _M_is_shared, the test comes | |
3177 | out right anyhow. | |
a1af4623 | 3178 | |
c37514ff BK |
3179 | 2003-06-12 Benjamin Kosnik <bkoz@redhat.com> |
3180 | ||
3181 | * src/allocator-inst.cc: Explicitly instantiate. | |
3182 | * include/ext/pool_allocator.h: Inhibit implicit instantiations. | |
3183 | Tweaks. | |
3184 | * config/linker-map.gnu: Add __pool_alloc bits. Tweaks. | |
a1af4623 | 3185 | |
58ac1d7f BK |
3186 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
3187 | ||
3188 | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. | |
3189 | * aclocal.m4: Regenerate. | |
3190 | * Makefile.am (SUBDIRS): Remove libio. | |
3191 | * Makefile.in: Regenerate. | |
3192 | * configure.in: Same. | |
3193 | * configure: Regenerate. | |
3194 | * config/io/basic_file_libio.cc: Remove. | |
a1af4623 | 3195 | * config/io/basic_file_libio.h: Remove. |
58ac1d7f | 3196 | * config/io/c_io_libio_codecvt.c: Remove. |
a1af4623 | 3197 | * config/io/c_io_libio.h: Remove. |
58ac1d7f BK |
3198 | * libio/*: Remove. |
3199 | * src/Makefile.am: Same. | |
3200 | * src/Makefile.in: Regenerate. | |
a1af4623 | 3201 | * docs/html/configopts.html: Edits. |
58ac1d7f | 3202 | * docs/html/explanations.html: Edits. |
a1af4623 | 3203 | |
1ff9402d BK |
3204 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
3205 | ||
3206 | * include/bits/stl_alloc.h (__debug_alloc): Move out. | |
3207 | (__malloc_alloc): Same. | |
3208 | (__pool_alloc): Same. | |
3209 | (__new_alloc): Same. | |
3210 | Rename to.. | |
3211 | * include/bits/allocator.h: ...this. | |
3212 | * include/bits/stl_deque.h: Modify comment. | |
3213 | * include/bits/stl_tree.h: Modify include. | |
3214 | * include/std/std_memory.h: Same. | |
3215 | * include/ext/rope: Same. | |
a1af4623 | 3216 | * include/ext/slist: Same. |
1ff9402d BK |
3217 | * include/std/std_vector.h: Same. |
3218 | * include/std/std_stack.h: Same. | |
3219 | * include/std/std_queue.h: Same. | |
3220 | * include/std/std_list.h: Same. | |
3221 | * include/std/std_deque.h: Same. | |
3222 | * include/backward/alloc.h: Same. | |
3223 | * include/ext/debug_allocator.h: New. | |
a1af4623 AJ |
3224 | * include/ext/malloc_allocator.h: New. |
3225 | * include/ext/pool_allocator.h: New. | |
1ff9402d BK |
3226 | * include/ext/new_allocator.h: New. |
3227 | * include/bits/pthread_allocimpl.h: Remove. | |
a1af4623 | 3228 | * include/bits/stl_pthread_alloc.h: Remove. |
1ff9402d BK |
3229 | * include/Makefile.am (ext_headers): Add. |
3230 | * include/Makefile.in: Regenerate. | |
3231 | * src/stl-inst.cc: Use __gnu_cxx namespace. | |
3232 | * src/stl-inst.cc: Move to... | |
3233 | * src/allocator-inst.cc: Here. | |
3234 | * src/Makefile.am (sources): Update. | |
3235 | * src/Makefile.in: Regenerate. | |
3236 | * config/linker-map.gnu: Remove __pool_alloc bits. | |
3237 | * testsuite/ext/headers.cc: Add. | |
3238 | * testsuite/ext/allocators.cc: Fixup. | |
a1af4623 | 3239 | |
1ff9402d | 3240 | 2003-06-11 Stefan Olsson <stefan@snon.net> |
e6cc3a24 | 3241 |