]>
Commit | Line | Data |
---|---|---|
cd16e04b PC |
1 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
2 | ||
3 | * include/std/std_streambuf.h (_M_mode): Move from here to | |
4 | filebuf and stringbuf. | |
5 | (~basic_streambuf()): Don't set _M_mode. | |
6 | (basic_streambuf()): Don't set _M_mode. | |
7 | * include/std/std_fstream.h (_M_mode): Move here, from streambuf. | |
8 | (~basic_filebuf()): Clean up. | |
9 | * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode. | |
10 | * include/std/std_sstream.h (_M_mode): Move here, from streambuf. | |
11 | * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode. | |
12 | * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. | |
13 | * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. | |
14 | * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. | |
15 | * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. | |
16 | ||
17 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> | |
18 | ||
19 | * include/std/std_fstream.h (_M_underflow): Remove. | |
20 | (uflow): Remove, inherited from streambuf. | |
21 | (underflow): Only declare. | |
22 | * include/bits/fstream.tcc (_M_underflow): Rename to | |
23 | underflow, to which is equivalent for __bump == false, | |
24 | simplify. | |
25 | * include/std/std_sstream.h (_M_underflow): Remove. | |
26 | (uflow): Remove, inherited from streambuf. | |
27 | (underflow): Only declare. | |
28 | * include/bits/sstream.tcc (_M_underflow): Rename to | |
29 | underflow, to which is equivalent for __bump == false, | |
30 | simplify. | |
31 | ||
c868f37e PC |
32 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
33 | ||
34 | * include/bits/stl_algo.h (LOTS): Fully qualify standard | |
35 | functions with std::, thus avoiding Koenig lookup. | |
36 | ||
165f54e0 PC |
37 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
38 | ||
39 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: | |
40 | Improve type correctness-wise. | |
41 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: | |
42 | Likewise. | |
43 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: | |
44 | Likewise. | |
45 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: | |
46 | Likewise. | |
47 | ||
90319d16 PC |
48 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
49 | ||
50 | * include/std/std_streambuf.h (uflow): According to | |
51 | 27.5.2.4.3,p16, don't check gptr() < egptr(). | |
52 | ||
b417ae14 PC |
53 | 2003-06-28 Paolo Carlini <pcarlini@unitus.it> |
54 | ||
55 | PR libstdc++/9875 | |
56 | * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0. | |
57 | (seekpos): Likewise. | |
58 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: | |
59 | New test. | |
60 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: | |
61 | New test. | |
62 | ||
f1a22109 BK |
63 | 2003-06-27 Benjamin Kosnik <bkoz@redhat.com> |
64 | ||
65 | * testsuite/testsuite_performance.h (__gnu_cxx_test): Change | |
66 | output name to libstdc++-v3-performance.sum. | |
67 | * testsuite/Makefile.am (CLEANFILES): Remove .performance. | |
68 | * testsuite/Makefile.in: Regenerate. | |
69 | ||
70 | 2003-06-27 Matthias Klose <doko@debian.org> | |
71 | ||
72 | * testsuite/Makefile.am (check-abi, check-abi-verbose): Save | |
73 | output of abi-check in libstdc++-v3-abi.sum. | |
74 | * testsuite/Makefile.in: Regenerate. | |
75 | ||
2e8a523f KW |
76 | 2003-06-27 Krister Walfridsson <cato@df.lth.se> |
77 | ||
78 | * config/os/bsd/netbsd/ctype_noninline.h | |
79 | (_C_ctype_): Declare. | |
80 | (ctype<char>::classic_table): Return _C_ctype_ + 1. | |
81 | (ctype<char>::ctype): Use classic_table. | |
82 | ||
3461133d PC |
83 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> |
84 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
85 | ||
86 | PR libstdc++/9178 | |
87 | * include/bits/fstream.tcc (_M_underflow): Properly estimate | |
88 | the worst-case number of external bytes for a given get area. | |
89 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New. | |
90 | ||
91 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> | |
92 | Petur Runolfsson <peturr02@ru.is> | |
93 | ||
94 | PR libstdc++/11305 | |
95 | * include/bits/fstream.tcc (overflow): Properly estimate the | |
96 | worst-case number of external bytes for a given put area | |
97 | (by using codecvt::max_length()). | |
98 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New. | |
99 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New. | |
100 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New. | |
101 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New. | |
102 | ||
5648db54 NS |
103 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
104 | ||
105 | * config/linker-map.gnu: Remove ; after __numpunct_cache. | |
106 | ||
215f9e28 BK |
107 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> |
108 | ||
109 | * include/bits/ios_base.h (ios_base::_M_getloc): Return reference | |
110 | to the imbued locale. | |
111 | * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use | |
112 | _M_getloc. | |
113 | (num_put::_M_convert_float): Use. | |
114 | ||
115 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> | |
116 | Jerry Quinn <jlquinn@optonline.net> | |
117 | ||
118 | * config/linker-map.gnu: Add __numpunct_cache. | |
119 | * config/locale/gnu/numeric_members.cc | |
120 | (numpunct::_M_initialize_numpunct): Account for _M_data, fill in | |
121 | all elements for "C" locale. | |
122 | (numpunct::~numpunct): Delete _M_data. | |
123 | * config/locale/generic/numeric_members.cc: Same. | |
124 | * include/bits/basic_ios.tcc | |
125 | (basic_ios::init): Remove __locale_cache bits. | |
126 | (basic_ios::_M_cache_locale): Same. | |
127 | * include/bits/ios_base.h: Same. Tweaks. | |
128 | * include/bits/locale_classes.h: Tweaks. Reorder classes. | |
129 | (__use_cache): Make friends with _Impl, locale. | |
130 | (_Impl::_M_caches): Add. | |
131 | (_Impl::_M_install_cache): Add. | |
132 | * include/bits/locale_facets.h (__numpunct_cache): New. | |
133 | (numpunct): Encapsulate data members in __numpunct_cache member, | |
134 | _M_data. Adjust virtuals. | |
135 | (numpunct::numpunct): New ctor for the same. | |
136 | (__locale_cache_base): Remove. | |
137 | (__locale_cache): Remove. | |
138 | * include/bits/locale_facets.tcc (__use_cache): New function, | |
139 | specializations. | |
140 | (num_put::_M_convert_int, _M_convert_float, do_put): Use it. | |
141 | * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w. | |
142 | * src/ios.cc (ios_base::ios_base): Remove __locale_cache. | |
143 | * src/locale-inst.cc: Same. Add __numpunct_cache. | |
144 | * src/locale.cc: Tweak inlines. | |
145 | (__use_cache): Define specializations. | |
146 | * src/localename.cc: Use global bits. | |
147 | (_Impl::~Impl): Deal with __numpunct_cache destruction. | |
148 | (_Impl::_Impl): Same. Pre-cache standard numpunct facets. | |
149 | (_Impl::_M_init_facet): Take into account __numpunct_cache. | |
150 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers. | |
151 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
152 | ||
8370378a NM |
153 | 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org> |
154 | Paolo Carlini <pcarlini@unitus.it> | |
155 | ||
156 | * testsuite/performance/filebuf_copy.cc: New, testing char | |
157 | by char file copy. | |
158 | ||
2cfe4e68 PC |
159 | 2003-06-26 Paolo Carlini <pcarlini@unitus.it> |
160 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
161 | ||
162 | * include/bits/fstream.tcc (_M_underflow): When the actual | |
163 | end of file is reached, set 'uncommitted' mode to allow a | |
164 | next write without an intervening seek (see C++98 27.8.1.1,2 | |
165 | and C89 7.9.5.3). | |
166 | * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New. | |
167 | ||
29d9ed97 NM |
168 | 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org> |
169 | ||
170 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
171 | sputc): Move inline, from here... | |
172 | * include/std/std_streambuf.h: ... to here. | |
173 | ||
174 | * include/std/std_streambuf.h (snextc, sbumpc, sgetc, | |
175 | sputbackc, sungetc, sputc): Use __builtin_expect. | |
176 | ||
c1a62440 PE |
177 | 2003-06-24 Phil Edwards <pme@gcc.gnu.org> |
178 | ||
179 | * docs/doxygen/mainpage.html: Use a useful title. | |
180 | ||
cdc1242a BK |
181 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
182 | ||
183 | * docs/html/documentation.html: Remove assignment info. | |
184 | * docs/html/17_intro/contribute.html: Edits. | |
185 | * docs/html/17_intro/libstdc++-assign.tx: Remove. | |
186 | ||
187 | * docs/html/test.html: Update. | |
188 | ||
189 | * README: Update. | |
190 | ||
1b6f0a56 BK |
191 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
192 | Ulrich Drepper <drepper@redhat.com> | |
193 | ||
194 | * testsuite/testsuite_performance.h: Tweak mallinfo. | |
195 | ||
71b46021 PC |
196 | 2003-06-24 Paolo Carlini <pcarlini@unitus.it> |
197 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
198 | ||
199 | * include/std/std_fstream.h (_M_filepos): Remove. | |
200 | (_M_reading, _M_writing): New, encode the various I/O modes: | |
201 | 'read', 'write' and 'uncommitted'. | |
202 | (sync): If there is something to flush, do it, then go to | |
203 | 'uncommitted' mode. | |
204 | * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal | |
205 | with three different cases: __off > 0 (upon underflow), | |
206 | __off == 0 (upon overflow), __off == -1 (upon open, setbuf, | |
207 | seekoff/pos). | |
208 | (_M_underflow): Don't call overflow, set _M_reading to true | |
209 | on success, tweak. | |
210 | (pbackfail): Set _M_reading to true on pback creation, tweak. | |
211 | (overflow): Don't seek, deal with overflow in 'uncommitted' mode, | |
212 | set _M_writing to true on success, tweak. | |
213 | (seekoff): Simplify, set _M_reading, _M_writing to false, call | |
214 | _M_set_buffer(-1) ('uncommitted'). | |
215 | (open, close, setbuf): Set _M_reading, _M_writing to false and | |
216 | call _M_set_buffer(-1), tweak. | |
217 | (basic_filebuf): Don't set _M_buf_unified. | |
218 | (_M_destroy_internal_buffer): Don't call setg and setp. | |
219 | * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading, | |
220 | _M_writing and _M_set_buffer(-1). | |
221 | * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur, | |
222 | _M_out_lim, _M_buf_unified): Remove. | |
223 | (basic_streambuf): Don't set _M_out_lim and _M_buf_unified. | |
224 | (setp): Don't set _M_out_lim. | |
225 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for | |
226 | the new logic ('read', 'write' and 'uncommitted' modes): e.g., | |
227 | upon open the mode is 'uncommitted' and therefore the put area | |
228 | pointers are null. | |
229 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto. | |
230 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto. | |
231 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto. | |
232 | * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto. | |
233 | * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto. | |
234 | * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto. | |
235 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
236 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto. | |
237 | * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto. | |
238 | * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto. | |
239 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto. | |
240 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto. | |
241 | * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto. | |
242 | * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto. | |
243 | * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto. | |
244 | * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto. | |
245 | * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto. | |
246 | * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto. | |
247 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto. | |
248 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto. | |
249 | ||
250 | * include/bits/fstream.tcc (showmanyc): Use only the | |
251 | documented derivation interface to basic_streambuf (gptr(), | |
252 | setg(), etc.) to work right with user specializations. | |
253 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
254 | sputc, xsgetn, xsputn, __copy_streambufs): Likewise. | |
255 | * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc): | |
256 | Likewise. | |
257 | * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback, | |
258 | xsgetn): Likewise. | |
259 | ||
9eb6e1d3 LR |
260 | 2003-06-23 Loren J. Rittle <ljrittle@acm.org> |
261 | ||
262 | * configure.host (freebsd*): Set abi_baseline_pair. | |
263 | * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2 | |
264 | (at or near first release) to 3.3. | |
265 | * config/abi/i386-freebsd5/baseline_symbols.txt: New file. | |
266 | * config/abi/alpha-freebsd5/baseline_symbols.txt: New file. | |
267 | * config/abi/sparc-freebsd5/baseline_symbols.txt: New file. | |
268 | ||
3d57d7ba | 269 | * include/ext/mt_allocator.h: Portability. |
d1a2c4d6 | 270 | * testsuite/testsuite_performance.h: Likewise. |
3d57d7ba | 271 | |
c89c30dd BK |
272 | 2003-06-23 Benjamin Kosnik <bkoz@redhat.com> |
273 | ||
274 | * docs/html/17_intro/libstdc++-assign.txt: Update address. | |
275 | ||
276 | * testsuite/performance/ifstream_getline.cc: Fix. | |
277 | ||
278 | 2003-06-23 Doug Gregor <dgregor@apple.com> | |
2b491e3a DG |
279 | |
280 | * include/bits/boost_concept_check.h: Don't use _D or _R for type | |
281 | names. | |
282 | ||
1b170b55 PC |
283 | 2003-06-22 Paolo Carlini <pcarlini@unitus.it> |
284 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
285 | ||
286 | * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim | |
287 | is now used only for filebuf, when _M_buf_unified is true. | |
288 | epgtr() plays the role of _M_out_lim but it's only updated | |
289 | upon overflow, underflow, uflow, seekoff/pos. | |
290 | * include/bits/sstream.tcc (_M_underflow): New, implements | |
291 | stringbuf::underflow and uflow. | |
292 | (seekoff, seekpos): Tweak, use _M_update_egptr. | |
293 | * include/std/std_sstream.h (str): Rewrote, deal correctly | |
294 | with the new logic, in particular, when pptr() > egptr(). | |
295 | (_M_sync): When __testout && !__testin set all the get area | |
296 | pointers to the current string end. | |
297 | (_M_update_egptr): New, internal function updating egptr() | |
298 | to the actual string end. | |
299 | (_M_underflow): New, declare. | |
300 | (underflow): Dispatch to _M_underflow(false). | |
301 | (uflow): Dispatch to _M_underflow(true). | |
302 | ||
303 | * include/bits/sstream.tcc (pbackfail, overflow, seekoff, | |
304 | seekpos): Use only the documented derivation interface to | |
305 | basic_streambuf (gptr(), setg(), etc.) to work right with | |
306 | user specializations. | |
307 | * include/std/std_sstream.h (str, _M_sync): Likewise. | |
308 | ||
8dbe14be DG |
309 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
310 | ||
1b170b55 PC |
311 | * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr |
312 | * testsuite/21_strings/basic_string/replace/char/4.cc: Don't | |
313 | dereference end iterator. | |
314 | * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same. | |
315 | * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with | |
316 | index equal to the length of a string. | |
317 | * testsuite/22_locale/ctype/narrow/char/2.cc: Same. | |
318 | * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same. | |
319 | * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same. | |
320 | * testsuite/22_locale/ctype/widen/char/1.cc: Same. | |
321 | * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same. | |
322 | * testsuite/23_containers/list_modifiers.cc: Don't dereference | |
323 | singular reverse iterator. | |
324 | * testsuite/23_containers/vector_bool.cc: Don't increment singular | |
325 | iterator. | |
326 | * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator. | |
8dbe14be | 327 | |
bdb0f0f5 DG |
328 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
329 | ||
330 | * include/bits/basic_string.h (basic_string::replace): Dispatch | |
331 | _InputIterator version based on _Is_integer. | |
332 | * include/bits/basic_string.tcc (basic_string::replace): | |
333 | Renamed replace(iterator, iterator, size_type, _CharT) to | |
334 | _M_replace_aux. | |
335 | * testsuite/21_strings/basic_string/assign/char/1.cc (test01): | |
336 | Test basic_string::assign(_InputIterator, _InputIterator), | |
337 | which calls basic_string::replace(iterator, iterator, | |
338 | _Input_iterator, _InputIterator). | |
339 | ||
f5a6463e BK |
340 | 2003-06-20 Benjamin Kosnik <bkoz@redhat.com> |
341 | ||
342 | * testsuite/testsuite_performance.h (resource_counter): Don't use | |
343 | mallinfo at the moment. | |
344 | ||
bbdfb3e8 MK |
345 | 2003-06-20 Matthias Klose <doko@debian.org> |
346 | ||
347 | * configure.host: Set try_cpu to target_cpu for existing | |
348 | baseline files. | |
349 | ||
97460e9a AJ |
350 | 2003-06-19 Andreas Jaeger <aj@suse.de> |
351 | ||
352 | * testsuite/Makefile.am (extract_symvers): Revert accidental | |
353 | change. | |
354 | * testsuite/Makefile.in: Regenerate. | |
355 | ||
356 | * configure.in: Pass MULTISUBDIR to testsuite/Makefile. | |
357 | * configure: Regenerated. | |
358 | ||
50af15ec PC |
359 | 2003-06-19 Paolo Carlini <pcarlini@unitus.it> |
360 | ||
361 | * include/std/std_sstream.h (_M_sync): Make non virtual. | |
362 | ||
ce4f8c6b BK |
363 | 2003-06-18 Benjamin Kosnik <bkoz@redhat.com> |
364 | ||
365 | * testsuite/testsuite_performance.h (time_counter): New. | |
366 | (resource_counter): New. | |
367 | (report_performance): New. | |
368 | (start_counters): New. | |
369 | (stop_counters): New. | |
97460e9a | 370 | (clear_counters): New. |
ce4f8c6b BK |
371 | * testsuite/performance/allocator.cc: Instrument. |
372 | * testsuite/performance/cout_insert_int.cc: Same. | |
373 | * testsuite/performance/complex_norm.cc: Same. | |
374 | * testsuite/performance/filebuf_sputc.cc: New. | |
375 | * testsuite/performance/fstream_seek_write.cc: Same. | |
376 | * testsuite/performance/ifstream_getline.cc: Same. | |
377 | * testsuite/performance/map_create_fill.cc: Same. | |
378 | * testsuite/performance/ofstream_insert_float.cc: Same. | |
379 | * testsuite/performance/ofstream_insert_int.cc: Same. | |
97460e9a | 380 | * testsuite/performance/string_append.cc: Convert. |
ce4f8c6b BK |
381 | * scripts/check_performance: New. |
382 | * testsuite/Makefile.am (check-performance): New. | |
383 | (CLEANFILES): Add. | |
97460e9a | 384 | |
b82a33d2 PC |
385 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
386 | Benjamin Kosnik <bkoz@redhat.com> | |
387 | ||
388 | * include/std/std_sstream.h (setbuf): Check __n >= 0. | |
389 | * include/bits/fstream.tcc (setbuf): Tweak. | |
390 | ||
4c526d09 PC |
391 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
392 | ||
393 | * include/bits/sstream.tcc (seekoff): We can't seek beyond | |
394 | _M_out_lim, therefore _M_move_out_cur boils down to simply | |
395 | updating _M_out_cur. | |
396 | (seekpos): Likewise, clean up. | |
397 | ||
c1b74c21 NM |
398 | 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org> |
399 | Paolo Carlini <pcarlini@unitus.it> | |
400 | ||
401 | * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too, | |
402 | simply equivalent to the unbuffered case (0, 0) as far as | |
403 | _M_buf_size is concerned. | |
404 | ||
a1af4623 AJ |
405 | 2003-06-18 Andreas Jaeger <aj@suse.de> |
406 | ||
407 | * testsuite/Makefile.am (new-abi-baseline): Create baseline | |
408 | directory. | |
409 | (baseline_file): Use baseline_dir. | |
410 | (baseline_dir): New. | |
411 | (mkinstalldirs): New. | |
412 | ||
413 | * acinclude.m4: Rename baseline_file to baseline_dir, strip | |
414 | filename from baseline_dir. | |
415 | ||
416 | * testsuite/Makefile.in: Regenerated. | |
417 | * Makefile.in: Regenerated. | |
418 | * aclocal.m4: Regenerated. | |
419 | * configure: Regenerated. | |
420 | ||
2f934953 BK |
421 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
422 | ||
423 | * configure.in: Missed check_survey bit. | |
424 | * configure: Regenerated. | |
425 | ||
0676e930 BK |
426 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
427 | ||
428 | * scripts: New. | |
429 | * config/abi/extract_symvers: Move to... | |
430 | * scripts/extract_symvers: ...here. | |
431 | * mkcheck.in: Move to.. | |
432 | * scripts/check_survey.in: ...here. | |
433 | * testsuite_flags.in: Move to.. | |
434 | * scripts/testsuite_flags.in: ...here. | |
435 | * configure.in: Change check and testsuite_flags locations. | |
436 | * configure: Regenerate. | |
437 | * testsuite/Makefile.am (current_symbols.txt): Change location. | |
438 | * testsuite/Makefile.in: Regenerate. | |
439 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify | |
440 | location of testsuite_flags. | |
441 | * Makefile.am (check-script): Move.. | |
442 | (check-script-install): Move... | |
a1af4623 | 443 | * testsuite/Makefile.am: ... here. |
0676e930 | 444 | * testsuite/Makefile.in: Regenerate. |
a1af4623 AJ |
445 | * Makefile.in: Regenerate. |
446 | ||
82620aaf BK |
447 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
448 | ||
449 | * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0. | |
450 | ||
c4c064e7 BK |
451 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
452 | ||
453 | * Makefile.am (check-abi): Move... | |
454 | (new-abi-baseline): Move... | |
455 | * testsuite/Makefile.am: ...here. | |
456 | (new-abi-baseline): Conditionalize. | |
457 | (check-abi): Conditionalize. | |
458 | (check-abi-verbose): New. | |
459 | * Makefile.in: Regenerate. | |
a1af4623 | 460 | * testsuite/Makefile.in: Regenerate. |
c4c064e7 BK |
461 | * configure.in: Consolidate testsuite configure bits. |
462 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same. | |
463 | * configure: Regenerate. | |
a1af4623 | 464 | * aclocal.m4: Regenerate. |
c4c064e7 BK |
465 | * testsuite/abi_check.cc: Add --check-verbose. |
466 | Only output detailed information if --check-verbose. | |
467 | ||
e7bb3511 | 468 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
a1af4623 | 469 | |
e7bb3511 | 470 | * testsuite/abi_check.cc: Create summary report. |
a1af4623 | 471 | |
8363b773 PC |
472 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
473 | ||
474 | * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix | |
475 | for systems with BUFSIZ != 8192. | |
476 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
477 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: | |
478 | Minor tweaks. | |
479 | ||
5ab481e0 BK |
480 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
481 | ||
482 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make | |
483 | check-abi multilib aware. | |
484 | * aclocal.m4: Regenerate. | |
485 | * configure: Regenerate. | |
a1af4623 | 486 | |
5ab481e0 BK |
487 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
488 | Andreas Jaeger <aj@suse.de> | |
489 | ||
490 | * configure.host: Set x86_64 abi_baseline pair correctly. | |
491 | ||
0bad3b7c PC |
492 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
493 | ||
494 | * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and | |
495 | fix for missing seeks between gets and puts into... | |
496 | * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New. | |
497 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New. | |
498 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New. | |
499 | * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New. | |
500 | * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New. | |
501 | * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New. | |
a1af4623 | 502 | |
dc4add82 RH |
503 | 2003-06-15 Richard Henderson <rth@redhat.com> |
504 | ||
505 | * config/linker-map.gnu: Export virtual function thunks for | |
506 | 64-bit systems too. | |
507 | ||
ef16a298 BK |
508 | 2003-06-13 Benjamin Kosnik <bkoz@redhat.com> |
509 | ||
510 | * config/abi/i686-pc-linux-gnu: To.. | |
511 | * config/abi/i486-linux-gnu: ...this. | |
512 | * config/abi/alphaev67-unknown-linux-gnu: To.. | |
513 | * config/abi/alpha-linux-gnu: ...this. | |
514 | * config/abi/ia64-unknown-linux-gnu: To... | |
515 | * config/abi/ia64-linux-gnu: ...this. | |
516 | * config/abi/x86_64-unknown-linux-gnu: To... | |
517 | * config/abi/x86_64-linux-gnu: ...this. | |
518 | * config/abi/i386-unknown-freebsd4: To... | |
519 | * config/abi/i386-freebsd4: ...this. | |
5ab481e0 BK |
520 | * config/linker-map.gnu: Cleanups, move libsupc++ bits into |
521 | CXXABI. | |
ef16a298 BK |
522 | * configure.host: abi_baseline_triplet to abi_baseline_pair. |
523 | Simplify cpu bits so that abi_baseline_pair can use the same | |
524 | cpu configuration. | |
525 | * acinclude.m4: Same. | |
526 | * aclocal.m4: Regenerate. | |
527 | * configure.in: Can't get enable_abi_check to yes unless native. | |
528 | * configure: Regenerate. | |
529 | ||
ed242935 PC |
530 | 2003-06-13 Paolo Carlini <pcarlini@unitus.it> |
531 | ||
532 | * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and | |
533 | fix for missing seeks between gets and puts into... | |
534 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New. | |
535 | * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New. | |
536 | * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into... | |
537 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New. | |
538 | * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New. | |
539 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix | |
540 | for missing seeks between gets and puts. | |
541 | * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto. | |
542 | * testsuite/data/seekoff-1.tst: New. | |
543 | * testsuite/data/seekoff-2.tst: New. | |
544 | * testsuite/data/seekpos-1.tst: New. | |
545 | * testsuite/data/seekpos-2.tst: New. | |
546 | ||
ca566e4c NM |
547 | 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org> |
548 | ||
549 | Avoid multi-processor bus contention on increment/decrement-and- | |
a1af4623 | 550 | test of the reference count in the empty-string object, by comparing |
ca566e4c | 551 | addresses first, and never touching the reference count of the empty- |
a1af4623 | 552 | string object. |
ca566e4c NM |
553 | * include/bits/basic_string.h: |
554 | (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its | |
555 | members. | |
a1af4623 | 556 | (_Rep::_S_empty_rep()): New accessor. |
ca566e4c NM |
557 | (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to |
558 | a base class _Rep_base. | |
559 | (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string. | |
560 | (basic_string()): Change to use _M_refdata() in place of _M_refcopy(), | |
561 | since no longer must increment its refcount. | |
562 | * include/bits/basic_string.tcc: | |
a1af4623 AJ |
563 | (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and |
564 | return immediately. The former might be unnecessary. The latter | |
ca566e4c NM |
565 | prevents begin() and end() from cloning it unnecessarily. |
566 | (_S_construct(_InIterator, _InIterator, const _Alloc&, | |
567 | input_iterator_tag), _S_construct(_InIterator, _InIterator, | |
568 | const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT, | |
569 | const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy(). | |
570 | (_M_mutate): Check for the empty string and treat it as shared. | |
571 | This is necessary here because _M_mutate is sometimes called with | |
572 | all-zero arguments; in all other uses of _M_is_shared, the test comes | |
573 | out right anyhow. | |
a1af4623 | 574 | |
c37514ff BK |
575 | 2003-06-12 Benjamin Kosnik <bkoz@redhat.com> |
576 | ||
577 | * src/allocator-inst.cc: Explicitly instantiate. | |
578 | * include/ext/pool_allocator.h: Inhibit implicit instantiations. | |
579 | Tweaks. | |
580 | * config/linker-map.gnu: Add __pool_alloc bits. Tweaks. | |
a1af4623 | 581 | |
58ac1d7f BK |
582 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
583 | ||
584 | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. | |
585 | * aclocal.m4: Regenerate. | |
586 | * Makefile.am (SUBDIRS): Remove libio. | |
587 | * Makefile.in: Regenerate. | |
588 | * configure.in: Same. | |
589 | * configure: Regenerate. | |
590 | * config/io/basic_file_libio.cc: Remove. | |
a1af4623 | 591 | * config/io/basic_file_libio.h: Remove. |
58ac1d7f | 592 | * config/io/c_io_libio_codecvt.c: Remove. |
a1af4623 | 593 | * config/io/c_io_libio.h: Remove. |
58ac1d7f BK |
594 | * libio/*: Remove. |
595 | * src/Makefile.am: Same. | |
596 | * src/Makefile.in: Regenerate. | |
a1af4623 | 597 | * docs/html/configopts.html: Edits. |
58ac1d7f | 598 | * docs/html/explanations.html: Edits. |
a1af4623 | 599 | |
1ff9402d BK |
600 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
601 | ||
602 | * include/bits/stl_alloc.h (__debug_alloc): Move out. | |
603 | (__malloc_alloc): Same. | |
604 | (__pool_alloc): Same. | |
605 | (__new_alloc): Same. | |
606 | Rename to.. | |
607 | * include/bits/allocator.h: ...this. | |
608 | * include/bits/stl_deque.h: Modify comment. | |
609 | * include/bits/stl_tree.h: Modify include. | |
610 | * include/std/std_memory.h: Same. | |
611 | * include/ext/rope: Same. | |
a1af4623 | 612 | * include/ext/slist: Same. |
1ff9402d BK |
613 | * include/std/std_vector.h: Same. |
614 | * include/std/std_stack.h: Same. | |
615 | * include/std/std_queue.h: Same. | |
616 | * include/std/std_list.h: Same. | |
617 | * include/std/std_deque.h: Same. | |
618 | * include/backward/alloc.h: Same. | |
619 | * include/ext/debug_allocator.h: New. | |
a1af4623 AJ |
620 | * include/ext/malloc_allocator.h: New. |
621 | * include/ext/pool_allocator.h: New. | |
1ff9402d BK |
622 | * include/ext/new_allocator.h: New. |
623 | * include/bits/pthread_allocimpl.h: Remove. | |
a1af4623 | 624 | * include/bits/stl_pthread_alloc.h: Remove. |
1ff9402d BK |
625 | * include/Makefile.am (ext_headers): Add. |
626 | * include/Makefile.in: Regenerate. | |
627 | * src/stl-inst.cc: Use __gnu_cxx namespace. | |
628 | * src/stl-inst.cc: Move to... | |
629 | * src/allocator-inst.cc: Here. | |
630 | * src/Makefile.am (sources): Update. | |
631 | * src/Makefile.in: Regenerate. | |
632 | * config/linker-map.gnu: Remove __pool_alloc bits. | |
633 | * testsuite/ext/headers.cc: Add. | |
634 | * testsuite/ext/allocators.cc: Fixup. | |
a1af4623 | 635 | |
1ff9402d BK |
636 | 2003-06-11 Stefan Olsson <stefan@snon.net> |
637 |