]>
Commit | Line | Data |
---|---|---|
fea4065d BK |
1 | 2003-07-17 Benjamin Kosnik <bkoz@redhat.com> |
2 | ||
3 | * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache. | |
4 | * config/locale/generic/messages_members.h: Tweaks. | |
5 | * config/locale/generic/monetary_members.cc | |
6 | (moneypunct::_M_initialize_moneypunct): Use cache. | |
7 | (moneypunct::~moneypunct): Delete cache. | |
8 | * config/locale/generic/time_members.cc: | |
9 | (__timepunct::_M_initialize_timepunct): Use cache. | |
10 | * config/locale/generic/time_members.h: | |
11 | (__timepunct::~__timepunct): Delete cache. | |
12 | (__timepunct::__timepunct): Set cache. | |
13 | * config/locale/gnu/messages_members.h: Tweaks. | |
14 | * config/locale/gnu/monetary_members.cc: | |
15 | (moneypunct::_M_initialize_moneypunct): Use cache. | |
16 | (moneypunct::~moneypunct): Delete cache. | |
17 | * config/locale/gnu/time_members.cc: | |
18 | (__timepunct::_M_initialize_timepunct): Use cache. | |
19 | * config/locale/gnu/time_members.h: | |
20 | (__timepunct::~__timepunct): Delete cache. | |
21 | (__timepunct::__timepunct): Set cache. | |
22 | * include/bits/locale_facets.h (__timepunct_cache): New. | |
23 | (__moneypunct_cache): New. | |
24 | * include/bits/locale_facets.tcc: Tweak. | |
25 | * src/locale.cc (__timepunct::_S_timezones): Adjust for cache. | |
26 | * src/locale-inst.cc: Instantiate caches. | |
27 | * src/globals.cc: Add "C" caches. | |
28 | * src/localename.cc: Use external "C" caches. | |
29 | ||
83a279e4 PE |
30 | 2003-07-17 Phil Edwards <pme@gcc.gnu.org> |
31 | ||
32 | * docs/doxygen/guide.html: Fix typo. | |
33 | ||
db5eed18 BK |
34 | 2003-07-16 Benjamin Kosnik <bkoz@redhat.com> |
35 | ||
36 | * include/ext/pod_char_traits.h: Add state template argument. | |
37 | ||
7942afdc BK |
38 | 2003-07-16 Benjamin Kosnik <bkoz@redhat.com> |
39 | ||
40 | * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX. | |
41 | (num_get::_M_convert_int): To _M_insert_int. | |
42 | (num_get::_M_convert_float): To _M_insert_float. | |
43 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
44 | Use caches for ctype, num_get. | |
45 | (num_get::_M_extract_int): Same. | |
46 | (num_get::get(bool)): Same. | |
47 | (__verify_grouping): Use size_t. | |
48 | * src/locale-inst.cc: Update. | |
49 | * src/locale.cc: Adjust _S_atoms_in. | |
50 | ||
1ef4a5d4 PE |
51 | 2003-07-16 Phil Edwards <pme@gcc.gnu.org> |
52 | ||
53 | * docs/doxygen/mainpage.html: Move building/writing instructions... | |
54 | * docs/doxygen/guide.html: ...to here. New file. | |
55 | ||
dced0d12 JW |
56 | 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org> |
57 | ||
58 | * docs/html/ext/howto.html: Update URL for SGI STL docs. | |
59 | * docs/html/faq/index.html: Same. | |
60 | * docs/html/faq/index.txt: Regenerate. | |
61 | ||
e50344b9 PC |
62 | 2003-07-16 Paolo Carlini <pcarlini@unitus.it> |
63 | ||
64 | PR libstdc++/11528 | |
65 | * include/bits/locale_facets.tcc (money_get::do_get): | |
66 | Strip only _leading_ zeros. | |
67 | * testsuite/22_locale/money_get/get/char/11528.cc: Add. | |
68 | * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add. | |
69 | ||
94b7906a GP |
70 | 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
71 | ||
72 | * include/ext/hash_map (class hash_multimap): Remove extra | |
73 | semicolons from __glibcxx_class_requires3 entries. | |
74 | * include/ext/hash_set (class hash_set): Ditto. | |
75 | (class hash_multiset): Ditto. | |
76 | ||
73a530bd PR |
77 | 2003-07-15 Petur Runolfsson <peturr02@ru.is> |
78 | ||
79 | * include/bits/char_traits.h (char_traits<wchar_t>::move): | |
80 | Change last parameter from int_type to size_t. | |
81 | ||
119dbb1f JQ |
82 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
83 | ||
84 | * include/bits/stl_algo.h (includes, set_union, set_intersection, | |
85 | set_difference, set_symmetric_difference, max_element, min_element, | |
86 | next_permutation, prev_permutation, find_first_of, find_end): | |
87 | Document. | |
88 | * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap | |
89 | restrictions in docs. | |
90 | * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap): | |
91 | Document. | |
92 | * docs/doxygen/doxygroups.cc (setoperations): New group. | |
93 | ||
284f19bf JQ |
94 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
95 | ||
96 | * include/bits/basic_string.h: Document public functions. | |
97 | * docs/doxygen/TODO: Update c21 todo. | |
98 | ||
709e7c9f JQ |
99 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
100 | ||
101 | * include/bits/stl_list.h: Document more functions. | |
102 | * docs/doxygen/TODO: Update c23 todo. | |
103 | ||
f45e487d PC |
104 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
105 | ||
106 | * config/locale/gnu/c_locale.h (__convert_from_v): One more | |
107 | qualification. | |
108 | ||
f088510d PC |
109 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
110 | ||
111 | * include/bits/stl_tempbuf.h: Qualify free with std::. | |
112 | * src/locale.cc: Include <cstdlib>, qualify getenv. | |
113 | ||
2def5b76 PC |
114 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
115 | ||
116 | * config/locale/gnu/c_locale.h (__convert_from_v): Include | |
117 | <cstdio>. Qualify names. | |
118 | * config/locale/generic/c_locale.h (__convert_from_v): Ditto. | |
119 | ||
bda243ec PC |
120 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
121 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
122 | ||
123 | PR libstdc++/11378 | |
124 | * include/std/std_fstream.h (xsputn): Declare only. | |
125 | * include/bits/fstream.tcc (xsputn): Define, optimize for the | |
126 | always_noconv() case: when __n is sufficiently large flush | |
127 | the buffer and issue a direct write, if possible combining the | |
128 | two with writev in __basic_file<>::xsputn_2. | |
129 | * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2): | |
130 | New, declare. | |
131 | * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2): | |
132 | Define. | |
133 | * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for | |
134 | the availability of writev in <sys/uio.h>. | |
135 | * configure.in: Call here. | |
136 | * acconfig.h: Add undef for the corresponding symbol. | |
137 | * aclocal.m4: Regenerate. | |
138 | * configure: Regenerate. | |
139 | * config.h.in: Regenerate. | |
140 | * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak. | |
141 | ||
142 | * include/std/std_fstream.h (sync): Constify a variable. | |
143 | ||
c573d965 BK |
144 | 2003-07-14 Benjamin Kosnik <bkoz@redhat.com> |
145 | ||
146 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers. | |
147 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
148 | ||
3ad249b9 GDR |
149 | 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net> |
150 | ||
151 | * config/locale/gnu/c_locale.h (__convert_from_v): Include | |
152 | <cstring> and <cstdlib>. Qualify names. | |
153 | ||
f2ffecb1 MM |
154 | 2003-07-13 Mark Mitchell <mark@codesourcery.com> |
155 | ||
156 | * config/locale/generic/c_locale.h: Include <cstdlib> and | |
157 | <cstring>. | |
158 | * include/bits/boost_concept_check.h: Add this-> to unqualified | |
159 | method calls. | |
160 | * include/bits/deque.tcc: Likewise. | |
161 | * include/bits/locale_facets.h : Likewise. | |
162 | * include/bits/ostream.tcc: Likewise. | |
163 | * include/bits/stl_algo.h: Likewise. | |
164 | * include/bits/stl_bvector.h: Likewise. | |
165 | * include/bits/stl_deque.h: Likewise. | |
166 | * include/bits/stl_list.h: Likewise. | |
167 | * include/bits/stl_tree.h: Likewise. | |
168 | * include/bits/stl_vector.h: Likewise. | |
169 | * include/bits/vector.tcc: Likewise. | |
170 | * include/ext/rope: Likewise. | |
171 | * include/ext/ropeimpl.h: Likewise. | |
172 | * include/ext/stdio_filebuf.h: Likewise. | |
173 | ||
e2fcbaa3 JQ |
174 | 2003-07-11 Jerry Quinn <jlquinn@optonline.net> |
175 | ||
176 | * include/bits/basic_ios.h (copyfmt): Document. | |
177 | * include/bits/ios_base.h (event, event_callback, register_callback, | |
178 | xalloc, iword, pword): Document. | |
179 | (imbue, ~ios_base): Update docs on callbacks. | |
180 | ||
58579a27 PE |
181 | 2003-07-11 Phil Edwards <pme@gcc.gnu.org> |
182 | ||
183 | * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add | |
184 | warning messages if the environment cannot support symbol versioning. | |
185 | (port_specific_symbol_file): It's plural, add an 's' on the end. | |
186 | * configure.host: Likewise. | |
187 | * src/Makefile.am: Likewise. | |
188 | * config/linker-map.gnu: Remove one semicolon, heh. | |
189 | * scripts/extract_symvers: Don't assume useful 'export' syntax. | |
190 | Set LANG as well as LC_ALL for possibly-broken sort(1)s. | |
191 | * aclocal.m4, configure, src/Makefile.in: Regenerated. | |
192 | ||
cde63840 BK |
193 | 2003-07-09 Benjamin Kosnik <bkoz@redhat.com> |
194 | ||
195 | * include/bits/locale_facets.tcc: Use function object for | |
196 | __use_cache instead of template function. Partially specialize for | |
197 | __numpunct<_CharT>. | |
198 | * include/bits/locale_classes.h: Update friend declaration for | |
199 | __use_cache. | |
200 | (_M_install_cache): No throw exception specs. | |
201 | * src/locale.cc: Remove __use_cache specializations. | |
202 | * include/ext/pod_char_traits.h (length): Tweak. | |
203 | * include/bits/locale_facets.h (__numpunct_cache): Remove | |
204 | char_type typedef. | |
205 | * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove. | |
206 | (pod_long): Remove. | |
207 | * testsuite/22_locale/numpunct/members/char/cache_1.cc: New. | |
208 | * testsuite/22_locale/numpunct/members/char/cache_2.cc: New. | |
209 | * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New. | |
210 | * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New. | |
211 | * testsuite/22_locale/numpunct/members/pod/1.cc: New. | |
212 | * testsuite/22_locale/numpunct/members/pod/2.cc: New. | |
213 | ||
e7f042e4 JQ |
214 | 2003-07-09 Jerry Quinn <jlquinn@optonline.net> |
215 | ||
216 | * src/ios.cc (_M_grow_words): Fix spelling. | |
217 | ||
ca1c7011 GB |
218 | 2003-07-09 Gawain Bolton <gp.bolton@computer.org> |
219 | ||
220 | * include/bits/stl_tree.h: Move larger member functions in | |
221 | _Rb_tree_base_iterator and _Rb_tree_node to... | |
222 | * src/stl_tree.cc: Here. | |
223 | * src/Makefile.in: Add stl_tree.cc. | |
224 | * src/Makefile.in: Regenerated. | |
225 | * config/linker-map.gnu: Add symbols here. | |
226 | ||
9e7facfd BK |
227 | 2003-07-08 Benjamin Kosnik <bkoz@redhat.com> |
228 | ||
229 | * testsuite/ext/pod_char_traits.cc: New. | |
230 | * include/ext/pod_char_traits.h: New. | |
231 | * include/Makefile.am (ext_headers): Add pod_char_traits.h. | |
232 | * include/Makefile.in: Regenerate. | |
233 | * docs/html/21_strings/howto.html: Update. | |
ca1c7011 | 234 | |
e55dc371 GB |
235 | 2003-07-08 Gawain Bolton <gp.bolton@computer.org> |
236 | ||
237 | * testsuite/performance/list_create_fill_sort.cc: New. | |
238 | ||
c094e9b9 BK |
239 | 2003-07-08 Benjamin Kosnik <bkoz@redhat.com> |
240 | ||
241 | * config/locale/generic/numeric_members.cc: Correct type info. | |
242 | * config/locale/gnu/numeric_members.cc: Same. | |
243 | * include/bits/locale_facets.h: Same. | |
244 | ||
245 | * include/bits/char_traits.h: Correct spacing. | |
246 | ||
247 | * src/locale.cc: Wrap to 80 col. | |
248 | ||
a8784c4c PC |
249 | 2003-07-07 Paolo Carlini <pcarlini@unitus.it> |
250 | ||
251 | * include/std/std_complex.h: Partially revert last | |
252 | changes: cmath functions must not be qualified. | |
253 | ||
313dd504 PE |
254 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
255 | ||
256 | * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils | |
257 | 2.11 with globbing backport fix. | |
258 | * aclocal.m4, configure: Regenerated. | |
259 | ||
6623b2f2 PC |
260 | 2003-07-06 Paolo Carlini <pcarlini@unitus.it> |
261 | ||
262 | * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback: | |
263 | if output is at all possible (!_M_reading), cannot be active. | |
264 | ||
265 | * include/std/std_fstream.h: Tweak comments to doxygen style. | |
266 | ||
391cfc46 PC |
267 | 2003-07-06 Paolo Carlini <pcarlini@unitus.it> |
268 | ||
269 | * include/bits/locale_classes.h: Fully qualify standard | |
270 | functions with std::, thus avoiding Koenig lookup. | |
271 | * include/bits/locale_facets.tcc: Likewise. | |
272 | * src/locale.cc: Likewise. | |
273 | * src/localename.cc: Likewise. | |
274 | ||
48166869 PE |
275 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
276 | ||
277 | * include/bits/allocator_traits.h: Fix doxygen markup. | |
278 | * include/ext/mt_allocator.h: Likewise. | |
279 | ||
aaa4a229 PE |
280 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
281 | ||
282 | * testsuite/testsuite_hooks.h: Guard against a missing unlink(). | |
283 | ||
e6b7a69a PE |
284 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
285 | ||
286 | * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version | |
287 | requirement. Add port_specific_symbol_file variable. | |
288 | * configure.host: Add docs for port_specific_symbol_file. | |
289 | Clean up try_cpu block for x86. | |
290 | * config/linker-map.gnu: No more "last symbol can't have a | |
291 | semicolon" kaka. Add hook for port-specific symbols. | |
292 | * src/Makefile.am: Remove trailing whitespace. | |
293 | (libstdc++-symbol.ver): Detect the presence of port-specific | |
294 | symbols, and add them accordingly. | |
295 | ||
296 | * docs/html/17_intro/porting.texi: Bring up to date. | |
297 | ||
298 | * src/Makefile.in, aclocal.m4, configure, | |
299 | docs/html/17_intro/porting.html: Regenerated. | |
300 | ||
ac3d7b44 PE |
301 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
302 | ||
303 | * scripts/create_testsuite_files: New file. | |
304 | * testsuite/Makefile.am (all-local, check-performance): Use it. | |
305 | * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove. | |
306 | * testsuite/Makefile.in: Regenerated. | |
307 | ||
308 | * testsuite/performance/filebuf_sputc.cc: Remove the temporary | |
309 | files at the end. | |
310 | * testsuite/performance/fstream_seek_write.cc: Likewise. | |
311 | * testsuite/performance/ofstream_insert_float.cc: Likewise. | |
312 | * testsuite/performance/ofstream_insert_int.cc: Likewise. | |
313 | * testsuite/abi_check.cc (main): Nicer spacing in usage output. | |
314 | ||
e3d51be2 GB |
315 | 2003-07-05 Gawain Bolton <gp.bolton@computer.org> |
316 | ||
317 | * include/bits/stl_list.h: Performance and memory usage | |
c094e9b9 BK |
318 | improvements. In particular, the behaviour of the constructor and |
319 | destructor as the list header node is no longer dynamically | |
320 | allocated/de-allocated. | |
e3d51be2 GB |
321 | * include/bits/list.tcc: Likewise. |
322 | ||
eb9a4231 PC |
323 | 2003-07-05 Paolo Carlini <pcarlini@unitus.it> |
324 | ||
325 | * include/std/std_complex.h: Fully qualify standard | |
326 | functions with std::, thus avoiding Koenig lookup. | |
327 | * include/std/std_memory.h: Likewise. | |
328 | * include/std/std_valarray.h: Likewise. | |
329 | ||
f92c5313 GB |
330 | 2003-07-05 Gawain Bolton <gp.bolton@computer.org> |
331 | ||
332 | * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local | |
333 | variable for grandparent and use const | |
334 | ||
8b87d3fa DB |
335 | 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com> |
336 | ||
337 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin | |
338 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto | |
339 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto | |
340 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto | |
341 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto | |
342 | * testsuite/27_io/objects/char/7.cc: Ditto | |
343 | * testsuite/27_io/objects/char/9661-1.cc: Ditto | |
344 | ||
a8cad3e1 PC |
345 | 2003-07-05 Paolo Carlini <pcarlini@unitus.it> |
346 | ||
347 | * include/std/std_bitset.h: Fully qualify standard | |
348 | functions with std::, thus avoiding Koenig lookup. | |
349 | ||
350 | * include/std/std_fstream.h: Change comment to doxygen style. | |
351 | ||
2778669a PE |
352 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
353 | ||
354 | * include/std/std_limits.h: More CPP->CXX changes. | |
355 | * scripts/check_survey.in: Likewise. | |
356 | ||
3d7c150e BK |
357 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
358 | ||
359 | Move from CPP to CXX. | |
360 | * include/bits/c++config: Move to GLIBCXX from GLIBCPP. | |
361 | * testsuite/Makefile.am: Same. | |
362 | * testsuite/Makefile.in: Regenerate. | |
363 | * po/Makefile.am: Same. | |
364 | * po/Makefile.in: Regenerate. | |
365 | * libsupc++/Makefile.am: Same. | |
366 | * libsupc++/Makefile.in: Regenerate. | |
367 | * libmath/Makefile.am: Same. | |
368 | * libmath/Makefile.in: Regenerate. | |
369 | * include/Makefile.am: Same. | |
370 | * include/Makefile.in: Regenerate. | |
371 | * src/Makefile.am: Same. | |
372 | * src/Makefile.in: Regenerate. | |
373 | * acconfig.h: Same. | |
374 | * configure.host: Same. | |
375 | * configure.in: Same. | |
376 | * configure: Regenerate. | |
377 | * acinclude.m4: Same. | |
378 | * aclocal.m4: Same. | |
379 | * src: Change all files in this directory. | |
380 | * testsuite: Same. | |
381 | * include: Same, standardize include guards. | |
382 | * config: Same. | |
383 | * libsupc++: Same. | |
384 | ||
e6cc3a24 ZW |
385 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
386 | ||
387 | * testsuite/22_locale/collate/compare/wchar_t/2.cc | |
388 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc | |
389 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc | |
390 | * testsuite/22_locale/collate/hash/wchar_t/2.cc | |
391 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc | |
392 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc | |
393 | * testsuite/22_locale/collate/transform/wchar_t/2.cc | |
394 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc | |
395 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: | |
396 | XFAIL on all targets. | |
397 | ||
d542f114 BK |
398 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
399 | ||
400 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable. | |
401 | * aclocal.m4: Regenerate. | |
402 | * configure: Regenerate. | |
e6cc3a24 | 403 | |
d542f114 BK |
404 | 2003-07-04 Jerry Quinn <jlquinn@optonline.net> |
405 | ||
406 | * include/bits/locale_facets.tcc (__int_to_char): Move common case | |
407 | to the top. | |
408 | ||
69ef29fd | 409 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 ZW |
410 | Petur Runolfsson <peturr02@ru.is> |
411 | ||
69ef29fd BK |
412 | * config/io/basic_file_stdio.cc: Revert. |
413 | ||
5b5bf717 PC |
414 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
415 | ||
416 | * include/bits/deque.tcc: Fully qualify standard | |
417 | functions with std::, thus avoiding Koenig lookup. | |
418 | * include/bits/gslice_array.h: Likewise. | |
419 | * include/bits/indirect_array.h: Likewise. | |
420 | * include/bits/list.tcc: Likewise. | |
421 | * include/bits/mask_array.h: Likewise. | |
422 | * include/bits/slice_array.h: Likewise. | |
423 | ||
7f6dd1ca GB |
424 | 2003-07-04 Gawain Bolton <gbolton@free.fr> |
425 | ||
426 | * include/bits/stl_tree.h: Performance and memory usage | |
427 | improvements. | |
428 | ||
8c90b13a L |
429 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
430 | ||
431 | * Makefile.am: Replace PWD with PWD_COMMAND. | |
432 | * Makefile.in: Regenerated. | |
433 | * docs/html/Makefile: Likewise. | |
434 | ||
2f805868 PC |
435 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
436 | ||
437 | * include/bits/valarray_array.h: Fully qualify standard | |
438 | functions with std::, thus avoiding Koenig lookup. | |
439 | * include/bits/vector.tcc: Likewise. | |
440 | ||
a30335e9 BK |
441 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
442 | ||
443 | * include/Makefile.am: Update target_ to host_. | |
444 | * include/Makefile.in: Regenerate. | |
445 | * src/Makefile.am: Same. | |
446 | * src/Makefile.in: Regenerate. | |
447 | ||
448 | * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support. | |
e6cc3a24 | 449 | |
d8d81f62 BK |
450 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
451 | ||
452 | * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To | |
453 | --enable-libstdcxx-debug-flags. | |
454 | (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug. | |
455 | (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch. | |
456 | * aclocal.m4: Regenerate. | |
457 | * configure: Same. | |
458 | * docs/html/configopts.html: Update. | |
e6cc3a24 | 459 | |
10ef4e2e PC |
460 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
461 | ||
462 | Revert the fix for libstdc++/11378. | |
463 | ||
ac2c48d7 PC |
464 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
465 | ||
466 | PR libstdc++/11378 | |
467 | * include/std/std_fstream.h (xsputn): In the unbuffered case, | |
468 | provided always_noconv(), issue directly _M_file.xsputn. | |
469 | * testsuite/performance/filebuf_unbuf_sputn.cc: New. | |
470 | ||
9dd90ac6 PC |
471 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
472 | ||
473 | * include/bits/stl_list.h: Fully qualify standard | |
474 | functions with std::, thus avoiding Koenig lookup. | |
475 | * include/bits/stl_queue.h: Likewise. | |
476 | * include/bits/stl_raw_storage_iter.h: Likewise. | |
477 | * include/bits/stl_tempbuf.h: Likewise. | |
478 | * include/bits/stl_tree.h: Likewise. | |
479 | * include/bits/stl_uninitialized.h: Likewise. | |
480 | * include/bits/stl_vector.h: Likewise. | |
e6cc3a24 | 481 | * include/ext/rope: Change includes order. |
9dd90ac6 | 482 | |
1b33b6b2 BK |
483 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
484 | ||
485 | * configure.host (fpos_include_dir): Fix. | |
486 | ||
369b78b0 PC |
487 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
488 | ||
489 | * include/bits/stl_heap.h: Fully qualify standard | |
490 | functions with std::, thus avoiding Koenig lookup. | |
491 | * include/bits/stl_iterator_base_funcs.h: Likewise. | |
492 | ||
493 | * include/bits/stl_algo.h: Qualify __iterator_category too. | |
494 | * include/bits/stl_algobase.h: Likewise. | |
495 | * include/bits/stl_bvector.h: Likewise. | |
496 | ||
497 | * include/bits/stl_algo.h: Don't qualify the pair type. | |
498 | ||
cc5112c9 BK |
499 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> |
500 | ||
501 | * include/Makefile.am (target_headers): Add fpos.h | |
502 | (bits_headers): Remove. | |
503 | * include/Makefile.in: Regenerate. | |
504 | * configure.in: Add FPOS_INC_SRCDIR, substitute it. | |
505 | * configure: Regenerate. | |
506 | * configure.host: Add fpos_include_dir. | |
507 | * config/os/gnu-linux/fpos.h: New. | |
e6cc3a24 ZW |
508 | * config/os/generic/fpos.h: Add. |
509 | * include/bits/fpos.h: Remove. | |
cc5112c9 BK |
510 | |
511 | * config/io/c_io_stdio.h: Remove fpos_t typedef. | |
512 | ||
513 | * include/bits/fstream.tcc: Tweaks. | |
514 | * include/std/std_fstream.h: Same. | |
e6cc3a24 | 515 | |
cc5112c9 BK |
516 | * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... |
517 | * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. | |
518 | * testsuite/27_io/fpos/mbstate_t/2.cc: Same. | |
519 | * testsuite/27_io/fpos/mbstate_t/3.cc: Same. | |
520 | * testsuite/27_io/fpos/1.cc: New. | |
e6cc3a24 | 521 | |
cc5112c9 BK |
522 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> |
523 | Petur Runolfsson <peturr02@ru.is> | |
e6cc3a24 | 524 | |
cc5112c9 BK |
525 | * include/std/std_streambuf.h: Remove _M_pos. |
526 | * config/io/basic_file_stdio.h: Use seekpos instead of seekoff. | |
527 | * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek, | |
528 | use fread/fwrite instead of read/write. | |
529 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix. | |
530 | * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs | |
531 | before reading again. | |
532 | * testsuite/27_io/objects/char/6.cc: Tweak. | |
e6cc3a24 | 533 | |
304d79dc DE |
534 | 2003-07-03 David Edelsohn <edelsohn@gnu.org> |
535 | ||
536 | * testsuite/22_locale/num_put/put/char/7.cc: Guard with | |
537 | _GLIBCPP_USE_WCHAR_T. | |
538 | ||
41ba4c46 PC |
539 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
540 | ||
541 | * include/bits/basic_string.tcc (_M_replace_aux): Constify | |
542 | __n1 and __off1. | |
543 | ||
da73f9de PC |
544 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
545 | ||
546 | * include/bits/stl_bvector.h: Fully qualify standard | |
547 | functions with std::, thus avoiding Koenig lookup. | |
548 | * include/bits/stl_construct.h: Likewise. | |
549 | * include/bits/stl_deque.h: Likewise. | |
550 | ||
1c380095 PC |
551 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
552 | ||
553 | * testsuite/22_locale/num_put/put/char/7.cc: Include | |
554 | <testsuite_hooks.h>, tweak. | |
555 | * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise. | |
556 | ||
f9f4d1e1 PE |
557 | 2003-07-01 Phil Edwards <pme@gcc.gnu.org> |
558 | ||
559 | * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects | |
560 | check* targets, but not libs/programs). | |
561 | * testsuite/Makefile.in: Regenerate. | |
562 | ||
b7693a46 RS |
563 | 2003-07-01 Roger Sayle <roger@eyesopen.com> |
564 | ||
565 | * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS. | |
566 | (GLIBCPP_CHECK_MATH_SUPPORT): Likewise. | |
567 | * aclocal.m4: Regenerate. | |
568 | * configure: Regenerate. | |
569 | ||
a5b1b26c BK |
570 | 2003-07-01 Benjamin Kosnik <bkoz@redhat.com> |
571 | ||
572 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error. | |
573 | * aclocal.m4: Regenerated. | |
574 | * configure: Regenerated. | |
e6cc3a24 | 575 | |
f64f3e74 PC |
576 | 2003-07-01 Paolo Carlini <pcarlini@unitus.it> |
577 | ||
578 | PR libstdc++/11389 | |
579 | * include/bits/fstream.tcc (underflow): For encoding() == 0 | |
580 | don't read more than __buflen chars. | |
581 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New. | |
582 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New. | |
583 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New. | |
584 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New. | |
585 | ||
5ee78c21 JQ |
586 | 2003-07-01 Jerry Quinn <jlquinn@optonline.net> |
587 | ||
588 | * 22_locale/num_put/put/char/7.cc: New. | |
589 | * 22_locale/num_put/put/wchar_t/7.cc: New. | |
590 | ||
e97ee22e JQ |
591 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
592 | ||
593 | * src/locale.cc (__use_cache<numpunct>): Revert previous relocation. | |
594 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto. | |
595 | ||
7d6a0993 BK |
596 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
597 | ||
598 | * 27_io/basic_filebuf/seekoff/char/1-in.cc: New. | |
599 | * 27_io/basic_filebuf/seekoff/char/1-io.cc: New. | |
600 | * 27_io/basic_filebuf/seekoff/char/1-out.cc: New. | |
601 | * 27_io/basic_filebuf/seekoff/char/2-in.cc: New. | |
602 | * 27_io/basic_filebuf/seekoff/char/2-io.cc: New. | |
603 | * 27_io/basic_filebuf/seekoff/char/2-out.cc: New. | |
604 | * 27_io/basic_filebuf/seekoff/char/2.cc: Remove. | |
605 | * 27_io/basic_filebuf/seekoff/char/3-in.cc: New. | |
606 | * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change. | |
607 | * 27_io/basic_filebuf/seekoff/char/3-out.cc: New. | |
608 | * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove. | |
609 | * 27_io/basic_filebuf/seekpos/char/1-in.cc: New. | |
610 | * 27_io/basic_filebuf/seekpos/char/1-io.cc: New. | |
611 | * 27_io/basic_filebuf/seekpos/char/1-out.cc: New. | |
612 | * 27_io/basic_filebuf/seekpos/char/2-in.cc: New. | |
613 | * 27_io/basic_filebuf/seekpos/char/2-io.cc: New. | |
614 | * 27_io/basic_filebuf/seekpos/char/2-out.cc: New. | |
615 | * 27_io/basic_filebuf/seekpos/char/2.cc: Change. | |
616 | * 27_io/basic_filebuf/seekpos/char/3-in.cc: New. | |
617 | * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove. | |
618 | * 27_io/basic_filebuf/seekpos/char/3-out.cc: New. | |
619 | * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove. | |
620 | * data/seekoff-1.tst: Remove. | |
621 | * data/seekoff-1io.tst: New. | |
622 | * data/seekoff-1out.tst: New. | |
623 | * data/seekoff-2.tst: Remove. | |
624 | * data/seekoff-2io.tst: New. | |
625 | * data/seekoff-2out.tst: New. | |
626 | * data/seekoff.txt | |
627 | * data/seekpos-1.tst: Remove. | |
628 | * data/seekpos-1io.tst: New. | |
629 | * data/seekpos-1out.tst: New. | |
630 | * data/seekpos-2.tst: Remove. | |
631 | * data/seekpos-2io.tst: New. | |
632 | * data/seekpos-2out.tst: New. | |
633 | * data/seekpos.txt: New. | |
634 | ||
a5b1b26c | 635 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
cf0cad09 JQ |
636 | |
637 | * src/locale.cc (__use_cache<numpunct>): Move from here ... | |
638 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): To | |
639 | here. | |
640 | ||
884a757a PC |
641 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
642 | ||
643 | * include/bits/stl_algobase.h: Fully qualify standard | |
644 | functions with std::, thus avoiding Koenig lookup. | |
645 | ||
5892c641 | 646 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
e6cc3a24 | 647 | |
5892c641 | 648 | * include/bits/locale_facets.tcc (money_get::do_get): Avoid |
e6cc3a24 | 649 | subscripting empty string. |
5892c641 | 650 | |
7685a26d PE |
651 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
652 | ||
653 | * testsuite/Makefile.am (check-am): Do not override. | |
654 | (baseline_symbols): Declare as PHONY, so no need to 'touch' it. | |
655 | * testsuite/Makefile.in: Regenerate. | |
656 | ||
e6cc3a24 ZW |
657 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
658 | ||
d147b75b DG |
659 | * testsuite/24_iterators/insert_iterator.cc (test01, test02): |
660 | Don't initialize an insert_iterator with a singular iterator. | |
661 | ||
44f0760e | 662 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 663 | |
44f0760e BK |
664 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch. |
665 | * aclocal.m4: Regenerate. | |
666 | * configure.in (GLIBCPP_CHECK_PCH): Move, change to | |
667 | GLIBCPP_ENABLE_PCH, default to yes. | |
668 | * configure: Regenerate. | |
669 | * docs/html/configopts.html: Add --enable-pch. | |
e6cc3a24 | 670 | |
e37f7da7 PE |
671 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
672 | ||
673 | * testsuite/lib/libstdc++-v3-dg.exp: Add comments. | |
674 | (libstdc++-v3-init): Also set LD_RUN_PATH. | |
675 | ||
cd16e04b PC |
676 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
677 | ||
fbfcbadc PC |
678 | * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move |
679 | from here to filebuf and stringbuf. | |
cd16e04b PC |
680 | (~basic_streambuf()): Don't set _M_mode. |
681 | (basic_streambuf()): Don't set _M_mode. | |
682 | * include/std/std_fstream.h (_M_mode): Move here, from streambuf. | |
683 | (~basic_filebuf()): Clean up. | |
684 | * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode. | |
685 | * include/std/std_sstream.h (_M_mode): Move here, from streambuf. | |
686 | * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode. | |
687 | * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. | |
688 | * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. | |
689 | * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. | |
690 | * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. | |
691 | ||
692 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> | |
693 | ||
694 | * include/std/std_fstream.h (_M_underflow): Remove. | |
695 | (uflow): Remove, inherited from streambuf. | |
696 | (underflow): Only declare. | |
e6cc3a24 | 697 | * include/bits/fstream.tcc (_M_underflow): Rename to |
cd16e04b PC |
698 | underflow, to which is equivalent for __bump == false, |
699 | simplify. | |
700 | * include/std/std_sstream.h (_M_underflow): Remove. | |
701 | (uflow): Remove, inherited from streambuf. | |
702 | (underflow): Only declare. | |
e6cc3a24 | 703 | * include/bits/sstream.tcc (_M_underflow): Rename to |
cd16e04b PC |
704 | underflow, to which is equivalent for __bump == false, |
705 | simplify. | |
706 | ||
c868f37e PC |
707 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
708 | ||
fbfcbadc PC |
709 | * include/bits/stl_algo.h: Fully qualify standard functions |
710 | with std::, thus avoiding Koenig lookup. | |
c868f37e | 711 | |
165f54e0 PC |
712 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
713 | ||
714 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: | |
715 | Improve type correctness-wise. | |
716 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: | |
717 | Likewise. | |
718 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: | |
719 | Likewise. | |
720 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: | |
721 | Likewise. | |
722 | ||
90319d16 PC |
723 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
724 | ||
725 | * include/std/std_streambuf.h (uflow): According to | |
726 | 27.5.2.4.3,p16, don't check gptr() < egptr(). | |
727 | ||
b417ae14 PC |
728 | 2003-06-28 Paolo Carlini <pcarlini@unitus.it> |
729 | ||
730 | PR libstdc++/9875 | |
731 | * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0. | |
732 | (seekpos): Likewise. | |
733 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: | |
734 | New test. | |
735 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: | |
736 | New test. | |
737 | ||
f1a22109 BK |
738 | 2003-06-27 Benjamin Kosnik <bkoz@redhat.com> |
739 | ||
740 | * testsuite/testsuite_performance.h (__gnu_cxx_test): Change | |
741 | output name to libstdc++-v3-performance.sum. | |
742 | * testsuite/Makefile.am (CLEANFILES): Remove .performance. | |
743 | * testsuite/Makefile.in: Regenerate. | |
e6cc3a24 | 744 | |
f1a22109 BK |
745 | 2003-06-27 Matthias Klose <doko@debian.org> |
746 | ||
747 | * testsuite/Makefile.am (check-abi, check-abi-verbose): Save | |
748 | output of abi-check in libstdc++-v3-abi.sum. | |
749 | * testsuite/Makefile.in: Regenerate. | |
750 | ||
2e8a523f KW |
751 | 2003-06-27 Krister Walfridsson <cato@df.lth.se> |
752 | ||
753 | * config/os/bsd/netbsd/ctype_noninline.h | |
754 | (_C_ctype_): Declare. | |
755 | (ctype<char>::classic_table): Return _C_ctype_ + 1. | |
756 | (ctype<char>::ctype): Use classic_table. | |
757 | ||
3461133d PC |
758 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> |
759 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
760 | ||
761 | PR libstdc++/9178 | |
762 | * include/bits/fstream.tcc (_M_underflow): Properly estimate | |
763 | the worst-case number of external bytes for a given get area. | |
764 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New. | |
765 | ||
766 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> | |
767 | Petur Runolfsson <peturr02@ru.is> | |
768 | ||
769 | PR libstdc++/11305 | |
770 | * include/bits/fstream.tcc (overflow): Properly estimate the | |
771 | worst-case number of external bytes for a given put area | |
772 | (by using codecvt::max_length()). | |
773 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New. | |
774 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New. | |
775 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New. | |
776 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New. | |
777 | ||
5648db54 NS |
778 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
779 | ||
780 | * config/linker-map.gnu: Remove ; after __numpunct_cache. | |
781 | ||
215f9e28 BK |
782 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> |
783 | ||
784 | * include/bits/ios_base.h (ios_base::_M_getloc): Return reference | |
785 | to the imbued locale. | |
786 | * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use | |
787 | _M_getloc. | |
788 | (num_put::_M_convert_float): Use. | |
789 | ||
790 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> | |
791 | Jerry Quinn <jlquinn@optonline.net> | |
792 | ||
793 | * config/linker-map.gnu: Add __numpunct_cache. | |
794 | * config/locale/gnu/numeric_members.cc | |
795 | (numpunct::_M_initialize_numpunct): Account for _M_data, fill in | |
796 | all elements for "C" locale. | |
797 | (numpunct::~numpunct): Delete _M_data. | |
e6cc3a24 | 798 | * config/locale/generic/numeric_members.cc: Same. |
215f9e28 BK |
799 | * include/bits/basic_ios.tcc |
800 | (basic_ios::init): Remove __locale_cache bits. | |
801 | (basic_ios::_M_cache_locale): Same. | |
e6cc3a24 | 802 | * include/bits/ios_base.h: Same. Tweaks. |
215f9e28 BK |
803 | * include/bits/locale_classes.h: Tweaks. Reorder classes. |
804 | (__use_cache): Make friends with _Impl, locale. | |
805 | (_Impl::_M_caches): Add. | |
806 | (_Impl::_M_install_cache): Add. | |
807 | * include/bits/locale_facets.h (__numpunct_cache): New. | |
808 | (numpunct): Encapsulate data members in __numpunct_cache member, | |
809 | _M_data. Adjust virtuals. | |
e6cc3a24 | 810 | (numpunct::numpunct): New ctor for the same. |
215f9e28 | 811 | (__locale_cache_base): Remove. |
e6cc3a24 | 812 | (__locale_cache): Remove. |
215f9e28 BK |
813 | * include/bits/locale_facets.tcc (__use_cache): New function, |
814 | specializations. | |
815 | (num_put::_M_convert_int, _M_convert_float, do_put): Use it. | |
816 | * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w. | |
817 | * src/ios.cc (ios_base::ios_base): Remove __locale_cache. | |
818 | * src/locale-inst.cc: Same. Add __numpunct_cache. | |
819 | * src/locale.cc: Tweak inlines. | |
820 | (__use_cache): Define specializations. | |
821 | * src/localename.cc: Use global bits. | |
822 | (_Impl::~Impl): Deal with __numpunct_cache destruction. | |
823 | (_Impl::_Impl): Same. Pre-cache standard numpunct facets. | |
824 | (_Impl::_M_init_facet): Take into account __numpunct_cache. | |
825 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers. | |
826 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
827 | ||
8370378a | 828 | 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org> |
e6cc3a24 | 829 | Paolo Carlini <pcarlini@unitus.it> |
8370378a NM |
830 | |
831 | * testsuite/performance/filebuf_copy.cc: New, testing char | |
832 | by char file copy. | |
833 | ||
2cfe4e68 | 834 | 2003-06-26 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 835 | Nathan C. Myers <ncm-nospam@cantrip.org> |
2cfe4e68 PC |
836 | |
837 | * include/bits/fstream.tcc (_M_underflow): When the actual | |
838 | end of file is reached, set 'uncommitted' mode to allow a | |
839 | next write without an intervening seek (see C++98 27.8.1.1,2 | |
840 | and C89 7.9.5.3). | |
841 | * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New. | |
842 | ||
29d9ed97 NM |
843 | 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org> |
844 | ||
845 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
846 | sputc): Move inline, from here... | |
847 | * include/std/std_streambuf.h: ... to here. | |
848 | ||
849 | * include/std/std_streambuf.h (snextc, sbumpc, sgetc, | |
850 | sputbackc, sungetc, sputc): Use __builtin_expect. | |
851 | ||
c1a62440 PE |
852 | 2003-06-24 Phil Edwards <pme@gcc.gnu.org> |
853 | ||
854 | * docs/doxygen/mainpage.html: Use a useful title. | |
855 | ||
cdc1242a BK |
856 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
857 | ||
858 | * docs/html/documentation.html: Remove assignment info. | |
859 | * docs/html/17_intro/contribute.html: Edits. | |
860 | * docs/html/17_intro/libstdc++-assign.tx: Remove. | |
861 | ||
862 | * docs/html/test.html: Update. | |
863 | ||
864 | * README: Update. | |
e6cc3a24 | 865 | |
1b6f0a56 | 866 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 867 | Ulrich Drepper <drepper@redhat.com> |
1b6f0a56 BK |
868 | |
869 | * testsuite/testsuite_performance.h: Tweak mallinfo. | |
870 | ||
71b46021 | 871 | 2003-06-24 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 872 | Nathan C. Myers <ncm-nospam@cantrip.org> |
71b46021 PC |
873 | |
874 | * include/std/std_fstream.h (_M_filepos): Remove. | |
875 | (_M_reading, _M_writing): New, encode the various I/O modes: | |
876 | 'read', 'write' and 'uncommitted'. | |
877 | (sync): If there is something to flush, do it, then go to | |
878 | 'uncommitted' mode. | |
879 | * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal | |
880 | with three different cases: __off > 0 (upon underflow), | |
881 | __off == 0 (upon overflow), __off == -1 (upon open, setbuf, | |
882 | seekoff/pos). | |
883 | (_M_underflow): Don't call overflow, set _M_reading to true | |
884 | on success, tweak. | |
885 | (pbackfail): Set _M_reading to true on pback creation, tweak. | |
886 | (overflow): Don't seek, deal with overflow in 'uncommitted' mode, | |
887 | set _M_writing to true on success, tweak. | |
888 | (seekoff): Simplify, set _M_reading, _M_writing to false, call | |
889 | _M_set_buffer(-1) ('uncommitted'). | |
890 | (open, close, setbuf): Set _M_reading, _M_writing to false and | |
891 | call _M_set_buffer(-1), tweak. | |
892 | (basic_filebuf): Don't set _M_buf_unified. | |
893 | (_M_destroy_internal_buffer): Don't call setg and setp. | |
894 | * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading, | |
895 | _M_writing and _M_set_buffer(-1). | |
896 | * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur, | |
897 | _M_out_lim, _M_buf_unified): Remove. | |
898 | (basic_streambuf): Don't set _M_out_lim and _M_buf_unified. | |
e6cc3a24 | 899 | (setp): Don't set _M_out_lim. |
71b46021 PC |
900 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for |
901 | the new logic ('read', 'write' and 'uncommitted' modes): e.g., | |
902 | upon open the mode is 'uncommitted' and therefore the put area | |
903 | pointers are null. | |
904 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto. | |
905 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto. | |
906 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto. | |
907 | * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto. | |
908 | * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto. | |
909 | * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto. | |
910 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
911 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto. | |
912 | * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto. | |
913 | * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto. | |
914 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto. | |
915 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto. | |
916 | * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto. | |
917 | * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto. | |
918 | * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto. | |
919 | * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto. | |
920 | * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto. | |
921 | * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto. | |
922 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto. | |
923 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto. | |
924 | ||
925 | * include/bits/fstream.tcc (showmanyc): Use only the | |
926 | documented derivation interface to basic_streambuf (gptr(), | |
927 | setg(), etc.) to work right with user specializations. | |
928 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
929 | sputc, xsgetn, xsputn, __copy_streambufs): Likewise. | |
930 | * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc): | |
931 | Likewise. | |
932 | * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback, | |
933 | xsgetn): Likewise. | |
934 | ||
9eb6e1d3 LR |
935 | 2003-06-23 Loren J. Rittle <ljrittle@acm.org> |
936 | ||
937 | * configure.host (freebsd*): Set abi_baseline_pair. | |
938 | * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2 | |
939 | (at or near first release) to 3.3. | |
940 | * config/abi/i386-freebsd5/baseline_symbols.txt: New file. | |
941 | * config/abi/alpha-freebsd5/baseline_symbols.txt: New file. | |
942 | * config/abi/sparc-freebsd5/baseline_symbols.txt: New file. | |
943 | ||
3d57d7ba | 944 | * include/ext/mt_allocator.h: Portability. |
d1a2c4d6 | 945 | * testsuite/testsuite_performance.h: Likewise. |
3d57d7ba | 946 | |
c89c30dd BK |
947 | 2003-06-23 Benjamin Kosnik <bkoz@redhat.com> |
948 | ||
949 | * docs/html/17_intro/libstdc++-assign.txt: Update address. | |
950 | ||
951 | * testsuite/performance/ifstream_getline.cc: Fix. | |
e6cc3a24 | 952 | |
c89c30dd | 953 | 2003-06-23 Doug Gregor <dgregor@apple.com> |
2b491e3a | 954 | |
e6cc3a24 ZW |
955 | * include/bits/boost_concept_check.h: Don't use _D or _R for type |
956 | names. | |
2b491e3a | 957 | |
1b170b55 PC |
958 | 2003-06-22 Paolo Carlini <pcarlini@unitus.it> |
959 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
960 | ||
961 | * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim | |
962 | is now used only for filebuf, when _M_buf_unified is true. | |
963 | epgtr() plays the role of _M_out_lim but it's only updated | |
964 | upon overflow, underflow, uflow, seekoff/pos. | |
965 | * include/bits/sstream.tcc (_M_underflow): New, implements | |
966 | stringbuf::underflow and uflow. | |
967 | (seekoff, seekpos): Tweak, use _M_update_egptr. | |
968 | * include/std/std_sstream.h (str): Rewrote, deal correctly | |
969 | with the new logic, in particular, when pptr() > egptr(). | |
970 | (_M_sync): When __testout && !__testin set all the get area | |
971 | pointers to the current string end. | |
972 | (_M_update_egptr): New, internal function updating egptr() | |
973 | to the actual string end. | |
974 | (_M_underflow): New, declare. | |
975 | (underflow): Dispatch to _M_underflow(false). | |
976 | (uflow): Dispatch to _M_underflow(true). | |
977 | ||
978 | * include/bits/sstream.tcc (pbackfail, overflow, seekoff, | |
979 | seekpos): Use only the documented derivation interface to | |
980 | basic_streambuf (gptr(), setg(), etc.) to work right with | |
981 | user specializations. | |
982 | * include/std/std_sstream.h (str, _M_sync): Likewise. | |
983 | ||
8dbe14be DG |
984 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
985 | ||
1b170b55 PC |
986 | * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr |
987 | * testsuite/21_strings/basic_string/replace/char/4.cc: Don't | |
988 | dereference end iterator. | |
989 | * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same. | |
990 | * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with | |
991 | index equal to the length of a string. | |
992 | * testsuite/22_locale/ctype/narrow/char/2.cc: Same. | |
993 | * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same. | |
994 | * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same. | |
995 | * testsuite/22_locale/ctype/widen/char/1.cc: Same. | |
996 | * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same. | |
997 | * testsuite/23_containers/list_modifiers.cc: Don't dereference | |
998 | singular reverse iterator. | |
999 | * testsuite/23_containers/vector_bool.cc: Don't increment singular | |
1000 | iterator. | |
1001 | * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator. | |
8dbe14be | 1002 | |
bdb0f0f5 DG |
1003 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
1004 | ||
e6cc3a24 | 1005 | * include/bits/basic_string.h (basic_string::replace): Dispatch |
bdb0f0f5 DG |
1006 | _InputIterator version based on _Is_integer. |
1007 | * include/bits/basic_string.tcc (basic_string::replace): | |
1008 | Renamed replace(iterator, iterator, size_type, _CharT) to | |
1009 | _M_replace_aux. | |
1010 | * testsuite/21_strings/basic_string/assign/char/1.cc (test01): | |
1011 | Test basic_string::assign(_InputIterator, _InputIterator), | |
1012 | which calls basic_string::replace(iterator, iterator, | |
1013 | _Input_iterator, _InputIterator). | |
1014 | ||
f5a6463e BK |
1015 | 2003-06-20 Benjamin Kosnik <bkoz@redhat.com> |
1016 | ||
1017 | * testsuite/testsuite_performance.h (resource_counter): Don't use | |
1018 | mallinfo at the moment. | |
1019 | ||
bbdfb3e8 MK |
1020 | 2003-06-20 Matthias Klose <doko@debian.org> |
1021 | ||
1022 | * configure.host: Set try_cpu to target_cpu for existing | |
1023 | baseline files. | |
1024 | ||
97460e9a AJ |
1025 | 2003-06-19 Andreas Jaeger <aj@suse.de> |
1026 | ||
1027 | * testsuite/Makefile.am (extract_symvers): Revert accidental | |
1028 | change. | |
1029 | * testsuite/Makefile.in: Regenerate. | |
1030 | ||
1031 | * configure.in: Pass MULTISUBDIR to testsuite/Makefile. | |
1032 | * configure: Regenerated. | |
1033 | ||
50af15ec PC |
1034 | 2003-06-19 Paolo Carlini <pcarlini@unitus.it> |
1035 | ||
1036 | * include/std/std_sstream.h (_M_sync): Make non virtual. | |
1037 | ||
ce4f8c6b BK |
1038 | 2003-06-18 Benjamin Kosnik <bkoz@redhat.com> |
1039 | ||
1040 | * testsuite/testsuite_performance.h (time_counter): New. | |
1041 | (resource_counter): New. | |
1042 | (report_performance): New. | |
1043 | (start_counters): New. | |
1044 | (stop_counters): New. | |
97460e9a | 1045 | (clear_counters): New. |
ce4f8c6b BK |
1046 | * testsuite/performance/allocator.cc: Instrument. |
1047 | * testsuite/performance/cout_insert_int.cc: Same. | |
1048 | * testsuite/performance/complex_norm.cc: Same. | |
1049 | * testsuite/performance/filebuf_sputc.cc: New. | |
1050 | * testsuite/performance/fstream_seek_write.cc: Same. | |
1051 | * testsuite/performance/ifstream_getline.cc: Same. | |
1052 | * testsuite/performance/map_create_fill.cc: Same. | |
1053 | * testsuite/performance/ofstream_insert_float.cc: Same. | |
1054 | * testsuite/performance/ofstream_insert_int.cc: Same. | |
97460e9a | 1055 | * testsuite/performance/string_append.cc: Convert. |
ce4f8c6b BK |
1056 | * scripts/check_performance: New. |
1057 | * testsuite/Makefile.am (check-performance): New. | |
1058 | (CLEANFILES): Add. | |
97460e9a | 1059 | |
b82a33d2 | 1060 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 1061 | Benjamin Kosnik <bkoz@redhat.com> |
b82a33d2 PC |
1062 | |
1063 | * include/std/std_sstream.h (setbuf): Check __n >= 0. | |
1064 | * include/bits/fstream.tcc (setbuf): Tweak. | |
1065 | ||
4c526d09 PC |
1066 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
1067 | ||
1068 | * include/bits/sstream.tcc (seekoff): We can't seek beyond | |
1069 | _M_out_lim, therefore _M_move_out_cur boils down to simply | |
1070 | updating _M_out_cur. | |
1071 | (seekpos): Likewise, clean up. | |
1072 | ||
c1b74c21 | 1073 | 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org> |
e6cc3a24 | 1074 | Paolo Carlini <pcarlini@unitus.it> |
c1b74c21 NM |
1075 | |
1076 | * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too, | |
1077 | simply equivalent to the unbuffered case (0, 0) as far as | |
1078 | _M_buf_size is concerned. | |
1079 | ||
a1af4623 AJ |
1080 | 2003-06-18 Andreas Jaeger <aj@suse.de> |
1081 | ||
1082 | * testsuite/Makefile.am (new-abi-baseline): Create baseline | |
1083 | directory. | |
1084 | (baseline_file): Use baseline_dir. | |
1085 | (baseline_dir): New. | |
1086 | (mkinstalldirs): New. | |
1087 | ||
1088 | * acinclude.m4: Rename baseline_file to baseline_dir, strip | |
1089 | filename from baseline_dir. | |
1090 | ||
1091 | * testsuite/Makefile.in: Regenerated. | |
1092 | * Makefile.in: Regenerated. | |
1093 | * aclocal.m4: Regenerated. | |
1094 | * configure: Regenerated. | |
1095 | ||
2f934953 BK |
1096 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
1097 | ||
1098 | * configure.in: Missed check_survey bit. | |
1099 | * configure: Regenerated. | |
1100 | ||
0676e930 BK |
1101 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
1102 | ||
1103 | * scripts: New. | |
1104 | * config/abi/extract_symvers: Move to... | |
1105 | * scripts/extract_symvers: ...here. | |
1106 | * mkcheck.in: Move to.. | |
1107 | * scripts/check_survey.in: ...here. | |
1108 | * testsuite_flags.in: Move to.. | |
1109 | * scripts/testsuite_flags.in: ...here. | |
1110 | * configure.in: Change check and testsuite_flags locations. | |
1111 | * configure: Regenerate. | |
1112 | * testsuite/Makefile.am (current_symbols.txt): Change location. | |
1113 | * testsuite/Makefile.in: Regenerate. | |
1114 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify | |
1115 | location of testsuite_flags. | |
1116 | * Makefile.am (check-script): Move.. | |
1117 | (check-script-install): Move... | |
a1af4623 | 1118 | * testsuite/Makefile.am: ... here. |
0676e930 | 1119 | * testsuite/Makefile.in: Regenerate. |
a1af4623 AJ |
1120 | * Makefile.in: Regenerate. |
1121 | ||
82620aaf BK |
1122 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
1123 | ||
1124 | * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0. | |
1125 | ||
c4c064e7 BK |
1126 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
1127 | ||
1128 | * Makefile.am (check-abi): Move... | |
1129 | (new-abi-baseline): Move... | |
1130 | * testsuite/Makefile.am: ...here. | |
1131 | (new-abi-baseline): Conditionalize. | |
1132 | (check-abi): Conditionalize. | |
1133 | (check-abi-verbose): New. | |
1134 | * Makefile.in: Regenerate. | |
a1af4623 | 1135 | * testsuite/Makefile.in: Regenerate. |
c4c064e7 BK |
1136 | * configure.in: Consolidate testsuite configure bits. |
1137 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same. | |
1138 | * configure: Regenerate. | |
a1af4623 | 1139 | * aclocal.m4: Regenerate. |
c4c064e7 BK |
1140 | * testsuite/abi_check.cc: Add --check-verbose. |
1141 | Only output detailed information if --check-verbose. | |
1142 | ||
e7bb3511 | 1143 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
a1af4623 | 1144 | |
e6cc3a24 | 1145 | * testsuite/abi_check.cc: Create summary report. |
a1af4623 | 1146 | |
8363b773 PC |
1147 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
1148 | ||
1149 | * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix | |
1150 | for systems with BUFSIZ != 8192. | |
1151 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
1152 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: | |
1153 | Minor tweaks. | |
1154 | ||
5ab481e0 BK |
1155 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
1156 | ||
1157 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make | |
1158 | check-abi multilib aware. | |
1159 | * aclocal.m4: Regenerate. | |
1160 | * configure: Regenerate. | |
a1af4623 | 1161 | |
5ab481e0 | 1162 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 1163 | Andreas Jaeger <aj@suse.de> |
5ab481e0 BK |
1164 | |
1165 | * configure.host: Set x86_64 abi_baseline pair correctly. | |
1166 | ||
0bad3b7c PC |
1167 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
1168 | ||
1169 | * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and | |
e6cc3a24 | 1170 | fix for missing seeks between gets and puts into... |
0bad3b7c PC |
1171 | * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New. |
1172 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New. | |
1173 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New. | |
1174 | * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New. | |
1175 | * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New. | |
1176 | * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New. | |
a1af4623 | 1177 | |
dc4add82 RH |
1178 | 2003-06-15 Richard Henderson <rth@redhat.com> |
1179 | ||
1180 | * config/linker-map.gnu: Export virtual function thunks for | |
1181 | 64-bit systems too. | |
1182 | ||
ef16a298 BK |
1183 | 2003-06-13 Benjamin Kosnik <bkoz@redhat.com> |
1184 | ||
1185 | * config/abi/i686-pc-linux-gnu: To.. | |
1186 | * config/abi/i486-linux-gnu: ...this. | |
1187 | * config/abi/alphaev67-unknown-linux-gnu: To.. | |
1188 | * config/abi/alpha-linux-gnu: ...this. | |
1189 | * config/abi/ia64-unknown-linux-gnu: To... | |
1190 | * config/abi/ia64-linux-gnu: ...this. | |
1191 | * config/abi/x86_64-unknown-linux-gnu: To... | |
1192 | * config/abi/x86_64-linux-gnu: ...this. | |
1193 | * config/abi/i386-unknown-freebsd4: To... | |
1194 | * config/abi/i386-freebsd4: ...this. | |
5ab481e0 BK |
1195 | * config/linker-map.gnu: Cleanups, move libsupc++ bits into |
1196 | CXXABI. | |
ef16a298 BK |
1197 | * configure.host: abi_baseline_triplet to abi_baseline_pair. |
1198 | Simplify cpu bits so that abi_baseline_pair can use the same | |
1199 | cpu configuration. | |
1200 | * acinclude.m4: Same. | |
1201 | * aclocal.m4: Regenerate. | |
1202 | * configure.in: Can't get enable_abi_check to yes unless native. | |
1203 | * configure: Regenerate. | |
1204 | ||
ed242935 PC |
1205 | 2003-06-13 Paolo Carlini <pcarlini@unitus.it> |
1206 | ||
1207 | * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and | |
1208 | fix for missing seeks between gets and puts into... | |
1209 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New. | |
1210 | * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New. | |
1211 | * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into... | |
1212 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New. | |
1213 | * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New. | |
1214 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix | |
1215 | for missing seeks between gets and puts. | |
1216 | * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto. | |
1217 | * testsuite/data/seekoff-1.tst: New. | |
1218 | * testsuite/data/seekoff-2.tst: New. | |
1219 | * testsuite/data/seekpos-1.tst: New. | |
1220 | * testsuite/data/seekpos-2.tst: New. | |
1221 | ||
ca566e4c NM |
1222 | 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org> |
1223 | ||
1224 | Avoid multi-processor bus contention on increment/decrement-and- | |
a1af4623 | 1225 | test of the reference count in the empty-string object, by comparing |
e6cc3a24 ZW |
1226 | addresses first, and never touching the reference count of the empty- |
1227 | string object. | |
ca566e4c NM |
1228 | * include/bits/basic_string.h: |
1229 | (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its | |
1230 | members. | |
a1af4623 | 1231 | (_Rep::_S_empty_rep()): New accessor. |
ca566e4c NM |
1232 | (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to |
1233 | a base class _Rep_base. | |
1234 | (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string. | |
1235 | (basic_string()): Change to use _M_refdata() in place of _M_refcopy(), | |
1236 | since no longer must increment its refcount. | |
1237 | * include/bits/basic_string.tcc: | |
a1af4623 | 1238 | (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and |
e6cc3a24 ZW |
1239 | return immediately. The former might be unnecessary. The latter |
1240 | prevents begin() and end() from cloning it unnecessarily. | |
ca566e4c NM |
1241 | (_S_construct(_InIterator, _InIterator, const _Alloc&, |
1242 | input_iterator_tag), _S_construct(_InIterator, _InIterator, | |
1243 | const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT, | |
1244 | const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy(). | |
1245 | (_M_mutate): Check for the empty string and treat it as shared. | |
e6cc3a24 ZW |
1246 | This is necessary here because _M_mutate is sometimes called with |
1247 | all-zero arguments; in all other uses of _M_is_shared, the test comes | |
1248 | out right anyhow. | |
a1af4623 | 1249 | |
c37514ff BK |
1250 | 2003-06-12 Benjamin Kosnik <bkoz@redhat.com> |
1251 | ||
1252 | * src/allocator-inst.cc: Explicitly instantiate. | |
1253 | * include/ext/pool_allocator.h: Inhibit implicit instantiations. | |
1254 | Tweaks. | |
1255 | * config/linker-map.gnu: Add __pool_alloc bits. Tweaks. | |
a1af4623 | 1256 | |
58ac1d7f BK |
1257 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
1258 | ||
1259 | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. | |
1260 | * aclocal.m4: Regenerate. | |
1261 | * Makefile.am (SUBDIRS): Remove libio. | |
1262 | * Makefile.in: Regenerate. | |
1263 | * configure.in: Same. | |
1264 | * configure: Regenerate. | |
1265 | * config/io/basic_file_libio.cc: Remove. | |
a1af4623 | 1266 | * config/io/basic_file_libio.h: Remove. |
58ac1d7f | 1267 | * config/io/c_io_libio_codecvt.c: Remove. |
a1af4623 | 1268 | * config/io/c_io_libio.h: Remove. |
58ac1d7f BK |
1269 | * libio/*: Remove. |
1270 | * src/Makefile.am: Same. | |
1271 | * src/Makefile.in: Regenerate. | |
a1af4623 | 1272 | * docs/html/configopts.html: Edits. |
58ac1d7f | 1273 | * docs/html/explanations.html: Edits. |
a1af4623 | 1274 | |
1ff9402d BK |
1275 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
1276 | ||
1277 | * include/bits/stl_alloc.h (__debug_alloc): Move out. | |
1278 | (__malloc_alloc): Same. | |
1279 | (__pool_alloc): Same. | |
1280 | (__new_alloc): Same. | |
1281 | Rename to.. | |
1282 | * include/bits/allocator.h: ...this. | |
1283 | * include/bits/stl_deque.h: Modify comment. | |
1284 | * include/bits/stl_tree.h: Modify include. | |
1285 | * include/std/std_memory.h: Same. | |
1286 | * include/ext/rope: Same. | |
a1af4623 | 1287 | * include/ext/slist: Same. |
1ff9402d BK |
1288 | * include/std/std_vector.h: Same. |
1289 | * include/std/std_stack.h: Same. | |
1290 | * include/std/std_queue.h: Same. | |
1291 | * include/std/std_list.h: Same. | |
1292 | * include/std/std_deque.h: Same. | |
1293 | * include/backward/alloc.h: Same. | |
1294 | * include/ext/debug_allocator.h: New. | |
a1af4623 AJ |
1295 | * include/ext/malloc_allocator.h: New. |
1296 | * include/ext/pool_allocator.h: New. | |
1ff9402d BK |
1297 | * include/ext/new_allocator.h: New. |
1298 | * include/bits/pthread_allocimpl.h: Remove. | |
a1af4623 | 1299 | * include/bits/stl_pthread_alloc.h: Remove. |
1ff9402d BK |
1300 | * include/Makefile.am (ext_headers): Add. |
1301 | * include/Makefile.in: Regenerate. | |
1302 | * src/stl-inst.cc: Use __gnu_cxx namespace. | |
1303 | * src/stl-inst.cc: Move to... | |
1304 | * src/allocator-inst.cc: Here. | |
1305 | * src/Makefile.am (sources): Update. | |
1306 | * src/Makefile.in: Regenerate. | |
1307 | * config/linker-map.gnu: Remove __pool_alloc bits. | |
1308 | * testsuite/ext/headers.cc: Add. | |
1309 | * testsuite/ext/allocators.cc: Fixup. | |
a1af4623 | 1310 | |
1ff9402d | 1311 | 2003-06-11 Stefan Olsson <stefan@snon.net> |
e6cc3a24 | 1312 |