]>
Commit | Line | Data |
---|---|---|
69ef29fd BK |
1 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
2 | Petur Runolfsson <peturr02@ru.is> | |
3 | ||
4 | * config/io/basic_file_stdio.cc: Revert. | |
5 | ||
5b5bf717 PC |
6 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
7 | ||
8 | * include/bits/deque.tcc: Fully qualify standard | |
9 | functions with std::, thus avoiding Koenig lookup. | |
10 | * include/bits/gslice_array.h: Likewise. | |
11 | * include/bits/indirect_array.h: Likewise. | |
12 | * include/bits/list.tcc: Likewise. | |
13 | * include/bits/mask_array.h: Likewise. | |
14 | * include/bits/slice_array.h: Likewise. | |
15 | ||
7f6dd1ca GB |
16 | 2003-07-04 Gawain Bolton <gbolton@free.fr> |
17 | ||
18 | * include/bits/stl_tree.h: Performance and memory usage | |
19 | improvements. | |
20 | ||
8c90b13a L |
21 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
22 | ||
23 | * Makefile.am: Replace PWD with PWD_COMMAND. | |
24 | * Makefile.in: Regenerated. | |
25 | * docs/html/Makefile: Likewise. | |
26 | ||
2f805868 PC |
27 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
28 | ||
29 | * include/bits/valarray_array.h: Fully qualify standard | |
30 | functions with std::, thus avoiding Koenig lookup. | |
31 | * include/bits/vector.tcc: Likewise. | |
32 | ||
a30335e9 BK |
33 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
34 | ||
35 | * include/Makefile.am: Update target_ to host_. | |
36 | * include/Makefile.in: Regenerate. | |
37 | * src/Makefile.am: Same. | |
38 | * src/Makefile.in: Regenerate. | |
39 | ||
40 | * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support. | |
41 | ||
d8d81f62 BK |
42 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
43 | ||
44 | * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To | |
45 | --enable-libstdcxx-debug-flags. | |
46 | (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug. | |
47 | (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch. | |
48 | * aclocal.m4: Regenerate. | |
49 | * configure: Same. | |
50 | * docs/html/configopts.html: Update. | |
51 | ||
10ef4e2e PC |
52 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
53 | ||
54 | Revert the fix for libstdc++/11378. | |
55 | ||
ac2c48d7 PC |
56 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
57 | ||
58 | PR libstdc++/11378 | |
59 | * include/std/std_fstream.h (xsputn): In the unbuffered case, | |
60 | provided always_noconv(), issue directly _M_file.xsputn. | |
61 | * testsuite/performance/filebuf_unbuf_sputn.cc: New. | |
62 | ||
9dd90ac6 PC |
63 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
64 | ||
65 | * include/bits/stl_list.h: Fully qualify standard | |
66 | functions with std::, thus avoiding Koenig lookup. | |
67 | * include/bits/stl_queue.h: Likewise. | |
68 | * include/bits/stl_raw_storage_iter.h: Likewise. | |
69 | * include/bits/stl_tempbuf.h: Likewise. | |
70 | * include/bits/stl_tree.h: Likewise. | |
71 | * include/bits/stl_uninitialized.h: Likewise. | |
72 | * include/bits/stl_vector.h: Likewise. | |
73 | * include/ext/rope: Change includes order. | |
74 | ||
1b33b6b2 BK |
75 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
76 | ||
77 | * configure.host (fpos_include_dir): Fix. | |
78 | ||
369b78b0 PC |
79 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
80 | ||
81 | * include/bits/stl_heap.h: Fully qualify standard | |
82 | functions with std::, thus avoiding Koenig lookup. | |
83 | * include/bits/stl_iterator_base_funcs.h: Likewise. | |
84 | ||
85 | * include/bits/stl_algo.h: Qualify __iterator_category too. | |
86 | * include/bits/stl_algobase.h: Likewise. | |
87 | * include/bits/stl_bvector.h: Likewise. | |
88 | ||
89 | * include/bits/stl_algo.h: Don't qualify the pair type. | |
90 | ||
cc5112c9 BK |
91 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> |
92 | ||
93 | * include/Makefile.am (target_headers): Add fpos.h | |
94 | (bits_headers): Remove. | |
95 | * include/Makefile.in: Regenerate. | |
96 | * configure.in: Add FPOS_INC_SRCDIR, substitute it. | |
97 | * configure: Regenerate. | |
98 | * configure.host: Add fpos_include_dir. | |
99 | * config/os/gnu-linux/fpos.h: New. | |
100 | * config/os/generic/fpos.h: Add. | |
101 | * include/bits/fpos.h: Remove. | |
102 | ||
103 | * config/io/c_io_stdio.h: Remove fpos_t typedef. | |
104 | ||
105 | * include/bits/fstream.tcc: Tweaks. | |
106 | * include/std/std_fstream.h: Same. | |
107 | ||
108 | * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... | |
109 | * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. | |
110 | * testsuite/27_io/fpos/mbstate_t/2.cc: Same. | |
111 | * testsuite/27_io/fpos/mbstate_t/3.cc: Same. | |
112 | * testsuite/27_io/fpos/1.cc: New. | |
113 | ||
114 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> | |
115 | Petur Runolfsson <peturr02@ru.is> | |
116 | ||
117 | * include/std/std_streambuf.h: Remove _M_pos. | |
118 | * config/io/basic_file_stdio.h: Use seekpos instead of seekoff. | |
119 | * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek, | |
120 | use fread/fwrite instead of read/write. | |
121 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix. | |
122 | * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs | |
123 | before reading again. | |
124 | * testsuite/27_io/objects/char/6.cc: Tweak. | |
125 | ||
304d79dc DE |
126 | 2003-07-03 David Edelsohn <edelsohn@gnu.org> |
127 | ||
128 | * testsuite/22_locale/num_put/put/char/7.cc: Guard with | |
129 | _GLIBCPP_USE_WCHAR_T. | |
130 | ||
41ba4c46 PC |
131 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
132 | ||
133 | * include/bits/basic_string.tcc (_M_replace_aux): Constify | |
134 | __n1 and __off1. | |
135 | ||
da73f9de PC |
136 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
137 | ||
138 | * include/bits/stl_bvector.h: Fully qualify standard | |
139 | functions with std::, thus avoiding Koenig lookup. | |
140 | * include/bits/stl_construct.h: Likewise. | |
141 | * include/bits/stl_deque.h: Likewise. | |
142 | ||
1c380095 PC |
143 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
144 | ||
145 | * testsuite/22_locale/num_put/put/char/7.cc: Include | |
146 | <testsuite_hooks.h>, tweak. | |
147 | * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise. | |
148 | ||
f9f4d1e1 PE |
149 | 2003-07-01 Phil Edwards <pme@gcc.gnu.org> |
150 | ||
151 | * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects | |
152 | check* targets, but not libs/programs). | |
153 | * testsuite/Makefile.in: Regenerate. | |
154 | ||
b7693a46 RS |
155 | 2003-07-01 Roger Sayle <roger@eyesopen.com> |
156 | ||
157 | * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS. | |
158 | (GLIBCPP_CHECK_MATH_SUPPORT): Likewise. | |
159 | * aclocal.m4: Regenerate. | |
160 | * configure: Regenerate. | |
161 | ||
a5b1b26c BK |
162 | 2003-07-01 Benjamin Kosnik <bkoz@redhat.com> |
163 | ||
164 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error. | |
165 | * aclocal.m4: Regenerated. | |
166 | * configure: Regenerated. | |
167 | ||
f64f3e74 PC |
168 | 2003-07-01 Paolo Carlini <pcarlini@unitus.it> |
169 | ||
170 | PR libstdc++/11389 | |
171 | * include/bits/fstream.tcc (underflow): For encoding() == 0 | |
172 | don't read more than __buflen chars. | |
173 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New. | |
174 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New. | |
175 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New. | |
176 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New. | |
177 | ||
5ee78c21 JQ |
178 | 2003-07-01 Jerry Quinn <jlquinn@optonline.net> |
179 | ||
180 | * 22_locale/num_put/put/char/7.cc: New. | |
181 | * 22_locale/num_put/put/wchar_t/7.cc: New. | |
182 | ||
e97ee22e JQ |
183 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
184 | ||
185 | * src/locale.cc (__use_cache<numpunct>): Revert previous relocation. | |
186 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto. | |
187 | ||
7d6a0993 BK |
188 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
189 | ||
190 | * 27_io/basic_filebuf/seekoff/char/1-in.cc: New. | |
191 | * 27_io/basic_filebuf/seekoff/char/1-io.cc: New. | |
192 | * 27_io/basic_filebuf/seekoff/char/1-out.cc: New. | |
193 | * 27_io/basic_filebuf/seekoff/char/2-in.cc: New. | |
194 | * 27_io/basic_filebuf/seekoff/char/2-io.cc: New. | |
195 | * 27_io/basic_filebuf/seekoff/char/2-out.cc: New. | |
196 | * 27_io/basic_filebuf/seekoff/char/2.cc: Remove. | |
197 | * 27_io/basic_filebuf/seekoff/char/3-in.cc: New. | |
198 | * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change. | |
199 | * 27_io/basic_filebuf/seekoff/char/3-out.cc: New. | |
200 | * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove. | |
201 | * 27_io/basic_filebuf/seekpos/char/1-in.cc: New. | |
202 | * 27_io/basic_filebuf/seekpos/char/1-io.cc: New. | |
203 | * 27_io/basic_filebuf/seekpos/char/1-out.cc: New. | |
204 | * 27_io/basic_filebuf/seekpos/char/2-in.cc: New. | |
205 | * 27_io/basic_filebuf/seekpos/char/2-io.cc: New. | |
206 | * 27_io/basic_filebuf/seekpos/char/2-out.cc: New. | |
207 | * 27_io/basic_filebuf/seekpos/char/2.cc: Change. | |
208 | * 27_io/basic_filebuf/seekpos/char/3-in.cc: New. | |
209 | * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove. | |
210 | * 27_io/basic_filebuf/seekpos/char/3-out.cc: New. | |
211 | * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove. | |
212 | * data/seekoff-1.tst: Remove. | |
213 | * data/seekoff-1io.tst: New. | |
214 | * data/seekoff-1out.tst: New. | |
215 | * data/seekoff-2.tst: Remove. | |
216 | * data/seekoff-2io.tst: New. | |
217 | * data/seekoff-2out.tst: New. | |
218 | * data/seekoff.txt | |
219 | * data/seekpos-1.tst: Remove. | |
220 | * data/seekpos-1io.tst: New. | |
221 | * data/seekpos-1out.tst: New. | |
222 | * data/seekpos-2.tst: Remove. | |
223 | * data/seekpos-2io.tst: New. | |
224 | * data/seekpos-2out.tst: New. | |
225 | * data/seekpos.txt: New. | |
226 | ||
a5b1b26c | 227 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
cf0cad09 JQ |
228 | |
229 | * src/locale.cc (__use_cache<numpunct>): Move from here ... | |
230 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): To | |
231 | here. | |
232 | ||
884a757a PC |
233 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
234 | ||
235 | * include/bits/stl_algobase.h: Fully qualify standard | |
236 | functions with std::, thus avoiding Koenig lookup. | |
237 | ||
5892c641 DG |
238 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
239 | ||
240 | * include/bits/locale_facets.tcc (money_get::do_get): Avoid | |
241 | subscripting empty string. | |
242 | ||
7685a26d PE |
243 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
244 | ||
245 | * testsuite/Makefile.am (check-am): Do not override. | |
246 | (baseline_symbols): Declare as PHONY, so no need to 'touch' it. | |
247 | * testsuite/Makefile.in: Regenerate. | |
248 | ||
d147b75b DG |
249 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
250 | ||
251 | * testsuite/24_iterators/insert_iterator.cc (test01, test02): | |
252 | Don't initialize an insert_iterator with a singular iterator. | |
253 | ||
44f0760e BK |
254 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
255 | ||
256 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch. | |
257 | * aclocal.m4: Regenerate. | |
258 | * configure.in (GLIBCPP_CHECK_PCH): Move, change to | |
259 | GLIBCPP_ENABLE_PCH, default to yes. | |
260 | * configure: Regenerate. | |
261 | * docs/html/configopts.html: Add --enable-pch. | |
262 | ||
e37f7da7 PE |
263 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
264 | ||
265 | * testsuite/lib/libstdc++-v3-dg.exp: Add comments. | |
266 | (libstdc++-v3-init): Also set LD_RUN_PATH. | |
267 | ||
cd16e04b PC |
268 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
269 | ||
fbfcbadc PC |
270 | * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move |
271 | from here to filebuf and stringbuf. | |
cd16e04b PC |
272 | (~basic_streambuf()): Don't set _M_mode. |
273 | (basic_streambuf()): Don't set _M_mode. | |
274 | * include/std/std_fstream.h (_M_mode): Move here, from streambuf. | |
275 | (~basic_filebuf()): Clean up. | |
276 | * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode. | |
277 | * include/std/std_sstream.h (_M_mode): Move here, from streambuf. | |
278 | * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode. | |
279 | * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. | |
280 | * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. | |
281 | * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. | |
282 | * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. | |
283 | ||
284 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> | |
285 | ||
286 | * include/std/std_fstream.h (_M_underflow): Remove. | |
287 | (uflow): Remove, inherited from streambuf. | |
288 | (underflow): Only declare. | |
289 | * include/bits/fstream.tcc (_M_underflow): Rename to | |
290 | underflow, to which is equivalent for __bump == false, | |
291 | simplify. | |
292 | * include/std/std_sstream.h (_M_underflow): Remove. | |
293 | (uflow): Remove, inherited from streambuf. | |
294 | (underflow): Only declare. | |
295 | * include/bits/sstream.tcc (_M_underflow): Rename to | |
296 | underflow, to which is equivalent for __bump == false, | |
297 | simplify. | |
298 | ||
c868f37e PC |
299 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
300 | ||
fbfcbadc PC |
301 | * include/bits/stl_algo.h: Fully qualify standard functions |
302 | with std::, thus avoiding Koenig lookup. | |
c868f37e | 303 | |
165f54e0 PC |
304 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
305 | ||
306 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: | |
307 | Improve type correctness-wise. | |
308 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: | |
309 | Likewise. | |
310 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: | |
311 | Likewise. | |
312 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: | |
313 | Likewise. | |
314 | ||
90319d16 PC |
315 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
316 | ||
317 | * include/std/std_streambuf.h (uflow): According to | |
318 | 27.5.2.4.3,p16, don't check gptr() < egptr(). | |
319 | ||
b417ae14 PC |
320 | 2003-06-28 Paolo Carlini <pcarlini@unitus.it> |
321 | ||
322 | PR libstdc++/9875 | |
323 | * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0. | |
324 | (seekpos): Likewise. | |
325 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: | |
326 | New test. | |
327 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: | |
328 | New test. | |
329 | ||
f1a22109 BK |
330 | 2003-06-27 Benjamin Kosnik <bkoz@redhat.com> |
331 | ||
332 | * testsuite/testsuite_performance.h (__gnu_cxx_test): Change | |
333 | output name to libstdc++-v3-performance.sum. | |
334 | * testsuite/Makefile.am (CLEANFILES): Remove .performance. | |
335 | * testsuite/Makefile.in: Regenerate. | |
336 | ||
337 | 2003-06-27 Matthias Klose <doko@debian.org> | |
338 | ||
339 | * testsuite/Makefile.am (check-abi, check-abi-verbose): Save | |
340 | output of abi-check in libstdc++-v3-abi.sum. | |
341 | * testsuite/Makefile.in: Regenerate. | |
342 | ||
2e8a523f KW |
343 | 2003-06-27 Krister Walfridsson <cato@df.lth.se> |
344 | ||
345 | * config/os/bsd/netbsd/ctype_noninline.h | |
346 | (_C_ctype_): Declare. | |
347 | (ctype<char>::classic_table): Return _C_ctype_ + 1. | |
348 | (ctype<char>::ctype): Use classic_table. | |
349 | ||
3461133d PC |
350 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> |
351 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
352 | ||
353 | PR libstdc++/9178 | |
354 | * include/bits/fstream.tcc (_M_underflow): Properly estimate | |
355 | the worst-case number of external bytes for a given get area. | |
356 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New. | |
357 | ||
358 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> | |
359 | Petur Runolfsson <peturr02@ru.is> | |
360 | ||
361 | PR libstdc++/11305 | |
362 | * include/bits/fstream.tcc (overflow): Properly estimate the | |
363 | worst-case number of external bytes for a given put area | |
364 | (by using codecvt::max_length()). | |
365 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New. | |
366 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New. | |
367 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New. | |
368 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New. | |
369 | ||
5648db54 NS |
370 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
371 | ||
372 | * config/linker-map.gnu: Remove ; after __numpunct_cache. | |
373 | ||
215f9e28 BK |
374 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> |
375 | ||
376 | * include/bits/ios_base.h (ios_base::_M_getloc): Return reference | |
377 | to the imbued locale. | |
378 | * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use | |
379 | _M_getloc. | |
380 | (num_put::_M_convert_float): Use. | |
381 | ||
382 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> | |
383 | Jerry Quinn <jlquinn@optonline.net> | |
384 | ||
385 | * config/linker-map.gnu: Add __numpunct_cache. | |
386 | * config/locale/gnu/numeric_members.cc | |
387 | (numpunct::_M_initialize_numpunct): Account for _M_data, fill in | |
388 | all elements for "C" locale. | |
389 | (numpunct::~numpunct): Delete _M_data. | |
390 | * config/locale/generic/numeric_members.cc: Same. | |
391 | * include/bits/basic_ios.tcc | |
392 | (basic_ios::init): Remove __locale_cache bits. | |
393 | (basic_ios::_M_cache_locale): Same. | |
394 | * include/bits/ios_base.h: Same. Tweaks. | |
395 | * include/bits/locale_classes.h: Tweaks. Reorder classes. | |
396 | (__use_cache): Make friends with _Impl, locale. | |
397 | (_Impl::_M_caches): Add. | |
398 | (_Impl::_M_install_cache): Add. | |
399 | * include/bits/locale_facets.h (__numpunct_cache): New. | |
400 | (numpunct): Encapsulate data members in __numpunct_cache member, | |
401 | _M_data. Adjust virtuals. | |
402 | (numpunct::numpunct): New ctor for the same. | |
403 | (__locale_cache_base): Remove. | |
404 | (__locale_cache): Remove. | |
405 | * include/bits/locale_facets.tcc (__use_cache): New function, | |
406 | specializations. | |
407 | (num_put::_M_convert_int, _M_convert_float, do_put): Use it. | |
408 | * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w. | |
409 | * src/ios.cc (ios_base::ios_base): Remove __locale_cache. | |
410 | * src/locale-inst.cc: Same. Add __numpunct_cache. | |
411 | * src/locale.cc: Tweak inlines. | |
412 | (__use_cache): Define specializations. | |
413 | * src/localename.cc: Use global bits. | |
414 | (_Impl::~Impl): Deal with __numpunct_cache destruction. | |
415 | (_Impl::_Impl): Same. Pre-cache standard numpunct facets. | |
416 | (_Impl::_M_init_facet): Take into account __numpunct_cache. | |
417 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers. | |
418 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
419 | ||
8370378a NM |
420 | 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org> |
421 | Paolo Carlini <pcarlini@unitus.it> | |
422 | ||
423 | * testsuite/performance/filebuf_copy.cc: New, testing char | |
424 | by char file copy. | |
425 | ||
2cfe4e68 PC |
426 | 2003-06-26 Paolo Carlini <pcarlini@unitus.it> |
427 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
428 | ||
429 | * include/bits/fstream.tcc (_M_underflow): When the actual | |
430 | end of file is reached, set 'uncommitted' mode to allow a | |
431 | next write without an intervening seek (see C++98 27.8.1.1,2 | |
432 | and C89 7.9.5.3). | |
433 | * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New. | |
434 | ||
29d9ed97 NM |
435 | 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org> |
436 | ||
437 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
438 | sputc): Move inline, from here... | |
439 | * include/std/std_streambuf.h: ... to here. | |
440 | ||
441 | * include/std/std_streambuf.h (snextc, sbumpc, sgetc, | |
442 | sputbackc, sungetc, sputc): Use __builtin_expect. | |
443 | ||
c1a62440 PE |
444 | 2003-06-24 Phil Edwards <pme@gcc.gnu.org> |
445 | ||
446 | * docs/doxygen/mainpage.html: Use a useful title. | |
447 | ||
cdc1242a BK |
448 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
449 | ||
450 | * docs/html/documentation.html: Remove assignment info. | |
451 | * docs/html/17_intro/contribute.html: Edits. | |
452 | * docs/html/17_intro/libstdc++-assign.tx: Remove. | |
453 | ||
454 | * docs/html/test.html: Update. | |
455 | ||
456 | * README: Update. | |
457 | ||
1b6f0a56 BK |
458 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
459 | Ulrich Drepper <drepper@redhat.com> | |
460 | ||
461 | * testsuite/testsuite_performance.h: Tweak mallinfo. | |
462 | ||
71b46021 PC |
463 | 2003-06-24 Paolo Carlini <pcarlini@unitus.it> |
464 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
465 | ||
466 | * include/std/std_fstream.h (_M_filepos): Remove. | |
467 | (_M_reading, _M_writing): New, encode the various I/O modes: | |
468 | 'read', 'write' and 'uncommitted'. | |
469 | (sync): If there is something to flush, do it, then go to | |
470 | 'uncommitted' mode. | |
471 | * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal | |
472 | with three different cases: __off > 0 (upon underflow), | |
473 | __off == 0 (upon overflow), __off == -1 (upon open, setbuf, | |
474 | seekoff/pos). | |
475 | (_M_underflow): Don't call overflow, set _M_reading to true | |
476 | on success, tweak. | |
477 | (pbackfail): Set _M_reading to true on pback creation, tweak. | |
478 | (overflow): Don't seek, deal with overflow in 'uncommitted' mode, | |
479 | set _M_writing to true on success, tweak. | |
480 | (seekoff): Simplify, set _M_reading, _M_writing to false, call | |
481 | _M_set_buffer(-1) ('uncommitted'). | |
482 | (open, close, setbuf): Set _M_reading, _M_writing to false and | |
483 | call _M_set_buffer(-1), tweak. | |
484 | (basic_filebuf): Don't set _M_buf_unified. | |
485 | (_M_destroy_internal_buffer): Don't call setg and setp. | |
486 | * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading, | |
487 | _M_writing and _M_set_buffer(-1). | |
488 | * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur, | |
489 | _M_out_lim, _M_buf_unified): Remove. | |
490 | (basic_streambuf): Don't set _M_out_lim and _M_buf_unified. | |
491 | (setp): Don't set _M_out_lim. | |
492 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for | |
493 | the new logic ('read', 'write' and 'uncommitted' modes): e.g., | |
494 | upon open the mode is 'uncommitted' and therefore the put area | |
495 | pointers are null. | |
496 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto. | |
497 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto. | |
498 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto. | |
499 | * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto. | |
500 | * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto. | |
501 | * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto. | |
502 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
503 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto. | |
504 | * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto. | |
505 | * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto. | |
506 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto. | |
507 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto. | |
508 | * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto. | |
509 | * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto. | |
510 | * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto. | |
511 | * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto. | |
512 | * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto. | |
513 | * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto. | |
514 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto. | |
515 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto. | |
516 | ||
517 | * include/bits/fstream.tcc (showmanyc): Use only the | |
518 | documented derivation interface to basic_streambuf (gptr(), | |
519 | setg(), etc.) to work right with user specializations. | |
520 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
521 | sputc, xsgetn, xsputn, __copy_streambufs): Likewise. | |
522 | * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc): | |
523 | Likewise. | |
524 | * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback, | |
525 | xsgetn): Likewise. | |
526 | ||
9eb6e1d3 LR |
527 | 2003-06-23 Loren J. Rittle <ljrittle@acm.org> |
528 | ||
529 | * configure.host (freebsd*): Set abi_baseline_pair. | |
530 | * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2 | |
531 | (at or near first release) to 3.3. | |
532 | * config/abi/i386-freebsd5/baseline_symbols.txt: New file. | |
533 | * config/abi/alpha-freebsd5/baseline_symbols.txt: New file. | |
534 | * config/abi/sparc-freebsd5/baseline_symbols.txt: New file. | |
535 | ||
3d57d7ba | 536 | * include/ext/mt_allocator.h: Portability. |
d1a2c4d6 | 537 | * testsuite/testsuite_performance.h: Likewise. |
3d57d7ba | 538 | |
c89c30dd BK |
539 | 2003-06-23 Benjamin Kosnik <bkoz@redhat.com> |
540 | ||
541 | * docs/html/17_intro/libstdc++-assign.txt: Update address. | |
542 | ||
543 | * testsuite/performance/ifstream_getline.cc: Fix. | |
544 | ||
545 | 2003-06-23 Doug Gregor <dgregor@apple.com> | |
2b491e3a DG |
546 | |
547 | * include/bits/boost_concept_check.h: Don't use _D or _R for type | |
548 | names. | |
549 | ||
1b170b55 PC |
550 | 2003-06-22 Paolo Carlini <pcarlini@unitus.it> |
551 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
552 | ||
553 | * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim | |
554 | is now used only for filebuf, when _M_buf_unified is true. | |
555 | epgtr() plays the role of _M_out_lim but it's only updated | |
556 | upon overflow, underflow, uflow, seekoff/pos. | |
557 | * include/bits/sstream.tcc (_M_underflow): New, implements | |
558 | stringbuf::underflow and uflow. | |
559 | (seekoff, seekpos): Tweak, use _M_update_egptr. | |
560 | * include/std/std_sstream.h (str): Rewrote, deal correctly | |
561 | with the new logic, in particular, when pptr() > egptr(). | |
562 | (_M_sync): When __testout && !__testin set all the get area | |
563 | pointers to the current string end. | |
564 | (_M_update_egptr): New, internal function updating egptr() | |
565 | to the actual string end. | |
566 | (_M_underflow): New, declare. | |
567 | (underflow): Dispatch to _M_underflow(false). | |
568 | (uflow): Dispatch to _M_underflow(true). | |
569 | ||
570 | * include/bits/sstream.tcc (pbackfail, overflow, seekoff, | |
571 | seekpos): Use only the documented derivation interface to | |
572 | basic_streambuf (gptr(), setg(), etc.) to work right with | |
573 | user specializations. | |
574 | * include/std/std_sstream.h (str, _M_sync): Likewise. | |
575 | ||
8dbe14be DG |
576 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
577 | ||
1b170b55 PC |
578 | * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr |
579 | * testsuite/21_strings/basic_string/replace/char/4.cc: Don't | |
580 | dereference end iterator. | |
581 | * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same. | |
582 | * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with | |
583 | index equal to the length of a string. | |
584 | * testsuite/22_locale/ctype/narrow/char/2.cc: Same. | |
585 | * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same. | |
586 | * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same. | |
587 | * testsuite/22_locale/ctype/widen/char/1.cc: Same. | |
588 | * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same. | |
589 | * testsuite/23_containers/list_modifiers.cc: Don't dereference | |
590 | singular reverse iterator. | |
591 | * testsuite/23_containers/vector_bool.cc: Don't increment singular | |
592 | iterator. | |
593 | * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator. | |
8dbe14be | 594 | |
bdb0f0f5 DG |
595 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
596 | ||
597 | * include/bits/basic_string.h (basic_string::replace): Dispatch | |
598 | _InputIterator version based on _Is_integer. | |
599 | * include/bits/basic_string.tcc (basic_string::replace): | |
600 | Renamed replace(iterator, iterator, size_type, _CharT) to | |
601 | _M_replace_aux. | |
602 | * testsuite/21_strings/basic_string/assign/char/1.cc (test01): | |
603 | Test basic_string::assign(_InputIterator, _InputIterator), | |
604 | which calls basic_string::replace(iterator, iterator, | |
605 | _Input_iterator, _InputIterator). | |
606 | ||
f5a6463e BK |
607 | 2003-06-20 Benjamin Kosnik <bkoz@redhat.com> |
608 | ||
609 | * testsuite/testsuite_performance.h (resource_counter): Don't use | |
610 | mallinfo at the moment. | |
611 | ||
bbdfb3e8 MK |
612 | 2003-06-20 Matthias Klose <doko@debian.org> |
613 | ||
614 | * configure.host: Set try_cpu to target_cpu for existing | |
615 | baseline files. | |
616 | ||
97460e9a AJ |
617 | 2003-06-19 Andreas Jaeger <aj@suse.de> |
618 | ||
619 | * testsuite/Makefile.am (extract_symvers): Revert accidental | |
620 | change. | |
621 | * testsuite/Makefile.in: Regenerate. | |
622 | ||
623 | * configure.in: Pass MULTISUBDIR to testsuite/Makefile. | |
624 | * configure: Regenerated. | |
625 | ||
50af15ec PC |
626 | 2003-06-19 Paolo Carlini <pcarlini@unitus.it> |
627 | ||
628 | * include/std/std_sstream.h (_M_sync): Make non virtual. | |
629 | ||
ce4f8c6b BK |
630 | 2003-06-18 Benjamin Kosnik <bkoz@redhat.com> |
631 | ||
632 | * testsuite/testsuite_performance.h (time_counter): New. | |
633 | (resource_counter): New. | |
634 | (report_performance): New. | |
635 | (start_counters): New. | |
636 | (stop_counters): New. | |
97460e9a | 637 | (clear_counters): New. |
ce4f8c6b BK |
638 | * testsuite/performance/allocator.cc: Instrument. |
639 | * testsuite/performance/cout_insert_int.cc: Same. | |
640 | * testsuite/performance/complex_norm.cc: Same. | |
641 | * testsuite/performance/filebuf_sputc.cc: New. | |
642 | * testsuite/performance/fstream_seek_write.cc: Same. | |
643 | * testsuite/performance/ifstream_getline.cc: Same. | |
644 | * testsuite/performance/map_create_fill.cc: Same. | |
645 | * testsuite/performance/ofstream_insert_float.cc: Same. | |
646 | * testsuite/performance/ofstream_insert_int.cc: Same. | |
97460e9a | 647 | * testsuite/performance/string_append.cc: Convert. |
ce4f8c6b BK |
648 | * scripts/check_performance: New. |
649 | * testsuite/Makefile.am (check-performance): New. | |
650 | (CLEANFILES): Add. | |
97460e9a | 651 | |
b82a33d2 PC |
652 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
653 | Benjamin Kosnik <bkoz@redhat.com> | |
654 | ||
655 | * include/std/std_sstream.h (setbuf): Check __n >= 0. | |
656 | * include/bits/fstream.tcc (setbuf): Tweak. | |
657 | ||
4c526d09 PC |
658 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
659 | ||
660 | * include/bits/sstream.tcc (seekoff): We can't seek beyond | |
661 | _M_out_lim, therefore _M_move_out_cur boils down to simply | |
662 | updating _M_out_cur. | |
663 | (seekpos): Likewise, clean up. | |
664 | ||
c1b74c21 NM |
665 | 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org> |
666 | Paolo Carlini <pcarlini@unitus.it> | |
667 | ||
668 | * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too, | |
669 | simply equivalent to the unbuffered case (0, 0) as far as | |
670 | _M_buf_size is concerned. | |
671 | ||
a1af4623 AJ |
672 | 2003-06-18 Andreas Jaeger <aj@suse.de> |
673 | ||
674 | * testsuite/Makefile.am (new-abi-baseline): Create baseline | |
675 | directory. | |
676 | (baseline_file): Use baseline_dir. | |
677 | (baseline_dir): New. | |
678 | (mkinstalldirs): New. | |
679 | ||
680 | * acinclude.m4: Rename baseline_file to baseline_dir, strip | |
681 | filename from baseline_dir. | |
682 | ||
683 | * testsuite/Makefile.in: Regenerated. | |
684 | * Makefile.in: Regenerated. | |
685 | * aclocal.m4: Regenerated. | |
686 | * configure: Regenerated. | |
687 | ||
2f934953 BK |
688 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
689 | ||
690 | * configure.in: Missed check_survey bit. | |
691 | * configure: Regenerated. | |
692 | ||
0676e930 BK |
693 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
694 | ||
695 | * scripts: New. | |
696 | * config/abi/extract_symvers: Move to... | |
697 | * scripts/extract_symvers: ...here. | |
698 | * mkcheck.in: Move to.. | |
699 | * scripts/check_survey.in: ...here. | |
700 | * testsuite_flags.in: Move to.. | |
701 | * scripts/testsuite_flags.in: ...here. | |
702 | * configure.in: Change check and testsuite_flags locations. | |
703 | * configure: Regenerate. | |
704 | * testsuite/Makefile.am (current_symbols.txt): Change location. | |
705 | * testsuite/Makefile.in: Regenerate. | |
706 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify | |
707 | location of testsuite_flags. | |
708 | * Makefile.am (check-script): Move.. | |
709 | (check-script-install): Move... | |
a1af4623 | 710 | * testsuite/Makefile.am: ... here. |
0676e930 | 711 | * testsuite/Makefile.in: Regenerate. |
a1af4623 AJ |
712 | * Makefile.in: Regenerate. |
713 | ||
82620aaf BK |
714 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
715 | ||
716 | * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0. | |
717 | ||
c4c064e7 BK |
718 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
719 | ||
720 | * Makefile.am (check-abi): Move... | |
721 | (new-abi-baseline): Move... | |
722 | * testsuite/Makefile.am: ...here. | |
723 | (new-abi-baseline): Conditionalize. | |
724 | (check-abi): Conditionalize. | |
725 | (check-abi-verbose): New. | |
726 | * Makefile.in: Regenerate. | |
a1af4623 | 727 | * testsuite/Makefile.in: Regenerate. |
c4c064e7 BK |
728 | * configure.in: Consolidate testsuite configure bits. |
729 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same. | |
730 | * configure: Regenerate. | |
a1af4623 | 731 | * aclocal.m4: Regenerate. |
c4c064e7 BK |
732 | * testsuite/abi_check.cc: Add --check-verbose. |
733 | Only output detailed information if --check-verbose. | |
734 | ||
e7bb3511 | 735 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
a1af4623 | 736 | |
e7bb3511 | 737 | * testsuite/abi_check.cc: Create summary report. |
a1af4623 | 738 | |
8363b773 PC |
739 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
740 | ||
741 | * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix | |
742 | for systems with BUFSIZ != 8192. | |
743 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
744 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: | |
745 | Minor tweaks. | |
746 | ||
5ab481e0 BK |
747 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
748 | ||
749 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make | |
750 | check-abi multilib aware. | |
751 | * aclocal.m4: Regenerate. | |
752 | * configure: Regenerate. | |
a1af4623 | 753 | |
5ab481e0 BK |
754 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
755 | Andreas Jaeger <aj@suse.de> | |
756 | ||
757 | * configure.host: Set x86_64 abi_baseline pair correctly. | |
758 | ||
0bad3b7c PC |
759 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
760 | ||
761 | * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and | |
762 | fix for missing seeks between gets and puts into... | |
763 | * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New. | |
764 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New. | |
765 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New. | |
766 | * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New. | |
767 | * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New. | |
768 | * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New. | |
a1af4623 | 769 | |
dc4add82 RH |
770 | 2003-06-15 Richard Henderson <rth@redhat.com> |
771 | ||
772 | * config/linker-map.gnu: Export virtual function thunks for | |
773 | 64-bit systems too. | |
774 | ||
ef16a298 BK |
775 | 2003-06-13 Benjamin Kosnik <bkoz@redhat.com> |
776 | ||
777 | * config/abi/i686-pc-linux-gnu: To.. | |
778 | * config/abi/i486-linux-gnu: ...this. | |
779 | * config/abi/alphaev67-unknown-linux-gnu: To.. | |
780 | * config/abi/alpha-linux-gnu: ...this. | |
781 | * config/abi/ia64-unknown-linux-gnu: To... | |
782 | * config/abi/ia64-linux-gnu: ...this. | |
783 | * config/abi/x86_64-unknown-linux-gnu: To... | |
784 | * config/abi/x86_64-linux-gnu: ...this. | |
785 | * config/abi/i386-unknown-freebsd4: To... | |
786 | * config/abi/i386-freebsd4: ...this. | |
5ab481e0 BK |
787 | * config/linker-map.gnu: Cleanups, move libsupc++ bits into |
788 | CXXABI. | |
ef16a298 BK |
789 | * configure.host: abi_baseline_triplet to abi_baseline_pair. |
790 | Simplify cpu bits so that abi_baseline_pair can use the same | |
791 | cpu configuration. | |
792 | * acinclude.m4: Same. | |
793 | * aclocal.m4: Regenerate. | |
794 | * configure.in: Can't get enable_abi_check to yes unless native. | |
795 | * configure: Regenerate. | |
796 | ||
ed242935 PC |
797 | 2003-06-13 Paolo Carlini <pcarlini@unitus.it> |
798 | ||
799 | * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and | |
800 | fix for missing seeks between gets and puts into... | |
801 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New. | |
802 | * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New. | |
803 | * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into... | |
804 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New. | |
805 | * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New. | |
806 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix | |
807 | for missing seeks between gets and puts. | |
808 | * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto. | |
809 | * testsuite/data/seekoff-1.tst: New. | |
810 | * testsuite/data/seekoff-2.tst: New. | |
811 | * testsuite/data/seekpos-1.tst: New. | |
812 | * testsuite/data/seekpos-2.tst: New. | |
813 | ||
ca566e4c NM |
814 | 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org> |
815 | ||
816 | Avoid multi-processor bus contention on increment/decrement-and- | |
a1af4623 | 817 | test of the reference count in the empty-string object, by comparing |
ca566e4c | 818 | addresses first, and never touching the reference count of the empty- |
a1af4623 | 819 | string object. |
ca566e4c NM |
820 | * include/bits/basic_string.h: |
821 | (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its | |
822 | members. | |
a1af4623 | 823 | (_Rep::_S_empty_rep()): New accessor. |
ca566e4c NM |
824 | (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to |
825 | a base class _Rep_base. | |
826 | (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string. | |
827 | (basic_string()): Change to use _M_refdata() in place of _M_refcopy(), | |
828 | since no longer must increment its refcount. | |
829 | * include/bits/basic_string.tcc: | |
a1af4623 AJ |
830 | (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and |
831 | return immediately. The former might be unnecessary. The latter | |
ca566e4c NM |
832 | prevents begin() and end() from cloning it unnecessarily. |
833 | (_S_construct(_InIterator, _InIterator, const _Alloc&, | |
834 | input_iterator_tag), _S_construct(_InIterator, _InIterator, | |
835 | const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT, | |
836 | const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy(). | |
837 | (_M_mutate): Check for the empty string and treat it as shared. | |
838 | This is necessary here because _M_mutate is sometimes called with | |
839 | all-zero arguments; in all other uses of _M_is_shared, the test comes | |
840 | out right anyhow. | |
a1af4623 | 841 | |
c37514ff BK |
842 | 2003-06-12 Benjamin Kosnik <bkoz@redhat.com> |
843 | ||
844 | * src/allocator-inst.cc: Explicitly instantiate. | |
845 | * include/ext/pool_allocator.h: Inhibit implicit instantiations. | |
846 | Tweaks. | |
847 | * config/linker-map.gnu: Add __pool_alloc bits. Tweaks. | |
a1af4623 | 848 | |
58ac1d7f BK |
849 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
850 | ||
851 | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. | |
852 | * aclocal.m4: Regenerate. | |
853 | * Makefile.am (SUBDIRS): Remove libio. | |
854 | * Makefile.in: Regenerate. | |
855 | * configure.in: Same. | |
856 | * configure: Regenerate. | |
857 | * config/io/basic_file_libio.cc: Remove. | |
a1af4623 | 858 | * config/io/basic_file_libio.h: Remove. |
58ac1d7f | 859 | * config/io/c_io_libio_codecvt.c: Remove. |
a1af4623 | 860 | * config/io/c_io_libio.h: Remove. |
58ac1d7f BK |
861 | * libio/*: Remove. |
862 | * src/Makefile.am: Same. | |
863 | * src/Makefile.in: Regenerate. | |
a1af4623 | 864 | * docs/html/configopts.html: Edits. |
58ac1d7f | 865 | * docs/html/explanations.html: Edits. |
a1af4623 | 866 | |
1ff9402d BK |
867 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
868 | ||
869 | * include/bits/stl_alloc.h (__debug_alloc): Move out. | |
870 | (__malloc_alloc): Same. | |
871 | (__pool_alloc): Same. | |
872 | (__new_alloc): Same. | |
873 | Rename to.. | |
874 | * include/bits/allocator.h: ...this. | |
875 | * include/bits/stl_deque.h: Modify comment. | |
876 | * include/bits/stl_tree.h: Modify include. | |
877 | * include/std/std_memory.h: Same. | |
878 | * include/ext/rope: Same. | |
a1af4623 | 879 | * include/ext/slist: Same. |
1ff9402d BK |
880 | * include/std/std_vector.h: Same. |
881 | * include/std/std_stack.h: Same. | |
882 | * include/std/std_queue.h: Same. | |
883 | * include/std/std_list.h: Same. | |
884 | * include/std/std_deque.h: Same. | |
885 | * include/backward/alloc.h: Same. | |
886 | * include/ext/debug_allocator.h: New. | |
a1af4623 AJ |
887 | * include/ext/malloc_allocator.h: New. |
888 | * include/ext/pool_allocator.h: New. | |
1ff9402d BK |
889 | * include/ext/new_allocator.h: New. |
890 | * include/bits/pthread_allocimpl.h: Remove. | |
a1af4623 | 891 | * include/bits/stl_pthread_alloc.h: Remove. |
1ff9402d BK |
892 | * include/Makefile.am (ext_headers): Add. |
893 | * include/Makefile.in: Regenerate. | |
894 | * src/stl-inst.cc: Use __gnu_cxx namespace. | |
895 | * src/stl-inst.cc: Move to... | |
896 | * src/allocator-inst.cc: Here. | |
897 | * src/Makefile.am (sources): Update. | |
898 | * src/Makefile.in: Regenerate. | |
899 | * config/linker-map.gnu: Remove __pool_alloc bits. | |
900 | * testsuite/ext/headers.cc: Add. | |
901 | * testsuite/ext/allocators.cc: Fixup. | |
a1af4623 | 902 | |
1ff9402d BK |
903 | 2003-06-11 Stefan Olsson <stefan@snon.net> |
904 |