]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/ChangeLog
acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
2
3 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
4 * aclocal.m4: Regenerate.
5 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
6 * configure: Regenerate.
7 * docs/configopts.html: Remove.
8 * src/complexl.cc: Revert.
9 * config.h.in: Remove.
10 * include/c_std/bits/std_cmath.h: Remove guards based on
11 _GLIBCPP_USE_LONG_DOUBLE.
12 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
13 with respect to long double signatures.
14
15 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
16 specification.
17 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
18 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
19 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
20 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
21 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
22
23 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
24
25 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
26 Use __valarray_copy_construct only where appropriate.
27
28 2000-10-25 Mark Mitchell <mark@codesourcery.com>
29
30 * Makefile.in (check): Don't make mkcheck executable.
31 (check-install): Likewise.
32 * configure.in (AC_OUTPUT): Make mkcheck executable.
33 * mkcheck.in (top_srcdir): New variable.
34 (INC_PATH): Set the path to the backward and ext directories
35 correctly.
36
37 2000-10-25 Phil Edwards <pme@sources.redhat.com>
38
39 * configure.in: Check for gconv.h.
40 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
41
42 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
43 * libio/_G_config.h: And here.
44 * libio/iofwide.c: And here.
45 * libio/libio.h: And here.
46
47 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
48 exception specification to match declaration.
49 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
50
51 2000-10-24 Mark Harig <mharig@landmark.com>
52
53 * docs/configopts.html: Added documentation for the
54 "--enable-version-specific-runtime-libs" and
55 "--with-gxx-include-dir" configuration switches.
56
57 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
58
59 * include/bits/stl_pair.h (make_pair): Add LWG solution.
60
61 * testsuite/21_strings/compare.cc (test01): Inject namespace std
62 into the mix.
63
64 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
65 this works.
66
67 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
68
69 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
70
71 2000-10-24 Phil Edwards <pme@sources.redhat.com>
72
73 * acconfig.h: List _GLIBCPP_USE_THREADS.
74 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
75 correction, etc. Add comments about following *real* changes
76 where they are used.
77 (GLIBCPP_ENABLE_C_MBCHAR): New test...
78 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
79 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
80 are requested.
81 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
82 macro _GLIBCPP_USE_THREADS in c++config.h.
83 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
84 this is used in both makefiles and shell scripts (mkcheck).
85 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
86
87 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
88 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
89 something harmless, like int.
90
91 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
92 add comment/instructions.
93 * config/os/bsd/bits/os_defines.h: Ditto.
94 * config/os/generic/bits/os_defines.h: Ditto.
95 * config/os/gnu-linux/bits/os_defines.h: Ditto.
96 * config/os/irix/bits/os_defines.h: Ditto.
97 * config/os/newlib/bits/os_defines.h: Ditto.
98 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
99 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
100
101 * mkcheck.in: Limit the available heap size for testsuite
102 binaries, initially at 2MB.
103
104 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
105
106 * testsuite/21_strings/compare.cc (test01): Add using declarations.
107
108 * include/c_std/bits/std_cerrno.h: And here.
109 * include/c_std/bits/std_cassert.h: Tweaks.
110
111 * mkcheck.in: Simplify.
112
113 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
114 (GLIBCPP_ENABLE_LONG_LONG): Same.
115 * aclocal.m4: Regenerate.
116
117 * src/Makefile.am (c_shadow_headers): Add features.h,
118 bits/wrap_features.h.
119 * src/Makefile.in: Regenerate.
120 * include/c_std/features.h: New file.
121 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
122 file. Need to have c++config.h included before this file so
123 _ISOC99_SOURCE around.
124
125 * include/c_std/sys/cdefs.h: Hack.
126 * include/c_std/stdlib.h: Same, use c++config.h.
127 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
128
129 * include/c_std/bits/std_cassert.h: Fix.
130 * include/c_std/bits/std_cerrno.h: Make consistent.
131
132 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
133 declaration from ::_C_legacy to _C_legacy.
134
135 * include/c_std/bits/std_cstdio.h: same with printf.
136 * include/c_std/stdio.h: And here.
137
138 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
139 * include/c_std/stdlib.h: Same here.
140
141 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
142
143 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
144 * aclocal.m4: Regenerate.
145 * configure.in: Use it.
146 * configure: Regenerate.
147 * src/complexl.cc: Fixup.
148 * include/c_std/bits/std_cmath.h: Fixup.
149 * include/c/bits/std_cmath.h: Fixup.
150 * docs/configopts.html: Add docs.
151
152 * docs/links.html: Add links to defects list, standards FAQ.
153
154 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
155 with string creation that allocate huge ammounts of memory.
156
157 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
158 namepace std.
159
160 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
161
162 * libsupc++/exception.cc: Use namespace std.
163 * libsupc++/new: DITTO.
164 * libsupc++/new_op.cc: DITTO.
165 * libsupc++/new_opnt.cc: DITTO.
166 * libsupc++/new_opv.cc: DITTO.
167 * libsupc++/new_opvnt.cc: DITTO.
168 * libsupc++/tinfo.cc: DITTO.
169 * libsupc++/tinfo.h: DITTO.
170 * libsupc++/vec.cc: DITTO.
171 * libsupc++/Makefile.am: Blank lines removal.
172
173 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
174
175 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
176 docs/17_intro/howto.html, docs/18_support/howto.html,
177 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
178 docs/21_strings/howto.html, docs/22_locale/howto.html,
179 docs/23_containers/howto.html, docs/24_iterators/howto.html,
180 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
181 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
182 Remove many EGCS references; use current absolute URLs on
183 gcc.gnu.org or sources.redhat.com for messages in list archives.
184 * docs/faq/index.txt: Regenerate.
185
186 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
187
188 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
189 creation of state_type for unicode_codecvt to take into account
190 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
191 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
192 * include/bits/codecvt.h (__enc_traits): Add support for encodings
193 that need a byte order marker. Needed for correct unicode support.
194
195 * src/locale.cc: Remove explicit qualification std::.
196 (locale::locale(const char* __name)): Revert, as named locale
197 support not finished.
198 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
199 size_t __refs, bool __has_name = false, string __name): Move
200 default argument...
201 * include/bits/localefwd.h: Here.
202
203 2000-10-18 Chip Salzenberg <chip@valinux.com>
204
205 * libio/libio.h (_IO_USER_LOCK): Define.
206
207 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
208
209 * libsupc++/Makefile.am (exception): Change exception.cc to
210 exception_support.cc.
211 (CXXLINK): Remove bogus --tag CC.
212 * libsupc++/Makefile.in: Regenerate.
213 * libsupc++/exception.cc: Move to...
214 * libsupc++/exception_support.cc: ...here.
215
216 * src/Makefile.am: Remove bogus --tag CC.
217 * src/Makefile.in: Regenerate.
218
219 * include/bits/locale_facets.tcc (use_facet): Simplify.
220 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
221 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
222 (use_facet<ctype<wchar_t> >): Same.
223 * src/locale-inst.cc: Remove explicit instantiation.
224 * src/locale.cc: Correct signature here too.
225 (_Bad_use_facet::what()): Correct error string.
226 * include/bits/localefwd.h: Correct comment.
227
228 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
229
230 2000-10-17 Martin Buchholz <martin@xemacs.org>
231
232 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
233 * testsuite/27_io/ostream_seeks.cc: Similarly.
234
235 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
236
237 via Alexandre Oliva <aoliva@redhat.com>
238 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
239 * libsupc++/Makefile.in: Regenerate.
240 * src/Makefile.am: Duplicate code.
241 * src/Makefile.in: Regenerate.
242
243 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
244 * aclocal.m4: Regenerate.
245 * configure.in: And here.
246 * configure: Regenerate.
247
248 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
249 test for SECTION_LDFLAGS.
250
251 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
252
253 Shadow headers would work if libsupc++ was strict about namespaces.
254 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
255 * include/c_std/assert.h: Add guards.
256 * include/c_std/bits/std_climits.h: Correct typo.
257 * include/c_std/ctype.h: Remove #error.
258
259 * libio/libioP.h: Break up extern "C" bits around includes.
260 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
261 will be nested.
262 * libio/libioP.h: Same here.
263
264 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
265
266 * include/c_std/unistd.h: Define some types only when defined in
267 the original unistd.h.
268 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
269 definition of size_t, ptrdiff_t and NULL.
270 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
271
272 2000-10-15 Phil Edwards <pme@sources.redhat.com>
273
274 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
275
276 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
277 Mark Harig <markh@landmark.com>
278
279 * src/Makefile.am (toolexeclibdir): Add support fo
280 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
281 * src/Makefile.in: Regenerate.
282 * libsupc++/Makefile.am: Same.
283 (glibcppinstalldir): Adjust.
284 * libsupc++/Makefile.in: Regenerate.
285 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
286 * Makefile.in: Regenerate.
287 * docs/configopts.html: Add descriptions of flags.
288
289 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
290
291 * libsupc++/Makefile.am: Use it.
292 * libio/Makefile.am: Use it.
293 * libmath/Makefile.am: Use it.
294 * src/Makefile.am: Use it.
295 * Makefile.am (AM_MAKEFLAGS): Remove includes.
296
297 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
298 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
299 * configure.in: Use it.
300
301 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
302
303 * src/Makefile.am (CXXCOMPILE): Remove.
304 * src/Makefile.in: Regenerate.
305 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
306 * libsupc++/Makefile.in: Regenerate.
307
308 * include/c_std/*: Merge with shadow.
309 * include/c_std/bits/*: Same.
310
311 * shadow: Remove directory.
312 * shadow/*: De-populate.
313
314 2000-10-11 Phil Edwards <pme@sources.redhat.com>
315
316 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
317 exception-throwing code for linker test.
318 * aclocal.m4: Regenerate.
319 * configure: Regenerate.
320
321 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
322
323 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
324 * libsupc++/include: Remove
325 * libsupc++/include/*: Move to ...
326 * libsupc++: Here.
327 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
328 (glibcppinstalldir): New.
329
330 * src/Makefile.am (c_base_headers): New.
331 (c_shadow_headers): New
332 (c_headers): New.
333 (myinstallheaders): Correct install issues.
334 * src/Makefile.in: Regenerate.
335
336 * Makefile.am (CSHADOW_INCLUDES): Simplify.
337 * Makefile.in: Regenerate.
338 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
339 * aclocal.m4: Regenerate.
340 * mkcheck.in (SRC_DIR): Use it.
341
342 * include/bits/std_stdexcept.h: And here.
343 * include/bits/std_ios.h: Change std_exception.h to exception.
344 * src/locale.cc: And here.
345 * src/locale-inst.cc: And here.
346
347 * include/bits/valarray_array.h: And here.
348 * include/bits/stl_alloc.h: And here.
349 * include/bits/stl_algobase.h: And here.
350 * include/bits/pthread_allocimpl.h: And here.
351 * include/bits/stl_construct.h: Change to std_new.h to new.
352
353 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
354
355 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
356 (headers): Remove duplicated headers.
357 (std_headers): And here.
358 * src/Makefile.in: Regenerate.
359 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
360 * libsupc++/Makefile.in: Regenerate.
361 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
362 (AM_MAKEFLAGS): And here.
363 * Makefile.in: Regenerate.
364 * include/bits/std_typeinfo.h: Remove.
365 * include/bits/std_new.h: Remove
366 * include/bits/std_exception.h: Remove.
367 * std/new: Remove.
368 * std/typeinfo: Remove.
369 * std/exception: Remove.
370
371 * libio/_G_config.h (__need_ptrdiff_t): Add.
372
373 * libsupc++/include/new: Change stddef.h to cstddef.
374 * libsupc++/tinfo.h: Change limits.h to climits.
375 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
376 renders the file uncompilable. Add copyright.
377
378 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
379 namespace, as it is a fundamental type.
380
381 2000-10-09 Richard Henderson <rth@cygnus.com>
382
383 * libsupc++/pure.cc: New file.
384 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
385 (sources): Add pure.cc.
386 * libsupc++/Makefile.in: Regenerate.
387
388 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
389
390 * docs/configopts.html: Edit.
391
392 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
393 * libio/Makefile.in: Regenerate.
394 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
395 * libmath/Makefile.in: Regenerate.
396 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
397 * libsupc++/Makefile.in: Regenerate.
398
399 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
400 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
401 CSHADOW_INCLUDES up here.
402 * Makefile.in: Regenerate.
403 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
404 for shadow headers.
405 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
406 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
407 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
408 * src/Makefile.in: Regenerate.
409
410 * include/c: New directory.
411 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
412 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
413 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
414 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
415 std_cwchar.h, std_cwctype.h): Add, moving from...
416 * include/bits: ...here.
417 * include/c_std: New directory.
418 * include/c_std/bits/*: Populate from...
419 * shadow: ...here. Remove directory.
420
421 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
422
423 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
424 (INCLUDES): Add glibcpp_includedir.
425 * libsupc++/Makefile.in: Regenerate.
426
427 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
428 * aclocal.m4: Regenerate.
429 * config/os/*/bits/os_defintes: Adjust copyright dates.
430
431 2000-10-08 Phil Edwards <pme@sources.redhat.com>
432
433 * include/bits/c++config: Include <bits/os_defines.h>
434 * config/os/aix/bits/os_defines.h: New file.
435 * config/os/bsd/bits/os_defines.h: Ditto.
436 * config/os/generic/bits/os_defines.h: Ditto.
437 * config/os/gnu-linux/bits/os_defines.h: Ditto.
438 * config/os/irix/bits/os_defines.h: Ditto.
439 * config/os/newlib/bits/os_defines.h: Ditto.
440 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
441 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
442 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
443
444 2000-10-07 David Edelsohn <dje@watson.ibm.com>
445
446 * config/os/aix/bits/atomicity.h: New file.
447
448 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
449
450 * acinclude.m4: Remove CPU_FLAGS
451 * libio/Makefile.am: Here too.
452 * Makefile.am: Here too.
453
454 * src/Makefile.am (CONFIG_INCLUDES): Remove.
455 (INCLUDES): Remove CONFIG_INCLUDES.
456 (cpu_headers): Remove.
457 (myinstallheaders): Remove cpu_headers.
458 (generated_headers): Rename to build_headers.
459 (build_headers): Add atomicity.h, ctype_base.h,
460 ctype_specializations.h.
461
462 * config/os: New directory.
463 * config/aix: Move to...
464 * config/bsd: Move to...
465 * config/generic: Move to...
466 * config/gnu-linux: Move to...
467 * config/irix: Move to...
468 * config/newlib: Move to...
469 * config/solaris: Move to...
470 * config/os/*: Here.
471
472 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
473
474 * acinclude.m4: Remove CPU_FLAGS
475 * libio/Makefile.am: Here too.
476 * Makefile.am: Here too.
477
478 * src/Makefile.am (CONFIG_INCLUDES): Remove.
479 (INCLUDES): Remove CONFIG_INCLUDES.
480 (cpu_headers): Remove.
481 (myinstallheaders): Remove cpu_headers.
482 (generated_headers): Rename to build_headers.
483 (build_headers): Add atomicity.h, ctype_base.h,
484 ctype_specializations.h.
485
486 * config/os: New directory.
487 * config/aix: Move to...
488 * config/bsd: Move to...
489 * config/generic: Move to...
490 * config/gnu-linux: Move to...
491 * config/irix: Move to...
492 * config/newlib: Move to...
493 * config/solaris: Move to...
494 * config/os/*: Here.
495
496 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
497
498 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
499 CONFIG_CXXFLAGS from here, and move to...
500 * src/Makefile.in: Regenerate.
501 * Makefile.am: ... here. Clean.
502 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
503 (WARN_CXXFLAGS): Same.
504 (CONFIG_CXXFLAGS): Same.
505 * Makefile.in: Regenerate.
506 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
507 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
508 * libsupc++/Makefile.in: Regenerate.
509
510 Change math to libmath.
511 * math: Move to libmath, delete.
512 * libmath: New directory.
513 * libmath/*: Populate.
514 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
515 (libstdc___la_LIBADD): Same.
516 * src/Makefile.in: Regenerate.
517 * configure.in: Add AC_OUTPUT for libmath/Makefile.
518 * configure: Regenerate.
519 * Makefile.am (SUBDIRS): Add libmath.
520 * Makefile.in: Regenerate.
521 * README (file): Change name.
522
523 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
524 Richard Henderson <rth@cygnus.com>
525 Alexandre Oliva <aoliva@redhat.com>
526
527 * libsupc++: New directory.
528 * libsupc++/*: Populate.
529 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
530 eh-common.h, gansidecl.h.
531 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
532 * configure: Regenerate.
533 * Makefile.am (SUBDIRS): Add libsupc++.
534 * Makefile.in: Regenerate.
535 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
536 * src/Makefile.in: Regenerate.
537 * libio/Makefile.am: Remove extraneous, confusing bits.
538 * libio/Makefile.in: Regenerate.
539
540 2000-10-05 Brent Verner <brent@rcfile.org>
541
542 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
543 test for _M_gcount < in_avail(), as in_avail() only reports info
544 for current buffer, causing method to return at end of buffer.
545 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
546 * testsuite/27_io/istream_unformatted-3.txt: New file.
547 * testsuite/27_io/istream_unformatted-3.tst: New file.
548
549 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
550
551 * README (file): Adjust directory structures.
552 * mkcheck.in (INC_PATH): Adjust for header changes.
553
554 2000-10-05 Phil Edwards <pme@sources.redhat.com>
555
556 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
557 for public relations purposes.
558 * aclocal.m4: Regenerated.
559 * configure: Regenerated.
560
561 * docs/ext/howto.html: Additional explanation about hashing.
562
563 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
564
565 * include: New directory.
566 * include/backward: New directory.
567 * include/bits: New directory.
568 * include/ext: New directory.
569 * include/std: New directory.
570 * include/*/*: Populate.
571
572 * backwards: Move to include/backwards, delete.
573 * bits: Move to include/bits, delete.
574 * ext: Move to include/ext, delete.
575 * std: Move to include/std, delete.
576
577 * src/complex.cc: Adjust include of mathconf.
578
579 * mkc++config (BASE_H): Add include.
580
581 * src/Makefile.am: Support for topleve sources include directory.
582 (INCLUDES): Add LIBMATH_INCLUDE.
583 * src/Makefile.in: Regenerate.
584 * math/Makefile.am (INCLUDES): Append /include.
585 * math/Makefile.in: Regenerate.
586 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
587 * libio/Makefile.in: Regenerate.
588
589 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
590
591 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
592
593 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
594
595 * docs/22_locale/howto.html: Add link to proto-documentation on
596 locales.
597 * docs/documentation.html: Rename links for clarity.
598
599 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
600 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
601 * src/Makefile.in: Regenerate.
602
603 2000-10-02 Steven King <sxking@uswest.net>
604
605 * mkcshadow: Fixed script to output proper include guard.
606 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
607 * libio/_G_config.h: Hacked to make work with shadow heraders.
608 * shadow/*: Hacked to make shadow headers work.
609
610 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
611
612 Self-compile with shadow headers.
613 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
614 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
615 it becomes the default way the library is built.
616 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
617 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
618 * config/gnu-linux/ctype.cc (ctype): Use it.
619
620 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
621 call to assert.
622 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
623 memset. This should not be necessary, but an ambiguous overload
624 with it in.
625
626 * shadow/bits/std_cwchar.h: Fix.
627 * shadow/wchar.h: Fix.
628
629 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
630 enums into namespace std:: for ctype_base enum. Other OS types
631 will have to do this as well.
632 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
633 namespace std, in particular __ctype_toupper, __ctype_tolower,
634 __ctype_b.
635
636 * shadow/iolibio.h: New file.
637 * shadow/bits/wrap_iolibio.h: New file.
638 * shadow/libioP.h: New file.
639 * shadow/bits/wrap_libioP.h: New file.
640 * shadow/bits/wrap_fcntl.h: New file.
641 * shadow/fcntl.h: New file.
642 * shadow/iconv.h: New file. Inject iconv names into the global
643 namespace, unmangled for the moment.
644 * shadow/bits/wrap_iconv.h: New file.
645 * shadow/unistd.h: Remove. Useless.
646 * shadow/bits/wrap_unistd.h: Remove.
647
648 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
649 * src/Makefile.in: Regenerate.
650
651 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
652
653 * shadow/libio.h: Fix.
654 * shadow/bits/wrap_libio.h: Fix.
655
656 * shadow/bits/std_clocale.h: Remove typedef struct construct,
657 which will not compile.
658 * shadow/bits/std_ctime.h: Same.
659
660 * shadow/pthread.h: New file. Put pthreads types and functions
661 into global scope, which is probably not the correct long-term
662 solution but has to be done at the moment before libio wrappers
663 can even be started.
664 * shadow/bits/wrap_pthread.h: New file.
665
666 * bits/std_ios.h: Formatting tweak.
667 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
668
669 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
670 tests for compiler features.
671 * aclocal.m4: Regenerate.
672 * configure: Regenerate.
673
674 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
675 redefined.
676 * libio/libioP.h: Comment out fcntl.h include.
677
678 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
679
680 * bits/c++config: Define _ISOC99_SOURCE.
681
682 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
683 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
684 * aclocal.m4: Regenerate.
685 * configure: Regenerate.
686 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
687 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
688 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
689 std or shadow directories.
690 (LTCXXCOMPILE): Same.
691 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
692 (AC_CXXFLAGS): Add CSHADOWFLAGS.
693 * src/Makefile.in: Regenerate.
694
695 * src/complex.cc (FCT): Change ::name to name.
696 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
697 * src/complexf.cc (FCT): Same.
698
699 * src/complexf.cc: Remove FCT define, as things are properly
700 overloaded in the std namespace with the shadow headers.
701 * src/complexl.cc: Same.
702 * src/complex.cc: Same.
703
704 2000-09-25 Phil Edwards <pme@sources.redhat.com>
705
706 * docs/documentation.html: Add link to...
707 * docs/ext/howto.html: ...this. New dir/file, describing library
708 extensions (both ours and SGI's).
709 * docs/faq/index.html: Small updates.
710 * docs/faq/index.txt: Regenerate.
711
712 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
713
714 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
715
716 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
717
718 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
719
720 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
721
722 * src/localename.cc (locale::_Imp) : Remove typedefs.
723 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
724 __f): Consistency check, call _Imp ctor with reference argument
725 of 1.
726 * bits/localefwd.h: Change _S_num_categories to
727 _S_categories_num. Add new data member, _S_facets_num, which is
728 the number of standard facets.
729
730 2000-09-19 Phil Edwards <pme@sources.redhat.com>
731
732 * docs/21_strings/howto.html: Fix editor lossage from last commit.
733
734 2000-09-19 Phil Edwards <pme@sources.redhat.com>
735
736 * docs/thanks.html: More thanks.
737 * docs/18_support/howto.html: Fix thinko.
738 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
739 Redo the string transformation notes and link to...
740 * docs/22_locale/howto.html: ...here.
741
742 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
743
744 * src/locale-inst.cc: Add time_put_byname and
745 time_get_byname instantiations.
746 * bits/locale_facets.h: Correct default, private derivation to
747 public derivation in _byname declarations.
748 * src/locale.cc (locale::classic()): Simplify.
749 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
750 const string& __name, category __cat, size_t __refs): Re-work for
751 named locales.
752 (_M_normalize_category_names): Remove.
753
754 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
755 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
756
757 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
758
759 * bits/std_bitset.h (operator>>): Change to char_type.
760
761 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
762
763 * src/locale.cc (locale::locale(const char* __name)): Consolidate
764 name setting. Add checks for NULL __name pointers. Remove calls to
765 _S_initialize() as initial locale initialization can either be
766 assumed, or needs to be made consistent throughout locale
767 constructors.
768 (locale::locale(const locale& __other, const char* __name,
769 category __cat): Add checks for NULL name. Add checks for
770 assignment to self.
771 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
772 const string& __name, category __cat, size_t __refs)): Set correct
773 name, has_name values.
774 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
775 * docs/22_locale/locale.html: New file, more unfinished docs...
776
777 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
778
779 * src/locale.cc (locale::name()): Implement.
780 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
781 string __name = "*")): Change signature.
782 (locale::classic): Initialize the "C" locale as a named locale.
783 * bits/localefwd.h (locale): Change _M_num_references to
784 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
785 to _M_name.
786 * bits/localefwd.h: Tweaks.
787 * src/localename.cc: Tweaks.
788 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
789 (test01): Fix.
790
791 * bits/basic_string.h: Consistency check, change _M_state ->
792 _M_references.
793
794 2000-09-14 Brendan Kehoe <brendan@zen.org>
795
796 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
797 return type.
798
799 * src/Makefile.an (headers): Also install backward/fstream.h.
800 * src/Makefile.in: Regenerate.
801
802 * bits/char_traits.h (char_traits<_CharT>::get_state,
803 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
804 argument in by reference, not by value. Uglify to _S_get_state.
805 (char_traits<*>::__eos): Uglify to _S_eos.
806 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
807 Change __eos to _S_eos.
808
809 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
810
811 * testsuite/22_locale/static_members.cc: New file.
812 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
813 * src/locale.cc: Minor formatting tweaks.
814
815 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
816
817 * testsuite/22_locale/global_templates.cc (test01): Add negative
818 tests for use_facet.
819
820 * bits/localefwd.h (locale::operator()): Minor tweaks.
821 * bits/locale_facets.tcc (locale::operator()): Same.
822 * testsuite/22_locale/operators.cc: New file.
823
824 * testsuite/22_locale/facet.cc (output_iterator): Remove
825 gnu_input_iterator, gnu_output_iterator.
826
827 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
828
829 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
830 * aclocal.m4: Regenerate.
831 * configure: Regenerate.
832
833 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
834 snapshot release soon.
835 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
836 is pretty much assumed.
837
838 * testsuite/22_locale/global_templates.cc: New file. Add tests for
839 use_facet and has_facet.
840
841 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
842 Modify/correct iconv signatures for glibc2.2.
843
844 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
845
846 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
847 "grep -c".
848
849 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
850
851 * bits/localefwd.h (locale::_Impl): Scope out types to public.
852 (locale): Make _Impl declaration public.
853
854 2000-09-08 Felix Natter <fnatter@gmx.net>
855
856 * docs/17_intro/porting-howto.html: New version.
857
858 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
859
860 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
861 to __unused__.
862 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
863 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
864
865 2000-09-07 Phil Edwards <pme@sources.redhat.com>
866
867 Add bits for --enable-maintainer-mode:
868 - turns on enable_debug
869 (doing "--enable-maint --disable-debug" will DTRT)
870 - turns on -Werror, now off by default
871 * acinclude.m4: Add bits.
872 * aclocal.m4: Regenerate.
873 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
874 * configure: Regenerate.
875
876 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
877
878 * bits/std_cwctype.h: Remove yesterday's hacks.
879
880 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
881
882 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
883 * testsuite/23_containers/set_operators.cc: New file. Should not
884 compile.
885 * testsuite/23_containers/map_operators.cc: New file. Ditto.
886
887 2000-09-06 Richard Henderson <rth@cygnus.com>
888 Benjamin Kosnik <bkoz@cygnus.com>
889
890 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
891 * aclocal.m4: Regenerate.
892 * configure: Regenerate.
893 * config/cpu/ia64: New directory.
894 * config/cpu/ia64/bits: New directory.
895 * config/cpu/ia64/bits/atomicity.h: New file.
896
897 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
898
899 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
900 to no, so that libstdc++-v3's libio will be built on glibc-2.2
901 systems.
902 * aclocal.m4: Regenerate.
903 * configure: Regenerate.
904 * */Makefile.in: Regenerate.
905
906 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
907 glibc 2.1.x unsigned errors. Or disable -Werror by default...
908
909 * testsuite/23_containers/vector_element_access.cc: New file.
910 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
911
912 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
913
914 * bits/string.tcc: Fix up more parameter names.
915
916 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
917
918 * configure: Rebuilt with new libtool.m4.
919
920 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
921
922 * src/locale-inst.cc: Remove pre-instantiation of unicode
923 codecvt types. Now unnecessary, as locale header now correct.
924
925 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
926
927 * bits/locale_facets.tcc (_S_build_float_format): Move ...
928 * src/locale.cc: Here.
929 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
930 definition. Move specialization to ...
931 * src/locale.cc: Here.
932 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
933 * src/locale.cc: Here.
934 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
935 * src/locale.cc: Here.
936
937 * bits/std_locale.h: Note that locale_facets.tcc should be
938 included here, for standards conformance. It may increase
939 compile times though. For the time being, enable.
940 * testsuite/22_locale/facet.cc: New file, some parts commented out
941 for the time being.
942
943 * mkcheck.in: Append total time to test summary file.
944
945 * bits/sbuf_iter.h : Formatting tweaks.
946
947 Clean up static const data member definitions.
948 * src/locale.cc: Add definitions for all missing locale,
949 locale::_Imp, and locale::id static data members.
950 (ctype<char>): Add table_size define.
951 (money_base): Add _S_default_pattern, uglify.
952 * bits/localefwd.h: Add definitions for static members of _Count_ones.
953 * bits/locale_facets.h: Tweaks.
954 * bits/locale_facets.tcc: Tweaks.
955 * bits/string.tcc: Add definition for npos.
956 * bits/ios_base.h: Tweaks.
957 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
958 _S_ios_base_init.
959 * src/ios.cc: And here. Add _S_local_words definition.
960 Add definitions for __ios_flags const static data.
961 * src/codecvt.cc: Same for __enc_traits.
962 * src/locale-inst.cc: Remove money_base data member definition
963 here.
964
965 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
966
967 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
968
969 * docs/22_locale/codecvt.html: Re-number.
970 * docs/22_locale/howto.html: Add entry for ctype
971 documentation. Add entry for Nathan's introduction to locales
972 paper.
973 * docs/22_locale/ctype.html: New file. In progress...
974
975 * docs/22_locale/codecvt.html: Formatting cleanups.
976 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
977
978 2000-08-30 Phil Edwards <pme@sources.redhat.com>
979
980 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
981 tweaks for certain browsers.
982
983 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
984
985 * bits/locale_facets.h (ctype<char>): Remove __table_type.
986 Add include for bits/std_cwctype.h, for wctype_t.
987 * src/locale.cc (ctype<wchar_t>): Implement.
988 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
989 typedef, instead name enum.
990 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
991 * config/gnu-linux/ctype.cc: Tweak.
992 * testsuite/22_locale/ctype.cc: Tweak.
993
994 * bits/codecvt.h (__enc_traits): Uglify names.
995
996 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
997
998 * docs/22_locale/codecvt.html: Add more bits, format.
999 * bits/codecvt.h: Add copy ctor, rename types.
1000 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1001
1002 * libio/iofwide.c: Tweak.
1003
1004 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1005
1006 * docs/configopts.html: Mention new options.
1007 * docs/install.html: Formatting changes for platform-specific
1008 pre-reqs, previously only Cygwin.
1009 * docs/mail.html: Fix new link.
1010 * docs/thanks.html: A couple more people.
1011 * docs/26_numerics/howto.html: Fix typo.
1012
1013 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1014
1015 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1016 * docs/22_locale/codecvt.html: New file. In progress.
1017
1018 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1019
1020 * acconfig.h: Revert.
1021 * acinclude.m4: Revert.
1022 * libio/_G_config.h: Revert.
1023 * libio/libio.h: Revert.
1024
1025 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1026
1027 * bits/codecvt.h: Tweaks.
1028 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1029 initial string literals for UCS4.
1030
1031 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1032
1033 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1034 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1035 definition as well, and some minor spelling/spacing fixes. If
1036 building libio, check for certain typedefs.
1037 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1038 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1039 will never be there.
1040 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1041 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1042
1043 * configure.in: Update the cache a bit more often.
1044
1045 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1046
1047 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1048
1049 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1050 __enc_traits> instantiations for has_facet and use_facet.
1051 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1052 testing two-byte unicode encodings converted to four-byte UCS4
1053 encodings.
1054
1055 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1056 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1057 correct state/encoding information.
1058
1059 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1060 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1061 now.
1062 Add checks for langinfo.h, nl_langinfo function call.
1063 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1064
1065 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1066
1067 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1068 ((unused)) to __attribute__ ((__unused__)).
1069 * config/cpu/arm/bits/atomicity.h: Same.
1070 * config/cpu/generic/bits/atomicity.h: Same.
1071 * config/cpu/i386/bits/atomicity.h: Same.
1072 * config/cpu/i486/bits/atomicity.h: Same.
1073 * config/cpu/powerpc/bits/atomicity.h: Same.
1074 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1075 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1076
1077 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1078
1079 * bits/basic_string.h: Fix up parameter names.
1080
1081 2000-08-22 Brent Verner <brent@rcfile.org>
1082
1083 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1084 $(top_srcdir)
1085 * src/Makefile.in: Regenerate.
1086
1087 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1088
1089 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1090 up __enc_traits template so as to be marginally useful.
1091 * src/codecvt.cc: And here.
1092 * bits/char_traits: Tweak.
1093 * bits/locale_facets.h: Tweak.
1094 * bits/locale_facets.tcc: Tweak.
1095 * bits/localefwd.h: Tweak.
1096 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1097 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1098 * testsuite/22_locale/codecvt_char_char.cc: New file.
1099 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1100
1101 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1102
1103 * bits/std_cmath.h (std::abs): Overload for int and long.
1104
1105 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1106
1107 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1108
1109 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1110
1111 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1112 thinko. Diagnostic messages really need to be improved for
1113 template argument deduction.
1114
1115 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1116
1117 * bits/valarray_meta.h: Fix typos...
1118
1119 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1120
1121 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1122 _Expr<>::apply): Implement.
1123
1124 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1125
1126 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1127
1128 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1129 function.
1130
1131 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1132
1133 * bits/localefwd.h (std::locale): Use explicit `class' specified
1134 when declaring friends.
1135 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1136
1137 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1138
1139 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1140 * src/Makefile.in: Regenerate.
1141
1142 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1143
1144 * bits/codecvt.h: New file.
1145 * src/codecvt.cc: New file.
1146 * bits/std_locale.h: Add include here.
1147 * src/Makefile.am (headers): Add codecvt.h
1148 (sources): Add codecvt.cc.
1149 * src/Makefile.in: Regenerate.
1150 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1151 __codecvt_abstract_base in an attempt to point some light this way...
1152 Move __enc_traits and codecvt bits to codecvt.h.
1153 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1154 explicit instantiation. Separate out codecvt instantations, simplify.
1155 * src/locale.cc: Move codecvt bits to codecvt.cc
1156
1157 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1158
1159 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1160 * src/Makefile.in: Regenerate.
1161
1162 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1163
1164 C/C++ io merge/sync.
1165 * libio/fileops.c
1166 * libio/genops.c
1167 * libio/iofclose.c
1168 * libio/iofopen.c
1169 * libio/iofwide.c
1170 * libio/libio.h
1171 * libio/libioP.h
1172 * libio/stdio.c
1173 * libio/wfileops.c
1174 * libio/wgenops.c
1175 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1176 ((struct _IO_FILE_plus *) in ctors.
1177 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1178 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1179 * libio/cleanup.c: Remove.
1180 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1181 _IO_cleanup_registration_needed, even if not libc.
1182
1183 * testsuite/27_io/stringstream.cc (test02): Fix.
1184
1185 2000-08-14 Brent Verner <brent@rcfile.org>
1186
1187 * testsuite/debug_assert.h: new file
1188 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1189 changed conditional #include <c?assert.?h?> to
1190 unconditional #include <debug_assert.h>
1191 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1192 for testsuite compile command.
1193
1194 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1195
1196 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1197 wofstream, filebuf, wfilebuf, fstream, wfstream.
1198 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1199 * bits/std_sstream.h: Same for stringstream and wstringstream.
1200 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1201 ostringstream, wostringstream.
1202
1203 * testsuite/26_numerics/valarray.cc: Add test.
1204
1205 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1206
1207 * configure: Regenerate after change to ../libtool.m4.
1208
1209 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1210
1211 * bits/locale_facets.tcc: Formatting tweaks.
1212 * bits/locale_facets.h (__enc_traits): Start integrating this
1213 into codecvt, ctype. Formatting tweaks.
1214
1215 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1216
1217 Preliminary wchar_t implementation, with trivial encodings.
1218 * docs/configopts.html: Add bits about canonical configure option
1219 checking.
1220
1221 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1222 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1223 * testsuite/27_io/narrow_stream_objects.cc: New file.
1224 * testsuite/27_io/wide_stream_objects.cc: New file.
1225
1226 * bits/fstream.tcc (underflow): Temporarily hack a solution
1227 together that writes from the external file to the internal
1228 buffers. This removes codecvt from the loop, and is incorrect.
1229 (_M_really_overflow): Same here.
1230
1231 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1232
1233 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1234 Ulrich Drepper <drepper@cygnus.com>
1235
1236 * config/c_io_libio.h: Tweak.
1237 * config/c_io_libio_codecvt.c: New file.
1238 * libio/Makefile.am: Add c_codecvt.c.
1239 * libio/Makefile.in: Regenerate.
1240 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1241 stream is not orientated.
1242
1243 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1244 encoding gets fleshed out.
1245
1246 * bits/basic_file.h: Add specialization declarations.
1247 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1248
1249 * config/c_io_libio.h: Add __c_wfile_type.
1250 * bits/basic_file.h: Add _M_wfile.
1251
1252 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1253 streams without setting the orientation of the underlying FILE to
1254 either wide or narrow.
1255 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1256
1257 2000-08-07 Felix Natter <fnatter@gmx.net>
1258
1259 * docs/17_intro/porting-howto.html: New version.
1260
1261 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1262
1263 * bits/locale_facets.h (ctype::ctype): Don't name unused
1264 parameters.
1265
1266 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1267
1268 * docs/install.html: Edit bits about requiring a special version
1269 of the autotools.
1270
1271 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1272
1273 * libio/fileops.cc: Update to current glibc sources.
1274 * libio/genops.c: Same.
1275 * libio/iofwide.c: Same.
1276 * libio/libio.h: Same.
1277 * libio/libioP.h: Same.
1278 * libio/wfiledoalloc.c: Same.
1279 * libio/wgenops.c: Same.
1280
1281 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1282
1283 * acinclude.m4: Include ../libtool.m4.
1284 * aclocal.m4, configure: Rebuilt.
1285
1286 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1287
1288 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1289 before trying to use any of its options.
1290 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1291 * aclocal.m4: Regenerate.
1292 * configure.in: Having found GNU make, name it.
1293 * configure: Regenerate.
1294 * docs/install.html: Mention possible problems with caching.
1295 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1296 * src/Makefile.in: Regenerate.
1297 * libio/Makefile.in: Regenerate.
1298 * math/Makefile.in: Regenerate.
1299 * Makefile.in: Regenerate.
1300
1301 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1302
1303 * src/misc-inst.cc (std): Remove instantiations.
1304
1305 * acinclude.m4: Add forward-looking bits for autoconf.
1306 * aclocal.m4: Regenerate.
1307
1308 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1309
1310 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1311
1312 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1313 it back for current versions of maintainer-tools...
1314 * acinclude.m4: Some cleanups...
1315 * aclocal: Regenerated.
1316 * configure: Regenerated.
1317
1318 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1319 optimizing/adapting the hash table using GNU ld.
1320 * src/Makefile.in: Regenerate.
1321
1322 2000-07-24 H.J. Lu <hjl@gnu.org>
1323
1324 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1325 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1326 files don't include private libio header files needed by
1327 libstdc++ v3.
1328 * src/Makefile.in: Rebuild.
1329
1330 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1331
1332 * bits/std_fstream.h: Parameterize __basic_file.
1333 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1334 * bits/basic_file.h: Same here.
1335
1336 * bits/istream.tcc (getline): Tweaks.
1337
1338 * bits/fstream.tcc: Shorten __retval to __ret.
1339 * bits/ostream.tcc: Same.
1340 * bits/sbuf_iter.h: Same.
1341 * bits/sstream.tcc: Same.
1342 * bits/streambuf.tcc: Same.
1343 * bits/std_fstream.h: Same.
1344 * src/string-inst.cc: Same.
1345 * src/ios.cc: Same.
1346 * config/c_io_libio.cc: Same.
1347 * bits/string.tcc: Same.
1348 * bits/std_streambuf.h: Same.
1349
1350 2000-07-23 Brent Verner <brent@rcfile.org>
1351
1352 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1353 char_type) make compliant
1354 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1355
1356 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1357
1358 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1359 and srcdir used to define CSHADOW_INCLUDES..
1360
1361 * configure.in: For consistency, change .sanity_warned to
1362 stamp-sanity-warned.
1363
1364 * acinclude.m4: Tweak formatting.
1365 * Makefile.am (check): Call mkcheck with full pathname for build
1366 directory...
1367 (check-install): And here.
1368 * Makefile.in: Regenerate.
1369
1370 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1371
1372 Line up with libstdc++-v2 version of valarray.
1373 * bits/valarray_array.h (__valarray_product): Make inline.
1374 * src/valarray-inst.cc (__valarray_product): Remove explicit
1375 instantiation.
1376
1377 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1378
1379 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1380 for alpha.
1381
1382 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1383 Change return type to void.
1384 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1385 * testsuite/17_intro/header_ciso646.cc: Modify.
1386 * bits/locale_facets.h: Add return values for the generic cases.
1387
1388 2000-07-21 H.J. Lu (hjl@gnu.org)
1389
1390 * acinclude.m4: Include <features.h> for glibc testing.
1391 * aclocal.m4: Likewise.
1392
1393 * configure: Rebuild.
1394
1395 2000-07-20 H.J. Lu (hjl@gnu.org)
1396
1397 * acinclude.m4: Change "#pragma system_header" to
1398 "#pragma GCC system_header".
1399 * aclocal.m4: Likewise.
1400 * bits/std_cmath.h: Likewise.
1401 * bits/std_cassert.h: Likewise.
1402 * bits/std_cctype.h: Likewise.
1403 * bits/std_cerrno.h: Likewise.
1404 * bits/std_cfloat.h: Likewise.
1405 * bits/std_climits.h: Likewise.
1406 * bits/std_clocale.h: Likewise.
1407 * bits/std_cwchar.h: Likewise.
1408 * bits/std_csetjmp.h: Likewise.
1409 * bits/std_csignal.h: Likewise.
1410 * bits/std_cstdarg.h: Likewise.
1411 * bits/std_cstddef.h: Likewise.
1412 * bits/std_cstdio.h: Likewise.
1413 * bits/std_cstdlib.h: Likewise.
1414 * bits/std_cstring.h: Likewise.
1415 * bits/std_ctime.h: Likewise.
1416 * bits/std_cwctype.h: Likewise.
1417 * bits/std_exception.h: Likewise.
1418 * bits/std_new.h: Likewise.
1419 * bits/std_typeinfo.h: Likewise.
1420 * shadow/bits/std_cassert.h: Likewise.
1421 * shadow/bits/std_cctype.h: Likewise.
1422 * shadow/bits/std_cerrno.h: Likewise.
1423 * shadow/bits/std_cfloat.h: Likewise.
1424 * shadow/bits/std_climits.h: Likewise.
1425 * shadow/bits/std_clocale.h: Likewise.
1426 * shadow/bits/std_cmath.h: Likewise.
1427 * shadow/bits/std_csetjmp.h: Likewise.
1428 * shadow/bits/std_csignal.h: Likewise.
1429 * shadow/bits/std_cstdarg.h: Likewise.
1430 * shadow/bits/std_cstddef.h: Likewise.
1431 * shadow/bits/std_cstdio.h: Likewise.
1432 * shadow/bits/std_cstdlib.h: Likewise.
1433 * shadow/bits/std_cstring.h: Likewise.
1434 * shadow/bits/std_ctime.h: Likewise.
1435 * shadow/bits/std_cwchar.h: Likewise.
1436 * shadow/bits/std_cwctype.h: Likewise.
1437 * shadow/bits/wrap_libio.h: Likewise.
1438 * shadow/bits/wrap_unistd.h: Likewise.
1439 * shadow/sys/cdefs.h: Likewise.
1440
1441 * configure: Rebuild.
1442
1443 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1444
1445 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1446 Use extended word instructions to match 64bit _Atomic_word.
1447 (__atomic_add): Likewise.
1448 * math/clog10l.c (clog10l): Use M_PIl if defined.
1449 * math/c_logl.c (c_logl): Likewise.
1450 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1451 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1452 (GET_LDOUBLE_MSW64): New define.
1453
1454 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1455
1456 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1457 in_avail, etc can use them.
1458 * bits/std_fstream.h: Ditto.
1459 * bits/fstream.tcc: Ditto.
1460 * testsuite/27_io/filebuf.cc: Tweaks.
1461 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
1462
1463 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
1464
1465 * src/localename.cc: Same.
1466 * src/locale.cc: Same.
1467 * bits/localefwd.h: _M_init_facet to _M_facet_init.
1468
1469 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
1470
1471 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
1472
1473 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
1474 * bits/std_fstream.h: Same.
1475
1476 * bits/basic_string.h: Tweaks.
1477
1478 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
1479
1480 * docs/18_support/howto.html: Update.
1481
1482 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1483
1484 Internal consistency checks.....
1485 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
1486 * src/ios.cc: Same.
1487
1488 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
1489 * bits/basic_ios.tcc: Same.
1490
1491 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
1492 Change _M_fctype_buf to _M_buf_fctype.
1493 * bits/fstream.tcc: Same.
1494
1495 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
1496 Change _M_locale_set to _M_buf_locale_init.
1497 * bits/streambuf.tcc: Same.
1498 * bits/sstream.tcc: Same.
1499 * bits/fstream.tcc: Same.
1500
1501 * bits/std_streambuf.h: Make typedefs consistent.
1502 (_M_buf_bump): Be more careful with input sequence.
1503
1504 * bits/std_sstream.h: Same.
1505 * bits/std_fstream.h: Same.
1506
1507 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1508
1509 * acinclude.m4: Tweaks.
1510 * config/c_io_libio.cc: Tweaks.
1511 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
1512 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
1513 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
1514 * libio/iofclose.c iofopen.c, stdio.c: New files.
1515 * libio/Makefile.am: Add files, add flags, etc.
1516 * src/Makefile.am (sources): Add filebuf.cc.
1517 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
1518 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
1519
1520 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
1521
1522 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
1523 * configure.in: Use it. Also print reminders one time.
1524 * aclocal.m4: Regenerate.
1525 * configure: Regenerate.
1526
1527 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
1528
1529 * bits/valarray_array.h (__valarray_get_storage): New function.
1530 (_Array<>::Array): Use it.
1531 * bits/std_valarray.h (valarray<>::valarray): Likewise.
1532 (valarray<>::resize): Likewise. Tweak.
1533 * src/valarray-inst.cc (__valarray_product): Tweak.
1534
1535 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
1536
1537 * docs: Update sourceware->sources in every HTML file. Minor updates.
1538
1539 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
1540
1541 Clean up configure/build longstanding issues.
1542 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
1543 (CXXLINK): Add here, instead.
1544
1545 * Makefile.am (check-install): Make sure mkcheck has execute privs.
1546 (check): Same here.
1547 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
1548
1549 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
1550 c_io_libio.cc instead of copying.
1551 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
1552
1553 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
1554 c++threads.h instead of copying.
1555 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
1556 Tweaks.
1557
1558 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
1559 * bits/basic_file.h: Declare.
1560
1561 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
1562
1563 2000-07-07 brent verner <brent@rcfile.org>
1564
1565 * testsuite/27_io/istream_unformatted.cc (test05): New test.
1566
1567 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
1568
1569 * bits/istream.tcc (istream::getline): Minor tweaks.
1570
1571 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
1572
1573 * docs/download.html: Mention gcc_update.
1574 * docs/configopts.html: Minor updates.
1575 * docs/gccrebuild.html: Ditto.
1576 * docs/18_support/howto.html: More tips, explanations, and reminders.
1577 * docs/19_diagnostics/howto.html: Ditto.
1578 * docs/21_strings/howto.html: Ditto.
1579 * docs/24_iterators/howto.html: Ditto.
1580 * docs/25_algorithms/howto.html: Ditto.
1581 * docs/26_numerics/howto.html: Ditto.
1582
1583 2000-07-05 brent verner <brent@rcfile.org>
1584
1585 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
1586 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
1587 * config/c_io_libio.cc (__basic_file::open): Unset
1588 ~_IO_DELETE_DONT_CLOSE.
1589
1590 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
1591
1592 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
1593 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
1594 Do not paste anything after 'operator' keyword.
1595
1596 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1597
1598 * bits/std_memory.h: Revert.
1599
1600 2000-07-03 Brendan Kehoe <brendan@zen.org>
1601
1602 * bits/std_complex.h: Fix parens. Format.
1603
1604 2000-07-03 scott snyder <snyder@fnal.gov>
1605
1606 * bits/locale_facets.tcc (_M_extract): Only figure out the base
1607 from the input if base == 0.
1608 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
1609 number with a leading `0' in hex mode.
1610
1611 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
1612
1613 * mkinclosure: Change `==' to `=' in test.
1614
1615 2000-07-03 Chip Salzenberg <chip@valinux.com>
1616
1617 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
1618 not builddir.
1619 * src/Makefile.in: Regenerate.
1620
1621 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1622 Ulrich Drepper <drepper@purist.soma.redhat.com>
1623
1624 Sync libio to glibc-2.2 current CVS.
1625 * libio/_G_config.h: New file.
1626 * libio/wfileops.c: New file.
1627 * libio/wfiledoalloc.c: New file.
1628 * libio/wgenops.c: New file.
1629 * libio/iofwide.c: New file.
1630 * libio/Makefile.am: Tweaks.
1631 * libio/Makefile.in: Regenerate.
1632 * libio/gen-params: Remove. Generic replacement for this yet undone.
1633 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
1634 libioP.h, stdfiles.c]: Update.
1635 * config/c_io_libio.cc: Tweaks.
1636 * acinclude.m4: Complete hacks to test wide io.
1637 * aclocal.m4: Regenerate.
1638 * configure: Regenerate.
1639 * src/Makefile.am: Update.
1640 * src/Makefile.in: Regenerate.
1641
1642 * math/cargl.c: Remove underscores.
1643
1644 * bits/locale_facets.h: Tweaks. Start adding iconv details
1645 and notes.
1646 * bits/locale_facets.tcc: Tweaks.
1647 * bits/std_cwchar.h: Tweaks.
1648
1649 2000-06-29 scott snyder <snyder@fnal.gov>
1650
1651 * bits/concept_checks.h
1652 (__less_then_comparable_requirement_violation): Only check for <.
1653 * testsuite/25_algorithms/lower_bound.cc: New file.
1654
1655 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1656
1657 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
1658 * bits/ostream.tcc: Tweak.
1659 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
1660 _M_buf_size_opt too.
1661 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
1662 out _M_buf_size_opt.
1663 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
1664 _M_buf_size_opt out here.
1665 * bits/char_traits.h (char_traits::eos): Non standard member
1666 function, uglify to __eos. Return char_type().
1667 * bits/std_ostream.h: Change.
1668
1669 * testsuite/27_io/ostream_seeks.cc: New file.
1670 * testsuite/27_io/ostream_seeks-1.tst: New file.
1671 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
1672 test05 to...
1673 * testsuite/27_io/istream_seeks.cc: New file.
1674
1675 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
1676
1677 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
1678 _GLIBCPP_RESOLVE_LIB_DEFECTS.
1679 (auto_ptr): _M_ptr changed to void*.
1680 (suto_ptr::get): Cast _M_ptr to element type.
1681 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
1682 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
1683 (auto_ptr::operator*): Likewise.
1684 (auto_ptr::operator->): Likewise.
1685 (auto_ptr::release): Likewise.
1686 (auto_ptr::reset): Likewise.
1687 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
1688 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
1689 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
1690 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
1691
1692 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1693
1694 * testsuite/27_io/filebuf.cc: Tweak.
1695 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
1696 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
1697 filebuf dtor.
1698 (__basic_file::basic_file): Clean, add calls similar to
1699 _IO_file_attach.
1700 (__basic_file::open): Clean.
1701 (__basic_file::sys_open): Clean.
1702
1703 * bits/std_fstream.h: Revert.
1704 * bits/fstream.tcc (filebuf::close()): Revert.
1705 (filebuf::basic_filebuf()): Revert.
1706
1707 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1708
1709 Update to SGI STL 3.3
1710 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
1711 ext/stl_rope.h, ext/ropeimpl.h: Update.
1712 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
1713 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
1714 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
1715 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
1716 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
1717 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
1718 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
1719 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
1720 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
1721
1722 * src/Makefile.am (headers): Add new files.
1723 * src/Makefile.in: Regenerate.
1724 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
1725 * bits/concept_checks.h: New file.
1726 * bits/container_concepts.h: New file.
1727 * bits/sequence_concepts.h: New file.
1728
1729 2000-06-27 H.J. Lu <hjl@gnu.org>
1730 Loren J. Rittle <ljrittle@acm.org>
1731
1732 * mkcheck.in: Add support to print standard flags needed to
1733 test g++ in build tree. Enhance command line error checking.
1734
1735 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
1736
1737 * docs/install.html: Fix minor typo as reported.
1738
1739 2000-06-26 Brent Verner <brent@rcfile.org>
1740
1741 * bits/string.tcc (string::rfind): Fix.
1742 * testsuite/21_strings/rfind.cc: New file.
1743
1744 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
1745
1746 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
1747
1748 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
1749
1750 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
1751
1752 * mkcheck.in: Make the *.txt and *.tst files writable after
1753 copying them to $TEST_DIR.
1754
1755 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
1756 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
1757 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
1758
1759 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1760
1761 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
1762 (basic_filebuf::close): Use it.
1763 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
1764 filebuf ctor.
1765 (basic_filebuf): Add _M_fileno_based data member.
1766 As reported by brent verner <brent@rcfile.org>
1767 * testsuite/27_io/filebuf_members.cc: New file.
1768 * testsuite/27_io/filebuf_members-1.tst: New file.
1769
1770 * bits/std_fstream.h: Formatting tweaks.
1771 * testsuite/27_io/ofstream_members.cc: New file.
1772 * testsuite/27_io/ofstream_members-1.tst: New file.
1773 * testsuite/27_io/ifstream_members.cc: New file.
1774 * testsuite/27_io/ifstream_members-1.tst: New file.
1775
1776 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1777 Ulrich Drepper <drepper@cygnus.com>
1778
1779 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
1780 that all the freaky stuff like sincos will be around...
1781
1782 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
1783
1784 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
1785
1786 2000-06-22 Steven King <sxking@uswest.net>
1787
1788 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
1789
1790 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1791
1792 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
1793 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
1794 link against libm and don't use -fno-builtins...
1795 * math/mathconf.h: Change up builtin macros to new schema.
1796 * bits/std_cmath.h: And here. Wheee!
1797 * shadow/bits/std_cmath.h: And here.
1798 * acconfig.h: Change up builtin macros here.
1799 * math/cosf.c: Remove.
1800 * math/fabsf.c: Likewise.
1801 * math/sinf.c: Likewise.
1802 * math/sqrtf.c: Likewise.
1803 * math/Makefile.am (EXTRA_DIST): Remove those four files.
1804 * math/Makefile.in: Regenerate.
1805
1806 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
1807
1808 * testsuite/21_strings/find.cc: Patch.
1809
1810 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
1811
1812 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
1813 an easy way to get at g++ without having to link in libstdc++.
1814
1815 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
1816
1817 Fix alpha, powerpc build failures.
1818 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
1819 re-write. Need to check for both proper declaration when using a
1820 c++ compiler, and "C" linkage when linking. Do both, and if both
1821 exist, then define the HAVE_* bits in config.h.
1822 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
1823 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
1824 program, doh.
1825
1826 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
1827
1828 * bits/string.tcc: Fix find.
1829 * testsuite/21_strings/find.cc: Patch.
1830
1831 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1832
1833 * docs/install.html: Update where to get automake, where to get
1834 binutils.
1835 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
1836 builtins.
1837
1838 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
1839
1840 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
1841 Add -Werror-implicit-function-declaration instead.
1842
1843 Regenerate with fixed maintainer-tools.
1844 * aclocal.m4: Regenerate.
1845 * configure: Regenerate.
1846 * libio/Makefile.in: Regenerate.
1847 * src/Makefile.in: Regenerate.
1848
1849 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
1850
1851 * testsuite/27_io/istream_extractor_arith.cc: Patch.
1852 * bits/locale_factets.tcc: Tweak.
1853
1854 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
1855
1856 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
1857 be overridden on the command line for individual files.
1858
1859 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
1860
1861 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
1862 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
1863 building. Use -x c++ instead, which does not attempt to link
1864 libstdc++.
1865
1866 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
1867 not coring when we hit a try/throw block, which was the problem
1868 with the linker support...
1869
1870 * docs/17_intro/contribute.html: Add bits about getting to the LWG
1871 issues pages.
1872 * docs/documentation.html: Rename link to make more accurate and scary.
1873 * docs/gccrebuild.html: Edit for clarity as these are no longer
1874 separate projects.
1875 * docs/install.html: Add bits about binutils for
1876 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
1877
1878 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
1879 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
1880 USE_COMPLEX_LONG_DOUBLE.
1881 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
1882 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
1883 Works around irregularies in powerpc "C" compiler, but a good idea
1884 anyway.
1885
1886 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
1887 New. Merge both old compiler bug checks for complex into this.
1888
1889 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
1890
1891 * testsuite/21_strings/find.cc: Empty strings can be found at all
1892 positions. Modified.
1893
1894 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
1895
1896 * testsuite/20_utilities: New directory.
1897 * testsuite/20_utilities/auto_ptr.cc: New file.
1898
1899 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1900
1901 * src/Makefile.am (string_sources): Simplify, assuming that with
1902 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
1903 hacking is not necessary.
1904 (wstring_sources): Same.
1905 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
1906 -Wl,--gc-sections.
1907 * src/string-inst.cc: Remove macro blocks.
1908 * mkcheck.in (CXX_FLAG): Add bits here.
1909
1910 * src/string-inst.cc: Remove iostream-related string instantiations.
1911 * src/misc-inst.cc: Add here.
1912
1913 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
1914 to WFMT_FLAGS.
1915 * aclocal.m4: Regenerate.
1916 * configure.in: Change up.
1917 * configure: Regenerate.
1918
1919 2000-06-13 Steven King <sxking@uswest.net>
1920
1921 * acinclude.m4: Fixup some of the builtin math tests and add tests for
1922 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
1923 * acconfig.h: Add entries for fmod*.
1924
1925 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
1926
1927 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
1928 Test *_MODFF not *_MODF for modf(float, float*).
1929 (modf(float, float*)): Remove reference to _C_legacy.
1930
1931 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
1932
1933 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
1934 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
1935 superset, and already defined at top level.
1936 * aclocal.m4: Regenerate.
1937 * configure: Regenerate.
1938
1939 * docs/17_intro/contribute.html: Plead with people to use -cp.
1940
1941 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
1942
1943 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
1944
1945 * testsuite/27_io/filebuf.cc: Changed calls to
1946 fpos<>._M_position() to implicit calls to operator streamoff().
1947 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
1948 as not needed. Revert, as part of standard.
1949 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
1950 call to numpunct<>._M_init() with overrides of the appropriate
1951 virtual functions.
1952
1953 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
1954 pointers from test01, so no need to call base(), which isn't
1955 guaranteed to be implemented as iterators may themselves be pointers
1956 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
1957 _M_position() - use implicit conversion to streamoff instead
1958
1959 2000-06-13 Thomas Holenstein <thomas@hex.ch>
1960
1961 * bits/stl_iterator.h: Added inline to operators == to >=.
1962
1963 2000-06-13 Brent Verner <brent@rcfile.org>
1964
1965 * bits/streambuf.tcc: repaired _S_copy_streambufs()
1966 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
1967
1968 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1969
1970 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
1971 members.
1972 * src/locale.cc: Add cwchar include here. Remove incorrect
1973 definitions, and stub them out.
1974 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
1975 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
1976 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
1977 * config/newlib/ctype.cc: Same.
1978 * config/gnu-linux/ctype.cc: Same.
1979 * config/bsd/ctype.cc: Same.
1980 * config/aix/ctype.cc: Same.
1981
1982 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
1983
1984 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
1985 towupper and towlower to convert wide characters.
1986
1987 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1988
1989 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
1990
1991 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
1992
1993 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
1994 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
1995 * aclocal.m4: Regenerate.
1996 * configure: Regenerate.
1997 * math/cosf.c: New file.
1998 * math/fabsf.c: Likewise.
1999 * math/sinf.c: Likewise.
2000 * math/sqrtf.c: Likewise.
2001 * math/Makefile.am (EXTRA_DIST): Add those four files.
2002 * math/Makefile.in: Regenerate.
2003
2004 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2005
2006 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2007
2008 2000-06-06 Steven King <sxking@uswest.net>
2009
2010 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2011 double and long double. Added defines for HAVE libm math functs for
2012 float and long double.
2013 * aclocal.m4: Added configure checks for builtin math funcs and libm
2014 support for float and long double versions of the math functions.
2015 * config.h.in: Added undefs for math functs.
2016 * configure: Regenerate.
2017 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2018 _GLIBCPP_HAVE_BUILTIN_*.
2019 * bits/std_cmath.h: Added long double support. Use builtins for
2020 float, double and long if available, otherwise, use libm versions if
2021 availible, otherwise, punt.
2022 * shadow/bits/std_cmath.h: ditto
2023
2024 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2025
2026 * bits/locale_facets.h: Tweak.
2027 * src/locale.cc (codecvt<wchar_t>): Tweak.
2028
2029 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2030 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2031
2032 * bits/basic_string.h: Move data member up.
2033 * src/string-inst.cc: Fix instantiations.
2034 * bits/string.tcc: Fix types.
2035
2036 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2037
2038 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2039
2040 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2041
2042 * bits/std_cwctype.h: Clean.
2043 * bits/std_cwchar.h: Clean, remove cruft.
2044
2045 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2046 for beginning iconv support.
2047 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2048 macro.
2049 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2050 * bits/limits_generic.h: Remove.
2051 * src/gen-num-limits.cc: Same.
2052
2053 * src/locale.cc: Tweaks.
2054
2055 * bits/char_traits.h: Tweaks.
2056
2057 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2058
2059 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2060 exponent, scientific formatting issues.
2061 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2062
2063 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2064
2065 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2066 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2067
2068 2000-05-31 Nathan Myers <ncm@cantrip.org>
2069
2070 * docs/thanks.html: edit own credits
2071
2072 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2073
2074 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2075
2076 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2077
2078 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2079
2080 2000-05-31 Steven King <sxking@uswest.net>
2081
2082 * shadow/time.h: fix typo
2083 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2084 * shadow/bits/std_cwchar.h: ditto
2085 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2086 and long long.
2087
2088 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2089
2090 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2091 available, force --disable. Need to flesh this out; make smarter.
2092 * aclocal.m4: Regenerate.
2093 * configure: Regenerate.
2094
2095 * mkcheck.in: Minor tweaks.
2096 * docs/download.html: Fix typo.
2097
2098 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2099
2100 * inclosure: Change to...
2101 * mkinclosure: This.
2102 Fix paths to bash.
2103 * mkcshadow: Fix paths to bash.
2104
2105 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2106 * src/Makefile.in: Regnerate.
2107 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2108 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2109 * aclocal.m4: Regenerate.
2110 * mkcheck.in (INC_PATH): Tweak.
2111
2112 * configure.in: Enable long long by default.
2113 * configure: Regenerate.
2114
2115 * mkcheck.in (LIB_PATH): Revert.
2116
2117 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2118
2119 * config/cpu/i486: New directory.
2120 * config/cpu/i486/bits: New directory.
2121 * config/cpu/i486/bits/atomicity.h: New file.
2122 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2123 'cmpxchgl' asm.
2124 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2125
2126 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2127
2128 * backward/alloc.h (__default_alloc_template): Only expose
2129 implementation-specific symbol, if it exists in the
2130 configuration.
2131 * backward/iostream.h (ends): Expose symbol.
2132 * backward/strstream.h: New file.
2133 * backward/stream.h: New file.
2134 * backward/ostream.h: New file.
2135 * backward/istream.h: New file.
2136 * backward/fstream.h: New file.
2137 * backward/complex.h: New file.
2138 * backward/iomanip.h: New file.
2139
2140 * mkcheck.in (LIB_PATH): Add -R bits.
2141
2142 * math/carg.c (carg): Replace __atan2 with atan2.
2143
2144 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2145
2146 * Makefile.am (TAGS): Construct.
2147 * Makefile.in: Rengerate.
2148 * src/Makefile.am: Tweak.
2149 * src/Makefile.in: Tweak.
2150 * configure.in: Tweak.
2151
2152 * bits/c++config.h: Rename to ...
2153 * bits/c++config: This.
2154 * mkc++config: Adjust.
2155
2156 * m4: Remove.
2157 * m4/lc_message.m4: Merge into acinclude.m4.
2158 * m4/mathfcts.m4: Same.
2159 * m4/stringfcts.m4: Same.
2160 * acinclude.m4: Add here.
2161 * configure: Regnerate.
2162
2163 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2164 OPTLEVEL. Add FMTFLAGS.
2165 * aclocal.m4: Regenerate.
2166 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2167 been disabled due to higher-level Makefiles running amuck over
2168 this bit, and add in FMTFLAGS so that formatting is clear.
2169 * src/Makefile.in: Regenerate.
2170 * configure: Regenerate.
2171
2172 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2173 initialization.
2174
2175 * docs/download.html: Remove references to Cygwin-specific bits,
2176 as this can now be built natively.
2177 Update with current information.
2178
2179 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2180
2181 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2182 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2183 enclose other tests in this macro, including future ones.
2184 * aclocal.m4: Regenerate.
2185 * configure: Regenerate.
2186
2187 * docs/faq/index.html: Update location of libg++ FAQ.
2188 * docs/faq/index.txt: Regenerate.
2189
2190 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2191
2192 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2193
2194 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2195
2196 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2197
2198 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2199
2200 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2201 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2202 * aclocal.m4: Regenerate.
2203 * configure: Regenerate.
2204
2205 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2206
2207 * bits/generic_shadow.h: s/swamp/legacy/
2208
2209 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2210
2211 * acinclude.m4: Clean up comments on newer checks.
2212 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2213 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2214 * aclocal.m4: Regenerate.
2215 * configure: Regenerate.
2216 * Makefile.in: Regenerate.
2217 * libio/Makefile.in: Regenerate.
2218 * math/Makefile.in: Regenerate.
2219 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2220 * src/Makefile.in: Regenerate.
2221 * docs/configopts.html: Document changes to --enable names.
2222
2223 2000-05-18 Chip Salzenberg <chip@valinux.com>
2224
2225 * bits/ostream.tcc (_S_pad_char): Function template should not be
2226 static.
2227 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2228 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2229
2230 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2231
2232 * mkcshadow: Change C_Swamp to C_legacy.
2233 * shadow/*: Same.
2234 * shadow/bits/*: Same.
2235 s/C_Swamp/C_legacy/g
2236 s/SWAMP/LEGACY/g
2237 s/_Shadow/_shadow/g
2238
2239 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2240
2241 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2242 const char*.
2243 * src/string-inst.cc (string::_S_find): Same.
2244
2245 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2246
2247 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2248 --enable-cshadow-headers. Add output messages.
2249 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2250 underscores (like the rest of the enable options.) Add output messages.
2251 * aclocal.m4: Regenerate.
2252 * configure: Regenerate.
2253 * configure.in: Touch.
2254
2255 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2256
2257 * mkcheck.in: Enable shared library testing.
2258
2259 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2260
2261 * bits/std_cmath.h: fix sqrt(float)
2262
2263 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2264
2265 * bits/std_cassert.h: Use system_header pragma.
2266 * bits/std_cctype.h: Likewise.
2267 * bits/std_cerrno.h: Likewise.
2268 * bits/std_cfloat.h: Likewise.
2269 * bits/std_climits.h: Likewise.
2270 * bits/std_clocale.h: Likewise.
2271 * bits/std_cmath.h: Likewise.
2272 * bits/std_csetjmp.h: Likewise.
2273 * bits/std_csignal.h: Likewise.
2274 * bits/std_cstdarg.h: Likewise.
2275 * bits/std_cstddef.h: Likewise.
2276 * bits/std_cstdio.h: Likewise.
2277 * bits/std_cstdlib.h: Likewise.
2278 * bits/std_cstring.h: Likewise.
2279 * bits/std_ctime.h: Likewise.
2280 * bits/std_cwchar.h: Likewise.
2281 * bits/std_cwctype.h: Likewise.
2282 * bits/std_exception.h: Likewise.
2283 * bits/std_new.h: Likewise.
2284 * bits/std_typeinfo.h: Likewise.
2285 * shadow/bits/std_cassert.h: Likewise.
2286 * shadow/bits/std_cctype.h: Likewise.
2287 * shadow/bits/std_cerrno.h: Likewise.
2288 * shadow/bits/std_cfloat.h: Likewise.
2289 * shadow/bits/std_climits.h: Likewise.
2290 * shadow/bits/std_clocale.h: Likewise.
2291 * shadow/bits/std_cmath.h: Likewise.
2292 * shadow/bits/std_csetjmp.h: Likewise.
2293 * shadow/bits/std_csignal.h: Likewise.
2294 * shadow/bits/std_cstdarg.h: Likewise.
2295 * shadow/bits/std_cstddef.h: Likewise.
2296 * shadow/bits/std_cstdio.h: Likewise.
2297 * shadow/bits/std_cstdlib.h: Likewise.
2298 * shadow/bits/std_cstring.h: Likewise.
2299 * shadow/bits/std_ctime.h: Likewise.
2300 * shadow/bits/std_cwchar.h: Likewise.
2301 * shadow/bits/std_cwctype.h: Likewise.
2302 * shadow/bits/wrap_libio.h: Likewise.
2303 * shadow/bits/wrap_unistd.h: Likewise.
2304 * shadow/sys/cdefs.h: Likewise.
2305
2306 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2307
2308 It appears that gcc-2.96 supports the keyword "and" now.
2309 * bits/std_ciso646.h: remove.
2310 * std/ciso646: gut.
2311 * testsuite/17_intro/header_ciso646.c: enable testing.
2312 * src/Makefile.am, src/Makefile.in: remove mention of
2313 bits/std_ciso646.h
2314
2315 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2316
2317 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2318
2319 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2320
2321 * acinclude.m4: Fix typo, switch to decaf...
2322 * aclocal.m4: Regenerate.
2323 * configure: Regenerate.
2324
2325 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2326
2327 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2328 * aclocal.m4: Regenerate.
2329 * configure.in: Call.
2330 * configure: Regenerate.
2331 * docs/configopts.html: Stub documentation.
2332
2333 2000-05-14 Nathan Myers <ncm@cantrip.org>
2334
2335 * mkcshadow: build in more-correct directory, create cshadow/
2336 directory if needed, report progress.
2337
2338 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2339
2340 * src/Makefile.am: Fix tr commands.
2341 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2342 * src/string-inst.cc: Remove extra instantiation of
2343 S::basic_string(S::size_type, C, S::allocator_type const&);
2344 * src/string-inst.cc: Remove extra template keyword.
2345
2346 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2347
2348 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2349 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2350 * aclocal.m4: Regenerate.
2351 * configure: Regenerate.
2352 * */Makefile.in: Regenerate.
2353
2354 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2355
2356 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2357 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2358 * aclocal.m4: Regenerate.
2359 * configure.in: Non-blank arguments break fewer Linuxes.
2360 * configure: Regenerate.
2361 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2362 * src/Makefile.in: Regenerate.
2363
2364 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2365
2366 * bits/std_cmath.h: Tweaks.
2367 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2368 (sqrtf): Define away iff !builtin and !in <math.h>.
2369 (sinf): Same.
2370 (cosf): Same.
2371 (fabsf): Same.
2372 At some point this directory should be converted to c++, the
2373 autoconf tests should be run by the c++ compiler (not c), and
2374 <cmath> should be used instead of math.h.
2375 Move declaration of nan() here.
2376 * math/complex-stub.h (cabsl): Remove nan() declaration.
2377
2378 Finish up FreeBSD4.0 support.
2379 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2380 * config/generic/ctype.cc: And here.
2381 * testsuite/21_strings/char_traits.cc (test02): Guard with
2382 _GLIBCPP_USE_WCHAR_T.
2383
2384 via Phil Edwards <pme@sourceware.cygnus.com>
2385 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2386 * acconfig.h: And here.
2387 * acinclude.m4: Same.
2388 * testsuite/27_io/istream.cc: And here.
2389 * testsuite/27_io/ostream.cc: And here.
2390
2391 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2392
2393 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2394 -mcpu=powerpc.
2395 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2396
2397 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2398 Make more generic.
2399
2400 * config/bsd: New directory.
2401 * config/bsd/ctype.cc: New.
2402 * config/bsd/bits/ctype_base.h (ctype_base): New.
2403 * config/bsd/bits/ctype_specializations.h: New.
2404 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2405
2406 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2407
2408 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2409 * configure.in: Call.
2410 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2411 * aclocal.m4: Regenerate.
2412 * configure: Ditto.
2413 * src/Makefile.in: Ditto.
2414 * docs/configopts.html: Document.
2415 * docs/download.html: Fix typo (close quote).
2416 * docs/footer.html: Update.
2417
2418 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2419
2420 * backward/iostream.h: Expose endl. Guard wide types.
2421 * src/Makefile.am (headers): Update list to match files.
2422 * src/Makefile.in: Regenerate.
2423
2424 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2425 Benjamin Kosnik <bkoz@gnu.org>
2426 Nathan Myers <ncm@cantrip.org>
2427 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2428
2429 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2430 (basic_streambuf::xsputn): Make consistent.
2431 * testsuite/27_io/filebuf.cc: Add tests.
2432
2433 2000-05-08 Steven King <sxking@uswest.net>
2434
2435 * bits/char_traits.h: Use wchar_t utility functions for
2436 char_traits<wchar_t> methods.
2437 * testsuite/21_string/char_traits.cc: New (test02): test
2438 char_traits<wchar_t>
2439
2440 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2441
2442 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2443
2444 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2445 _M_buf_size based on macro, instead use _M_buf_size_opt.
2446 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2447 (basic_streambuf()): Set _M_buf_size_opt.
2448 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2449 instead of _M_buf_size.
2450
2451 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2452
2453 * src/complex_io.cc: Don't instantiate inserters and extractors
2454 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2455
2456 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2457 Felix Natter <fnatter@gmx.net>
2458
2459 * docs/footer.html: Update to see if it takes effect.
2460 * docs/thanks.html: More people.
2461 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
2462 be seen from the web pages. Rename for browser-friendliness...
2463 * docs/17_intro/howto.html: ...and update here.
2464 * docs/17_intro/porting-howto.html: Changes from Felix.
2465 * docs/gccrebuild.html: Mention v3->egcs move.
2466 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
2467 * docs/faq/index.txt: Regenerate.
2468
2469 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
2470
2471 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
2472 fixes.
2473
2474 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
2475
2476 * bits/char_traits.h: Fix parameter types.
2477 * bits/string.tcc: Avoid traits_type::move.
2478
2479 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
2480
2481 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2482 * src/Makefile.in: Regenerate.
2483 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2484
2485 2000-04-30 Steven King <sxking@uswest.net>
2486
2487 * bits/locale_facets.h: Fix syntax error.
2488 * bits/std_fstream.h: ditto
2489
2490 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
2491
2492 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
2493
2494 * mknumeric_limits (trait_name): Fix copyright notice.
2495 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
2496 round_error data members of struct value. This works around
2497 weak-linking issues on AIX, HPUX.
2498
2499 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
2500
2501 * docs/download.html: Add link to list of mirror sites.
2502
2503 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
2504
2505 * mkcheck.in: Rely on exit status instead of the presence of a
2506 core file. Added comments on how/where to save core and exe
2507 files. Move shell wildcards outside quotes and fix core path.
2508
2509 2000-04-27 scott snyder <snyder@fnal.gov>
2510
2511 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
2512 classes.
2513
2514 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
2515
2516 * bits/basic_string.h: include <bits/atomicity.h> instead
2517 of <atomicity.h>, and use the uglified names.
2518 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
2519 uglify names, eliminate dependence on <inttypes.h>.
2520 * src/Makefile.in, src/Makefile.am: refer to correct place
2521 for atomicity.h header.
2522
2523 2000-04-25 Steven King <sxking@uswest.net>
2524
2525 * bits/basic_string.h: Fix syntax error.
2526
2527 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
2528
2529 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
2530 USE_LONG_DOUBLE.
2531 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
2532 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
2533 versions to this as copysignl is needed anyway for these targets.
2534 * math/Makefile.in: Regenerate.
2535
2536 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
2537 * bits/fstream.tcc (underflow): Cast to libio types.
2538 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
2539 * config/c_io_libio.cc (seekoff): And here.
2540
2541 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2542
2543 * mkcheck.in: Report compiler version used for test. Find
2544 the built _G_config.h instead of any old installed version.
2545
2546 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2547
2548 * config/generic/ctype.cc (do_toupper): Remove dependence on
2549 non-portable/non-existent lookup table.
2550 (do_tolower): Same.
2551
2552 2000-04-24 Nathan Myers <ncm@cantrip.org>
2553
2554 * src/string-inst.cc: More fixing.
2555
2556 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
2557
2558 * bits/stl_iterator.h: Pedantic fixing.
2559 * bits/std_sstream.h: And here.
2560 * bits/string.tcc: And here.
2561
2562 2000-04-24 Felix Natter <fnatter@gmx.net>
2563
2564 * docs/17_intro/howto.html: Add bits.
2565 * docs/17_intro/porting-howto.html: New file.
2566
2567 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
2568
2569 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
2570 @libinst_wstring_la@ to libinst-wstring.la when specializing for
2571 wchar_t, to empty string otherwise.
2572 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
2573 (sources): Remove $(string_sources) and $(wstring_sources).
2574 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
2575 (libstdc___la_DEPENDENCIES): New.
2576 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
2577
2578 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
2579
2580 * bits/std_sstream.h: Tweak formatting.
2581 * bits/std_fstream.h: Make types public.
2582
2583 * testsuite/27_io/streambuf.cc: Fix for alpha.
2584
2585 Brad Garcia <bgarcia@laurelnetworks.com>
2586 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
2587 initialization.
2588 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
2589 bool formatting.
2590
2591 2000-04-19 Nathan Myers <ncm@cantrip.org>
2592
2593 * src/string-inst: consolidate _S_create,
2594 destroy, leak, clone members into stringMAIN and stringMUTATE
2595 object files.
2596 * src/Makefile.am: Above, and eliminate dependence on
2597 wstring-inst.cc.
2598 * src/wstring-inst.cc: Remove.
2599
2600 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
2601
2602 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
2603 Add flags for specialized rules dealing with instantiations.
2604
2605 * src/string-inst.cc: Add instantiations missing from shared
2606 libraries--see stringEQ, stringCONSC.
2607 * src/Makefile.am (wstring_sources): Add.
2608 (string_sources): Same.
2609 * src/Makefile.in: Regenerate.
2610
2611 * stl/*: Integrate contents of this directory into top-level
2612 directories.
2613 * ext/bvector hash_map hash_set rope ropeimpl.h slist
2614 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
2615 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
2616 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
2617 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
2618 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
2619 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
2620 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
2621 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
2622 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
2623 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
2624 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
2625 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
2626 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
2627 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
2628 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
2629 stack.h tempbuf.h tree.h vector.h: Add.
2630 * README (file): Update.
2631 * docs/documentation.html: README not being found.
2632 * src/Makefile.am (sources): Take out stl directory.
2633 * mkcheck.in (SRC_DIR): And here.
2634 * src/Makefile.in: Regenerate.
2635
2636 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
2637
2638 * stl/bits/stl_function.h: Add bits so that const and non-const
2639 both work.
2640
2641 2000-04-18 scott snyder <snyder@fnal.gov>
2642
2643 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
2644 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
2645 __STL_LIMITED_DEFAULT_TEMPLATES macros.
2646 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
2647 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
2648
2649 2000-04-18 scott snyder <snyder@fnal.gov>
2650
2651 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
2652 this macro.
2653
2654 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
2655 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
2656 * stl/ext/hash_set (class hash_set, class hash_multiset):
2657 Likewise.
2658 * stl/bits/stl_function.h (struct constant_unary_fun, struct
2659 constant_binary_fun): Likewise.
2660 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
2661 * stl/bits/stl_stack.h (class stack): Likewise.
2662 * stl/bits/stl_set.h (class set): Likewise.
2663 * stl/bits/stl_multiset.h (class multiset): Likewise.
2664
2665 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
2666 class reverse_iterator): Get rid of use of
2667 __STL_LIMITED_DEFAULT_TEMPLATES macro.
2668
2669 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
2670 macro.
2671
2672 * stl/bits/stl_deque.h (class deque): Get rid of use of
2673 __STL_DEFAULT_ALLOCATOR macro.
2674 * stl/bits/stl_list.h (class list): Likewise.
2675 * stl/bits/stl_multiset.h (class multiset): Likewise.
2676 * stl/bits/stl_set.h (class set): Likewise.
2677 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
2678 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
2679 * stl/bits/stl_vector.h (class vector): Likewise.
2680 * stl/ext/ropeimpl.h (rotate): Likewise.
2681 * stl/ext/hash_map (class hash_map, class hash_multimap):
2682 Likewise.
2683 * stl/ext/hash_set (class hash_set, class hash_multiset):
2684 Likewise.
2685 * stl/ext/slist (class slist): Likewise.
2686 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
2687 * stl/ext/stl_rope.h (class rope): Likewise.
2688 * src/locale.cc (_Impl): Likewise.
2689 * src/localename.cc (_Impl): Likewise.
2690 * bits/localefwd.h (_Impl): Likewise.
2691
2692 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
2693
2694 * docs/install.html: Cleanup, minor changes.
2695 * docs/17_intro/howto.html: Ditto.
2696
2697 2000-04-18 Nathan Myers <ncm@cantrip.org>
2698
2699 * bits/basic_string.h: Remove "inline" from member _S_find.
2700
2701 * src/string-inst.cc: Rewrite to reflect non-inline template
2702 instantiations in string.tcc.
2703
2704 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
2705 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
2706 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
2707 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
2708 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
2709 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
2710 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
2711 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
2712 stringNESS.cc, stringSCOPY.cc: Remove.
2713 * src/wstringADDCS.cc, etc: Remove.
2714
2715 Benjamin Kosnik <bkoz@haight.constant.com>
2716 * src/Makefile.am: Modify to reflect above.
2717 * src/Makefile.in: Regenerate.
2718
2719 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
2720
2721 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
2722
2723 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
2724
2725 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
2726 io interface here instead of the libio particulars.
2727
2728 * config/threads-posix.h: Consistency with stl_config.h.
2729
2730 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
2731
2732 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
2733
2734 * mknumeric_limits: Rename generic type template parameter name
2735 '_T' to '_Tp'.
2736 * stl/bits/type_traits.h: Ditto.
2737
2738 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2739
2740 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
2741 it is more useful for --enable-libstdcxx-v3. Use the built
2742 compilers with v3, instead of compilers in PATH, and don't
2743 re-include include directories for checking the install.
2744
2745 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
2746
2747 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
2748 by default when using --enable-libstdcxx-v3.
2749 * src/Makefile.in: Regenerate.
2750 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
2751 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
2752 * configure: Regenerate.
2753 * mkcheck.in: Deal with NAMESPACES.
2754
2755 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
2756
2757 * src/cmath.cc: New file...
2758 (pow(*, int)): Define functions...
2759 * src/Makefile.am (sources): ...register file.
2760 * src/Makefile.in: Regenerate.
2761 * bits/std_cmath.h (pow): ...declare functions here, and remove
2762 old definitions.
2763
2764 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
2765
2766 * acinclude.m4 (GCC_OBJDIR): Tweaks
2767
2768 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
2769
2770 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
2771 * config/cpu/arm: New directory.
2772
2773 Jesper Skov <jskov@redhat.com>
2774 * config/cpu/arm/atomicity.h: New file.
2775
2776 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
2777
2778 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
2779 Remove unused bits. Clean.
2780
2781 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
2782
2783 * testsuite/25_algorithms: New directory.
2784 * testsuite/25_algorithms/min_max.cc: New file.
2785
2786 2000-03-29 scott snyder <snyder@fnal.gov>
2787
2788 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
2789 precision beyond that which we get from numeric_limits::digits10.
2790
2791 * stl/bits/stl_algobase.h (max, min): Don't use comparison
2792 operator.
2793
2794 * testsuite/23_containers/bitset_shift.cc: Fix.
2795
2796 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
2797 temporary to imbue().
2798
2799 * bits/std_fstream.h (sync): Resync libio's idea of the current
2800 file position with the external file.
2801
2802 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
2803
2804 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
2805 mistake.
2806
2807 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
2808 attempting calls to it.
2809 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
2810 ctors. Instead, call _M_init_filebuf ...
2811 (open): Here, as suggested by 27.8.1.3.
2812 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
2813 properly when initializing cout/cin/cerr.
2814
2815 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2816
2817 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
2818 * testsuite/22_locale/ctype_char_members.cc: And here.
2819 * testsuite/27_io/streambuf.cc (streambuf): And here.
2820 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
2821 * testsuite/27_io/istream_unformatted.cc (test05): And here.
2822 * testsuite/27_io/istream_extractor_arith.cc: And here.
2823 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
2824 * testsuite/27_io/ios_base_members_static.cc: And here.
2825 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
2826
2827 2000-03-27 Chris Faylor <cgf@cygnus.com>
2828
2829 * configure.in: Remove setting of CXX if canadian cross.
2830 * configure: Regenerate.
2831
2832 2000-03-27 Nathan Myers <ncm@zembu.com>
2833
2834 * bits/sstream.tcc: Optimize.
2835 * bits/basic_string.h(string::append): Don't inline.
2836 * bits/string.tcc: Move out-of-line.
2837
2838 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
2839
2840 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
2841 define WERRORSUPPRESS so that the inlining warnings won't kill us.
2842 * aclocal.m4: Regenerate.
2843 * configure: Regenerate.
2844 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
2845 * src/Makefile.in: Regenerate.
2846
2847 * docs/install.html: Almost complete rewrite.
2848
2849 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
2850
2851 * docs/install.html: Explain -Werror problem at "#Werror" mark.
2852 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
2853 not installed.
2854 * docs/faq/index.txt: Regenerate.
2855
2856 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2857
2858 * src/Makefile.am (libio_headers_install): Fix.
2859 * src/Makefile.in: Regenerate.
2860
2861 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
2862
2863 * docs/17_intro/RELEASE-NOTES: Fix typos.
2864 * docs/index.html: Update.
2865 * docs/17_intro/BUGS: Update.
2866 * docs/status.html: Update for 2.90.8 release.
2867
2868 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
2869
2870 * Makefile.am: Better error message when missing libgcc2.ready.
2871 * Makefile.in: Regenerate.
2872 * acinclude.m4: Fastidious nitpicking reformatting.
2873 * aclocal.m4: Regenerate.
2874 * configure: Regenerate.
2875 * mkcheck.in: Must use same namespace settings as the library being
2876 tested. Also log ST_FLAG, since it's being passed.
2877 * docs/install.html: Add brief chunk on configuration.
2878 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
2879 * docs/23_containers/howto.html: Mention MT-safe string.
2880 * docs/faq/index.html: Minor updates.
2881 * docs/faq/index.txt: Regerarate.
2882
2883 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
2884
2885 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
2886 Return newoff.
2887 * bits/fstream.tcc (seekoff): Sync.
2888 (seekpos): Sync.
2889 * testsuite/27_io/ostream_unformatted.cc: New file.
2890 * testsuite/27_io/stringbuf.cc: Fix.
2891 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
2892
2893 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
2894 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
2895
2896 * src/complex_io.cc (operator>>complex): Tweak.
2897
2898 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
2899 <inttypes.h> does not exist.
2900 * config/cpu/sparc/sparc64/atomicity.h: Same.
2901 * config/cpu/sparc/sparc32/atomicity.h: Same.
2902 * config/cpu/powerpc/atomicity.h: Same.
2903 * config/cpu/i386/atomicity.h: Same.
2904 * config/cpu/generic/atomicity.h: Same.
2905 * configure.in: Check for inttypes.h.
2906 * configure: Regnerate.
2907
2908 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
2909
2910 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
2911 correctly.
2912 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
2913
2914 * docs/17_intro/RELEASE-NOTES (New): Add bits.
2915
2916 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
2917 are compiling natively.
2918
2919 * libio/*: Update to CVS libio from egcs.
2920
2921 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
2922
2923 * docs/download.html: Document use of -z9 for CVS.
2924 * docs/index.html: Add target date (no link) for future snapshot.
2925
2926 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2927
2928 * bits/slice_array.h: Rename generic type template parameter name
2929 '_T' to '_Tp'.
2930 * bits/mask_array.h: Ditto
2931
2932 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
2933
2934 * *: Change copyright holder from "Cygnus Solutions" to "Free
2935 Software Foundation, Inc."
2936
2937 * docs/configopts.html: Explain what "hella versions" means.
2938 * docs/install.html: Some tweaks--nice job on this Phil.
2939 * docs/documentation.html: Add a direct link to configuration options.
2940
2941 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
2942 * docs/17_intro/RELEASE-NOTES (New): Add.
2943 * bits/c++config.h (__GLIBCPP__): Bump version.
2944
2945 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
2946 type to match prototype.
2947
2948 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
2949
2950 * docs/install.html: Update for new funky build procedure. Move
2951 description of 'configure' options to...
2952 * docs/configopts.html: ...here. New file.
2953 * docs/17_intro/howto.html: Updates for new snapshot.
2954 * docs/20_util/howto.html: Ditto.
2955 * docs/21_strings/howto.html: Ditto.
2956 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
2957 * docs/22_locale/howto.html: Ditto.
2958 * docs/23_containers/howto.html: Ditto.
2959 * docs/faq/index.html: Ditto.
2960
2961 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
2962 Benjamin Kosnik <bkoz@gnu.org>
2963
2964 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
2965 to the right place.
2966 * aclocal.m4: Regenerate.
2967 * configure: Regenerate.
2968
2969 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
2970 scott snyder <sss@karma.fnal.gov>
2971
2972 * config/c_io_libio.h: Add __c_lock.
2973 * config/threads-no.h: Same here.
2974 * config/threads-posix.h: Add __mutext_type typedef.
2975 * config/c_io_libio.cc: basic_file ctor takes lock arg.
2976 * bits/basic_file.h: Ctor takes lock arg.
2977 * bits/std_fstream.h: Add _M_lock.
2978 * bits/fstream.tcc: Supply it to basic_file ctor.
2979
2980 * mkcheck.in (resultstext): Change [[ to [.
2981
2982 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
2983
2984 * bits/locale_facets.h: Tweak.
2985
2986 * stl/bits/stl_config.h: Fix defines.
2987
2988 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
2989
2990 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
2991 atomicity.h
2992 * configure: Regenerate.
2993 * aclocal.m4: Regnerate.
2994
2995 2000-03-16 Nathan Myers <ncm@zembu.com>
2996
2997 * bits/string.tcc: Add MT support.
2998 * bits/basic_string.h: Same.
2999
3000 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3001
3002 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3003 the defaults.
3004 * configure: Regenerate.
3005
3006 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3007
3008 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3009
3010 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3011 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3012 any defaults passed in.
3013 * aclocal.m4: Regenerate.
3014
3015 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3016
3017 * mkcheck.in: Report total successes and failures.
3018
3019 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3020
3021 * config/cpu: New directory, intended to be used to provide
3022 cpu-specific configuration files. In particular, assembly language
3023 primitives for thread safety.
3024 * config/cpu/alpha: Populate.
3025 * config/cpu/alpha/atomicity.h: New file.
3026 * config/cpu/arm: Populate.
3027 * config/cpu/generic: Populate.
3028 * config/cpu/generic/atomicity.h: New file.
3029 * config/cpu/hppa: Populate.
3030 * config/cpu/i386: Populate.
3031 * config/cpu/i386/atomicity.h: New file, take from i486.
3032 * config/cpu/m68k: Populate.
3033 * config/cpu/mips: Populate.
3034 * config/cpu/powerpc: Populate.
3035 * config/cpu/powerpc/atomicity.h: New file.
3036 * config/cpu/sparc: Populate.
3037 * config/cpu/sparc/sparc32: Populate.
3038 * config/cpu/sparc/sparc64: Populate.
3039 * config/cpu/sparc/sparc32/atomicity.h: New file.
3040 * config/cpu/sparc/sparc64/atomicity.h: New file.
3041
3042 * src/Makefile.am (myinstallheaders): Add install routines.
3043 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3044 cpu dir.
3045 * configure.in: Add.
3046
3047 * config/default: Adopt glibc naming conventions, and so move to
3048 * config/generic: Here.
3049 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3050
3051 2000-03-15 Bill Thompson <billt@toast.net>
3052
3053 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3054
3055 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3056
3057 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3058
3059 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3060 * aclocal.m4: Regenerate.
3061 * configure: Regenerate.
3062
3063 2000-03-13 scott snyder <snyder@fnal.gov>
3064 Jason Merrill <jason@cygnus.com>
3065
3066 * bits/locale_facets.h (class ctype, class ctype<char>, class
3067 ctype<wchar_t>): More mask fixes.
3068 * testsuite/22_locale/ctype.cc: Test for the problem.
3069
3070 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3071
3072 * acconfig.h: Add bits.
3073 * configure.in: Move AM_PROG_LIBTOOL up in file.
3074 Tweak cross compiling info.
3075 * configure: Regenerate.
3076
3077 * mknumeric_limits (XCOMPILE): Echo compilation line for
3078 gen-num-limits.cc
3079
3080 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3081 * aclocal.m4: Regenerate.
3082 * configure: Regenerate.
3083 * config/aix/ctype.cc (ctype): Tweak.
3084 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3085 * config/aix/bits/ctype_specializations.h: New file.
3086
3087 2000-03-10 scott snyder <snyder@fnal.gov>
3088
3089 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3090 conversions.
3091 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3092 regression test for the problem.
3093
3094 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3095
3096 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3097 * bits/fpos.h: And here.
3098 * bits/std_ostream.h: Same here.
3099 * bits/std_istream.h: Same here.
3100 * bits/basic_ios.h: Same here.
3101 * bits/std_fstream.h: Same here.
3102 * bits/sbuf_iter.h (std): Here too.
3103 * bits/std_sstream.h: Make types public.
3104
3105 * src/misc-inst.cc: Use size_t instead of unsigned int.
3106 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3107 suppose this should be ctype::narrow... all the ctype<wchar_t>
3108 stuff needs to be cleaned up.
3109
3110 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3111
3112 * docs/gentop: Remove entire directory, finally.
3113
3114 2000-03-09 scott snyder <snyder@fnal.gov>
3115
3116 * bits/std_cmath.h (modf): Fix pointer overrun.
3117 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3118 test for the problem.
3119
3120 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3121
3122 Looks like changes to the #include'd files must be followed by a
3123 change to the #include'ing files to take effect. Caveat emptor.
3124 * docs/header.html: New file, for server-side include.
3125 * docs/footer.html: New file, for server-side include.
3126 * docs/documentation.html: Change to use SSI.
3127 * docs/download.html: Ditto.
3128 * docs/index.html: Ditto.
3129 * docs/mail.html: Ditto.
3130 * docs/status.html: Ditto.
3131 * docs/thanks.html: Ditto, plus minor updates.
3132 * docs/how.html: Remove.
3133
3134 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3135
3136 Preliminary alpha-linux support.
3137 * src/locale.cc (ctype<wchar_t>): Use correct types...
3138 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3139 (ctype<wchar_t>): Same.
3140 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3141 types match for table_size (size_t).
3142
3143 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3144 as per char specialization.
3145 * config/*/ctype.cc: Same.
3146
3147 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3148
3149 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3150 _Ctype_nois<>. Template base classes are never examinated in
3151 first-phase name-lookup.
3152
3153 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3154
3155 Add Solaris 2.5.1 support.
3156 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3157 * config/solaris/solaris2.5/ctype.cc: Fixup.
3158 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3159 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3160 * aclocal.m4: Regenerate.
3161 * configure: Regenerate.
3162
3163 * config/default/ctype.cc (ctype): Fixup.
3164
3165 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3166
3167 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3168 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3169 non-wchar_t case.
3170
3171 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3172
3173 * bits/cpp_type_traits.h: Expand on this file purpose.
3174
3175 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3176
3177 * bits/locale_facets.h (ctype<char>): Remove static members, and
3178 re-work initialization code.
3179 (ctype<wchar_t>): Same.
3180 Move _S_touppper to _M_toupper and initialize in ctor.
3181 Move _S_tolower to _M_tolower and initialize in ctor.
3182 Move _S_table to _M_ctable and intialize in ctor.
3183 * bits/locale_facets.h (std): And here.
3184 * src/locale.cc (std): Tweak.
3185 * config/gnu-linux/ctype.cc: Change initialization here.
3186 * config/newlib/ctype.cc: And here.
3187 * config/solaris/solaris2.7/ctype.cc: And here.
3188 * config/solaris/solaris2.6/ctype.cc: And here.
3189
3190 * bits/localefwd.h: Tweak.
3191 * bits/std_streambuf.h: Tweak formatting.
3192
3193 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3194
3195 2000-03-05 Chip Salzenberg <chip@valinux.com>
3196
3197 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3198
3199 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3200 Kevin Atkinson <kevinatk@home.com>
3201
3202 Initial grab of SGI's strstream implementation with minor
3203 modifications.
3204 * src/strstream.cc: New file.
3205 * std/strstream: New file.
3206 * stl/bits/std_strstream.h: New file.
3207 * bits/std_streambuf.h: Add public access.
3208 * src/Makefile.am: Add strstream sources to list of dependancies.
3209 * src/Makefile.in: Regenerate.
3210
3211 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3212
3213 * bits/valarray_meta.h: Fix typo.
3214
3215 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3216 Chip Salzenberg <chip@valinux.com>
3217 Petter Urkedal <petter@matfys.lth.se>
3218
3219 * src/Makefile.am (myinstallheaders): Hack to avoid
3220 `for i in ; do'.
3221 * src/Makefile.in: Regenerate.
3222
3223 2000-03-02 Chip Salzenberg <chip@valinux.com>
3224
3225 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3226 (LINK): Put quotes around "$(CC)" for libtool link mode,
3227 so libtool will use "-B" options during GCC bootstrap.
3228 * */Makefile.in: Regenerate.
3229
3230 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3231
3232 * config/c_io_libio.h: Enclose it all in ::std.
3233 * bits/basic_string.h (basic_string<>): Make types and
3234 `npos' public.
3235 * mkc++config: Truncate output file before writing.
3236
3237 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3238
3239 * math/cabsf.c (__mycabsf): Rename to cabsf.
3240 * math/cabs.c (__mycabs): Rename to cabs.
3241
3242 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3243
3244 * bits/basic_string.h: Move declarations of __out_of_range(),
3245 __length_error() and accompanying macros ...
3246 * bits/exception_support.h: here. (Newly created file).
3247 * bits/basic_string.h: #include <bits/exception_support.h>
3248 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3249 * src/Makefile.am (headers): Add.
3250 * src/Makefile.in: Regenerate.
3251
3252 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3253
3254 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3255 type_traits.h.
3256 * bits/valarray_array.h: Synch. Fix typos.
3257
3258 * libio/Makefile.am: Change to only compile source files that
3259 config/c_io_libio.cc actually needs.
3260 * libio/Makefile.in: Regnerate.
3261 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3262 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3263 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3264 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3265 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3266 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3267 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3268 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3269 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3270 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3271 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3272 strops.c strstream.h: Delete.
3273
3274 * bits/basic_file.h: Stub out or delete unused bits in this
3275 interface.
3276 (filepos_beg): Remove.
3277 (filepos_cur): Remove.
3278 (filepos_valid): Remove.
3279 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3280
3281 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3282
3283 * bits/cpp_type_traits.h: Correct typo.
3284
3285 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3286
3287 * bits/cpp_type_traits.h: New file.
3288
3289 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3290 Improve array construction.
3291 (_Array_default_ctor): New dispatcher class.
3292 (__valarray_default_construct): New function.
3293 (_Array_copy_ctor): New dispatcher class.
3294 (__valarray_copy_construct): New function.
3295 (_Array<>::free_data): Remove.
3296
3297 * src/Makefile.am (headers): Add cpp_type_traits.h
3298 * src/Makefile.in: Regenerate.
3299
3300 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3301
3302 Prune libio directory to match files in libio/Makefile.
3303 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3304 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3305 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3306 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3307 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3308 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3309 stdstreams.cc: Remove.
3310 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3311 * libio/iofflush_u.c: Remove.
3312
3313 * libio/dbz: Remove.
3314 * libio/include: Remove.
3315 * libio/stdio: Remove.
3316 * libio/tests: Remove.
3317 * libio/testsuite: Remove.
3318
3319 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3320
3321 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3322 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3323 * configure: Regenerate.
3324
3325 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3326
3327 Abstract out the underlying "C" io bits.
3328 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3329 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3330 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3331 include <cstddef>.
3332 * stl/bits/stl_config.h: Don't include _G_config.h.
3333
3334 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3335 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3336 * config/c_io_libio.cc: Tweak.
3337
3338 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3339 * src/Makefile.in: Regenerate.
3340 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3341 prefix/include files will be picked up.
3342 * Makefile.in: Regenerate.
3343 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3344 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3345
3346 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3347 * bits/fpos.h: And here.
3348 * bits/basic_file.h (get_fileno): Move definition from ...
3349 * src/basic_file.cc (std): To here.
3350 * bits/fpos.h: Move types for streamoff, streampos to..
3351 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3352 * config/c_io_libio.h: ...here.
3353 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3354 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3355 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3356 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3357 abstract out bits in ios_base.
3358 * bits/ios_base.h: Re-macrofy.
3359 * src/basic_file.cc : Rename, move to
3360 * config/c_io_libio.cc: Here.
3361 * config/c_io_libio.h: New file. Include libio.
3362 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3363 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3364 * configure: Regenerate.
3365 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3366 (generated_headers): Add c++io.h
3367 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3368 underlying "C" io library.
3369 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3370 GLIBCPP_ENABLE_CSTDIO.
3371
3372 * configure.in: Add configure bits for cross compiling non-newlib
3373 targets. .
3374 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3375 target, as we assume g++ support is not the limiting factor.
3376 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3377 * configure: Regenerate.
3378
3379 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3380
3381 * Makefile.am (INTERFACE): Define.
3382 * Makefile.in: Regenerate.
3383 * libio/ChangeLog: Add entry.
3384
3385 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3386
3387 * docs/install.html: Update install directions.
3388
3389 * docs/status.html: Fix sidebar to be consistent.
3390 * docs/thanks.html: Same.
3391 * docs/links.html: Same.
3392 * docs/mail.html: Same.
3393 * docs/download.html: Same.
3394
3395 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3396 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3397 however, in the ctype_char_members.cc fail (for instance.)
3398 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3399 that do not have wchar_t enabled.
3400 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3401 Same here.
3402 * testsuite/27_io/iostream_objects.cc: And here.
3403
3404 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3405 default CONFIG_NM.
3406
3407 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3408 Tom Tromey <tromey@cygnus.com>
3409
3410 * configure.in: Manually add MULTISUBDIR.
3411 * configure: Regenerate.
3412 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3413 "Eww" hacks to get multilib installs working correctly.
3414 ($(headers): Test for MULTISUBDIR before installing.
3415 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3416 have configure hack it in.
3417 * Makefile.in: Regenerate.
3418 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3419 Add enabling bits for native Cygwin ctypes, and other newlib-based
3420 Oses.
3421
3422 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3423
3424 * mkc++config (OUT_H): Remove EOF in cygwin.
3425 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3426
3427 Tom Tromey <tromey@cygnus.com>
3428 * src/Makefile.am: Tweaks for installing multilibs.
3429
3430 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3431
3432 * src/Makefile.am:
3433 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3434 Add USE_LIBDIR bits here, not...
3435 * src/Makefile.in: Regenerate.
3436 * Makefile.am: ...here.
3437 * Makefile.in: Regenerate.
3438
3439 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3440
3441 * acinclude.m4 (LIBS): Fix typos.
3442 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3443 _GLIBCPP_BUGGY_COMPLEX for crosses.
3444 * src/Makefile.am (std_headers): Add libio.h as install include,
3445 as with _G_config.h
3446 * src/Makefile.in: Regenerate.
3447
3448 * mkcheck.in: Add bits to set CXX to cross compiler.
3449
3450 * src/complex_io.cc: Tweak.
3451 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3452 * configure: Regenerate.
3453
3454 * config/newlib/ctype.cc: Tweaks.
3455 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3456 not const char.
3457 * src/complex_io.cc (operator>>(istream, complex): Define out if
3458 BUGGY_COMPLEX.
3459
3460 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
3461
3462 * config/newlib/bits/ctype_base.h: Correct _S_table.
3463
3464 Reconfigure ctype support for "C" libraries that don't use arrays.
3465 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
3466 basic ctype<char> functionality.
3467 * src/locale.cc: Move host-specific ctype functions that are not
3468 inlines to config/*/ctype.cc files.
3469 (ctype<char>::do_tolower): For instance.
3470 (ctype<char>::do_toupper): For instance.
3471 (ctype<wchar_t>::do_tolower): For instance.
3472 (ctype<wchar_t>::do_toupper): For instance.
3473 * config/gnu-linux/ctype.cc: Modify.
3474 * config/default/ctype.cc: Modify.
3475 * config/newlib/ctype.cc: Modify.
3476 * config/solaris/solaris2.6/ctype.cc: Modify.
3477 * config/solaris/solaris2.7/ctype.cc: Modify.
3478
3479 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
3480 out-of-line.
3481 (ctype<char>::scan_is): Here too.
3482 (ctype<char>::scan_not): Here too.
3483 Move out of line defs to config/*/bits/ctype_specializations.h.
3484 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
3485 * config/default/bits/ctype_specializations.h: ...here. New file.
3486 * config/newlib/bits/ctype_specializations.h: ...here. New file.
3487 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
3488 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
3489 * src/Makefile.am (headers): Add ctype_specializations.h.
3490 * src/Makefile.in: Regenerate.
3491
3492 Aaron Weiss <weiss@clearway.com>
3493 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
3494 CONFIG_NM for Solaris builds.
3495 * Makefile.in: Regenerate.
3496
3497 * src/locale.cc: Tweak formatting.
3498
3499 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
3500
3501 Jim Parsons <parsons@clearway.com>
3502 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
3503 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
3504 gcount if eof.
3505 (readsome): Same.
3506
3507 Michel Decima <michel.decima@cnet.francetelecom.fr>
3508 * testsuite/27_io/streambuf.cc: Add test.
3509 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
3510 (xsputn): Same.
3511
3512 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
3513 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
3514 will work correctly, for instance.
3515 * src/Makefile.in: Regenerate.
3516
3517 * bits/locale_facets.h: Fix merge error.
3518 (num_put::put(unsigned long long): And here.
3519 * mknumeric_limits (trait_name): Same.
3520
3521 2000-02-15 Chip Salzenberg <chip@valinux.com>
3522
3523 Support 'configure --enable-long-long'.
3524 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
3525 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
3526 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
3527 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
3528 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
3529
3530 * aclocal.m4: Regenerate.
3531 * config.h.in: Regenerate.
3532 * configure: Regenerate.
3533
3534 2000-02-15 Chip Salzenberg <chip@valinux.com>
3535
3536 Improve (complete?) 'long long' support.
3537 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
3538 for {,unsigned} long long if the limits header declares them.
3539 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
3540 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
3541 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
3542 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
3543 (num_put<>::put(..., long long)): Likewise.
3544 (num_put<>::put(..., unsigned long long)): Likewise.
3545 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
3546 Templatize last parameter to support 'long long'.
3547 (num_put<>::put(...)): Call _S_format with new name.
3548 (num_put<>::put(..., long long)): Define.
3549 (num_put<>::put(..., unsigned long long)): Likewise.
3550 * src/locale-inst.cc (_S_format): Instantiate under new name.
3551
3552 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
3553
3554 * src/complex.cc (operator<<, operator>>): Moved from here...
3555 * src/complex_io.cc: ...to new file.
3556 (operator>>): Stub replaced by the real thing.
3557 * src/Makefile.am (sources): Inserted complex_io.cc.
3558 * src/Makefile.in: Regenerate.
3559 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
3560
3561 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
3562
3563 Add in ctype information for newlib "C" libraries.
3564 * config/newlib: New directory
3565 * config/newlib/bits/ctype_base.h: New file.
3566 * config/newlib/ctype.cc: New file.
3567
3568 * ctype/config/linux/*: Rename, move to...
3569 * ctype/config/gnu-linux/*: Here.
3570
3571 Finish off multilib work.
3572 * configure.in: Don't set CXX if not Canadian cross.
3573 * configure: Regenerate.
3574 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
3575 * aclocal.m4: Regenerate.
3576 * config.h.in: Regenerate.
3577
3578 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
3579 the top-level gcc directory now.
3580 * mkinstalldirs: Remove.
3581 * missing: Remove
3582 * ltconfig: Remove.
3583 * ltmain.sh: Remove.
3584 * config.guess: Remove.
3585 * config.sub: Remove.
3586
3587 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
3588
3589 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
3590 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
3591 * Makefile.in: Regenerate.
3592 * src/Makefile.am: Add multilib bits.
3593 * src/Makefile.in: Regenerate.
3594
3595 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
3596
3597 * configure.in: Clean, add some multilib support.
3598 * configure: Regenerate.
3599 * configure.host: New file.
3600
3601 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
3602 roll a new function, checks for presence of libio.
3603 GLIBCPP_CHECK_COMPILER_VERSION: Same.
3604 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
3605 GLIBCPP_CHECK_MATH_SUPPORT: Same.
3606 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
3607 GLIBCPP_CHECK_LIBIO: Same.
3608 GLIBCPP_CHECK_CTYPE: Same.
3609 * aclocal.m4: Regenerate.
3610 * config.h.in: Regenerate.
3611
3612 * Makefile.am: Tweaks.
3613 * Makefile.in: Regenerate.
3614
3615 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
3616
3617 * configure.in: Make outputing the libio/Makefile
3618 conditional. Haha, yeah right. Anyway, we instead do this thing
3619 where if libio is found, then we build a null library, as there is
3620 no point in duplicating the found libio.
3621 * Makefile.am: Tweak.
3622 * Makefile: Regenerate.
3623 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
3624 are happy happy happy.
3625 * libio/Makefile.am: Regenerate.
3626 * libio/gen-params: New file.
3627 * src/Makefile.am: Make libio.la non-conditional, as it is now a
3628 null library if it's not needed. At least we are being consistent,
3629 if not as elegant as we could be.
3630 * src/Makefile: Regenerate.
3631
3632 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
3633
3634 * Makefile.am (SUBDIRS): Add libio again.
3635 * Makefile.in: Regenerate.
3636 * configure.in (BUILD_LIBIO_INCLUDE): And here.
3637 (AC_OUTPUT): Generate libio/Makefile again.
3638 * configure: Regnerate.
3639 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
3640 libio.la is referring back to the libio subdir again.
3641 (LIBIO_INCLUDES): And here.
3642 * src/Makefile.in: Regenerate.
3643
3644 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3645
3646 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
3647
3648 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3649
3650 * bits/valarray_array.h (<bits/std_new.h>): #include.
3651 (__valarray_get_memory): New function.
3652 (__valarray_release_memory): Likewise.
3653 (__valarray_default_construct): New functions.
3654 (__valarray_fill_construct): New function.
3655 (__valarray_copy_construct): New funstions.
3656 (__valarray_destroy_elements): New function.
3657
3658 * bits/valarray_array.tcc (__valarray_copy_construct): New
3659 functions.
3660
3661 * bits/std_valarray.h (valarray<>::valarray): Use
3662 __valarray_get_memory and __valarray_fill_construct,
3663 __valarray_copy_construct, __valarray_default_construct to
3664 properly construct valarrays.
3665 (valarray<>::~valarray): Use __valarray_destroy_elements to
3666 destroy elements and __valarray_release_memory to return memory.
3667 (valarray<>::shift): Tweak.
3668 (valarray<>::cshift): Likewise.
3669 (valarray<>::resize): Robustify.
3670
3671 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
3672
3673 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
3674 * bits/limits_generic.h: New file, defaults.
3675 * src/limits_generic.cc: New file, defaults.
3676 * configure.in (LIBS): Run mknumeric_limits at configure time.
3677 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
3678 HAVE_LC_MESSAGES, tidy, clean, etc.
3679 * src/Makefile.am (geberated_sources): Remove.
3680
3681 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
3682 (_IO_off_t, _IO_ssize_t)
3683
3684 * src/complex.cc: Use glibc's <complex.h> if
3685 possible. . . apparently this was not being done before. Include
3686 tweaks.
3687 (abs): Enable cabs if it's around, instead of mycabs.
3688 * src/complexf.cc (FCT): Add global scope to match complex.cc.
3689 * src/complexl.cc (FCT): Same.
3690 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
3691 (libmath_la_SOURCES): And here.
3692 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
3693 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
3694 * math/complex-stub.h: Move c_log declarations into. . .
3695 * math/mathconf.h: Here. This is because glibc's <complex.h>
3696 declares cclog, not c_log. The case of the dueling standards. . .
3697 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
3698 * math/Makefile.am: Change.
3699 * math/nan.c (nan): Change signature.
3700 * math/mathconf.h (NAN): Same.
3701 * math/complex-stub.h (nan): And here.
3702
3703 * Makefile.am (rebuild-stamp): Remove libio and libio
3704 dependancies. Plan to take out libio subdir and just merge with
3705 libio in top level gcc directory. Of course, this assumes there is
3706 a libio in the top level directory (ie ../src_dir). This will
3707 probably change the way this library is configured by default.
3708 * libio/*: Remove.
3709
3710 2000-02-09 Chip Salzenberg <chip@valinux.com>
3711
3712 * localefwd.h (locale): Make public: facet, id, category.
3713
3714 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3715
3716 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
3717
3718 * acinclude.m4: Patch only once!
3719
3720 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3721
3722 * testsuite/26_numerics/buggy_complex.cc: New file.
3723
3724 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
3725
3726 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
3727 on the 1999-11-21 entries by Mumit Khan.
3728 * configure.in: Use.
3729 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
3730 * bits/std_complex.h: Use.
3731
3732 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
3733
3734 * stl/bits/stl_algobase.h: Add traits based dispatch for
3735 __normal_iterator in the copy_backward()algorithm
3736 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
3737 base() function.
3738
3739 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
3740
3741 * src/gen-num-limits.cc (signal_handler): Work around signal
3742 handling problem on Cygwin.
3743 Thanks to Chris Faylor <cgf@cygnus.com>.
3744
3745 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
3746
3747 * configure.in: Add (preliminary) support for cross compiles and
3748 multilibs.
3749 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
3750 compilation freaks on this.
3751 * configure: Regenerate.
3752 * src/Makefile.am: Add support for cross compiles.
3753 * src/Makefile: Regenerate.
3754 * Makefile.am: Add support for cross compiles.
3755 * Makefile.in: Regenerate.
3756
3757 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
3758
3759 * configure.in (LIBS): Remove unused subdirs.
3760 * configure: Regenerate.
3761 * Makefile.am (SUBDIRS): And here.
3762 * Makefile.in: Regenerate.
3763 * src/Makefile.am (sources): And here.
3764 * src/Makefile.in: Regenerate.
3765 * string/*: Remove.
3766 * amm1/*: Remove.
3767 * generic/*: Remove.
3768 * glibc/*: Remove.
3769 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
3770
3771 * libtool: Update to libtool-1.3.4.
3772 * ltconfig: Same
3773 * ltmain.sh: Same
3774 * config.sub: Same.
3775 * config.guess: Same.
3776
3777 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
3778 Alexandre Petit-Bianco <apbianco@cygnus.com>
3779
3780 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
3781 namespace instead of polluting global namespace with duplicate
3782 autoconf output.
3783 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
3784 here anymore. . .
3785 (AC_OUTPUT_COMMANDS): Make it here.
3786 * configure: Regenerate.
3787 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
3788 endif, as now we will add it manually.
3789 Move to this file. . .
3790 * bits/c++config.h: New file. Same as old c++config.h.in except
3791 the ending macro guard is now appended manually.
3792
3793 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
3794 * bits/std_cmath.h: Same here.
3795 * bits/std_cwchar.h: And here.
3796 * src/locale.cc: And here.
3797 * src/complexl.cc: And here.
3798 * math/mathconf.h: Change to include "config.h" instead of
3799 bits/c++config.h.
3800
3801 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
3802
3803 * configure.in: Add support for threads. Try a model closer to
3804 libjava, as hopefully if the thread bits are added carefully
3805 enough, the source code will not have gross hacks. Besides, the
3806 libstdc++-v2 model could be easily emulated without the necessity
3807 of linking files in (as currently done)--all that needs to be done
3808 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
3809 new. . . and see if we arrive at a more elegant solution.
3810 * configure: Regenerated.
3811 * config/threads-no.h: New file.
3812 * config/threads-posix.h: New file.
3813 * src/Makefile.am (myinstallheaders): Install c++threads.h.
3814 * src/Makefile.in: Regenerated.
3815
3816 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
3817
3818 META-QUESTION: Can we just make a "header.html" file and a
3819 "footer.html" and just include them in all the doc sub-pages. The
3820 duplication of the header info is kind of gross, and weak
3821 considering that if you change order or layout then all this stuff
3822 has to be changed in all the sub-files.
3823
3824 * docs/17_intro/contribute.html: Take out duplicate file info.
3825 * README: Should just contain a link to the docs/index.html
3826 page. Duplicate information removed.
3827 * docs/faq/index.html: Remove indexes into HOWTOS.
3828 * docs/17_intro/howto.html: Make intro and docs part more
3829 centralized. Move intro stuff to documentation.html.
3830 * docs/how.html: Tweak. Does this file need to exist? What calls it?
3831 * docs/README.html: Move documentation files to
3832 documentation.html. Should this file be renamed
3833 "config_and_install.html" as that is what is apparently covered
3834 here. . .
3835 * docs/install.html: Yes. New file, moved and renamed README.html.
3836 * docs/documentation.html: New file. This is the index file for
3837 the documentation.
3838 * docs/index.html: Edit sidebar order. Insert new link to new
3839 documentation spine, documentation.html.
3840
3841 2000-01-31 Scott Snyder <snyder@fnal.gov>
3842
3843 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
3844 we don't extract any characters.
3845 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
3846
3847 2000-01-31 Anders Widell <awl@hem.passagen.se>
3848
3849 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
3850 step is a multiple of the word size.
3851 (_M_do_right_shift): Same.
3852 * testsuite/23_containers/bitset_shift.cc: New file.
3853
3854 2000-01-31 Nathan Myers <ncm@zembu.com>
3855
3856 * README (Documentation): Add path info, fix typos.
3857
3858 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
3859
3860 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
3861 crazy group checking for numpunct, for real this time. At some
3862 point, the local variable __grp should probably get replaced a
3863 char array, or something a bit more lightweight.
3864 (num_get::do_get(bool)): Simplify. Don't set bool reference to
3865 parsed value unless err isn't failbit.
3866 (num_get::do_get(*)): Same, make consistent.
3867
3868 Nathan Myers <ncm@zembu.com>
3869 Jim Parsons <parsons@clearway.com>
3870 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
3871 more grouping tests, tweak, scold, wine.
3872
3873 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
3874
3875 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
3876 grouping tests.
3877 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
3878 grouping bugs. Only allow thousands_sep if _M_use_groupings is
3879 true.
3880
3881 via <llewelly@198.dsl.xmission.com>
3882 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
3883 out_of_range instead of range_error.
3884
3885 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3886
3887 * bits/std_iomanip.h (setw): Fix typo.
3888
3889 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
3890
3891 * testsuite/27_io/istream_extractor_arith.cc: Fix.
3892 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
3893 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
3894
3895 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
3896
3897 * docs/README.html: Reformat, more installation instructions.
3898 * docs/gccrebuild.html: New file.
3899 * docs/faq/index.html: Update for new testsuite output filenames.
3900 * docs/faq/index.txt: Regenerate.
3901
3902 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
3903
3904 * Makefile.am (rebuild-stamp, all-local): New targets.
3905 * Makefile.in: Regenerated.
3906 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
3907 * aclocal.m4: Regenerated.
3908 * configure.in: Call new macro. Also do some sanity checks
3909 for combinations of --enable's that may not make sense.
3910 * configure: Regenerated.
3911
3912 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
3913
3914 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
3915 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
3916 correctly for hex-formatted input.
3917
3918 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
3919 eofbit instead of eofbit | failbit.
3920 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
3921 ifstreams now are opened or'd with ios_base::in (as is correct).
3922 * bits/fstream.tcc (filebuf::seekoff): Simplify.
3923 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
3924
3925 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
3926
3927 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
3928 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
3929 (misleading) code.
3930 (__basic_file::filepos_valid): Same.
3931 (__basic_file::filepos_beg): Same.
3932 (__baseic_file::get_fileno): New function.
3933 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
3934 feedback from LWG 49.
3935 * src/ios.cc: Move definition here.
3936 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
3937
3938 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
3939 output part of internal buffer based on string size, so that
3940 _M_out_end is set consistently with filebufs. Correct comments.
3941 * bits/sstream.tcc (stringbuf::overflow): Update here too.
3942 * testsuite/27_io/stringbuf.cc: Changes.
3943
3944 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
3945
3946 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
3947 not buffer size.
3948 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
3949
3950 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
3951 (ofstream::open): Add ios_base::out to openmode.
3952
3953 * bits/locale_facets.tcc (_M_extract): Have consistency between
3954 istream::sentry and extractors, where failbit | eofbit is
3955 set. Don't change this, but instead change. . (do some formatting
3956 tweaks.)
3957 * bits/istream.tcc (istream::sentry): Only set eofbit.
3958
3959 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
3960
3961 * testsuite/27_io/istringstream_members.cc: New file.
3962
3963 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
3964
3965 * bits/istream.tcc (istream::sentry): Flush.
3966
3967 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
3968 * configure: Regenerate.
3969 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
3970 that make clean will not delete it.
3971 * src/Makefile: Regenerate.
3972
3973 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
3974
3975 * mkcheck.in: Use host-specific invocation of size(1);
3976 GNU binutils isn't necessarily there (more's the pity).
3977
3978 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
3979
3980 * configure.in (LIBS): Better tests for solaris2.6.
3981 * configure: Regenerate.
3982
3983 <vakatov@ncbi.nlm.nih.gov>
3984 * bits/std_sstream.h: As per libstdc++20.
3985
3986 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
3987
3988 Break out configuration on solaris.
3989 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
3990 * config/solaris/ctype.cc: Delete and move to proper version.
3991 * config/solaris/bits: Same.
3992 * config/solaris/solaris2.5: Add this directory, with subdir bits
3993 and file ctype.cc. Probably doesn't work.
3994 * config/solaris/solaris2.6: Same.
3995 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
3996
3997 * Makefile.am: Change paths to mkcheck.
3998 * Makefile: Regenerate.
3999 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4000 * configure: Regenerate.
4001 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4002
4003 * mkcheck: Now autogenerated by configure and renamed. . .
4004 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4005 Have longer-style dates.
4006 Raja R Harinath <harinath@cs.umn.edu>
4007 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4008
4009 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4010 general documentation need to be organized around each other, not
4011 fight against each other. . .
4012
4013 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4014 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4015
4016 * README: Add a note referring to README.html.
4017 * docs/README.html: New file from Nicolai.
4018 * docs/faq/index.html: Move "how to get a copy" to here.
4019 * docs/gentop/footchunk.html: Update.
4020 * docs/gentop/headchunk.html: New links according to
4021 bkoz's idea for "How to..." stuff.
4022 * docs/gentop/thanks: Actually put people here.
4023 * docs/download.html: Regenerated.
4024 * docs/index.html, docs/links.html, docs/mail.html,
4025 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4026 * docs/how.html: Ditto. (This file should go away soon.)
4027
4028 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4029
4030 * docs/gentop/status: Add snapshot version column, update
4031 for Solaris 7.
4032 * docs/status.html: Regenerated.
4033
4034 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4035
4036 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4037 from installation FAQ, and specify location of text files.
4038 * docs/faq/index.txt: Regenerated.
4039
4040 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4041
4042 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4043 * docs/download.html: Regenerated.
4044
4045 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4046
4047 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4048 clean up various links.
4049 * docs/faq/index.txt: Regenerated.
4050 * docs/gentop/gentop: Smarter regeneration script.
4051 * docs/gentop/{head,foot}chunk.html: Updated with new
4052 contributors link and mod date.
4053 * docs/gentop/index: Snapshot relase date.
4054 * docs/gentop/thanks: New contributors page added.
4055 * docs/{download,how,index,links,mail,status,thanks}.html:
4056 Regenerated from gentop; thanks.html created.
4057
4058 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4059
4060 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4061 * docs/index.html: Add correct information.
4062
4063 * config/irix: New directory.
4064 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4065 * config/irix/bits/ctype_base.h: And here.
4066
4067 * config/aix: New directory.
4068 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4069 * config/aix/bits/ctype_base.h: And here.
4070
4071 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4072
4073 * bits/basic_string.h: Add special case handling for integral
4074 "iterators".
4075 * bits/std_string.h: include type_traits.h
4076 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4077
4078 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4079
4080 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4081 _M_*_end now.
4082 * bits/std_fstream.h (sync): And here.
4083 * testsuite/27_io/filebuf.cc: Revisions.
4084 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4085 at the end of the file.
4086 * testsuite/27_io/filebuf-3.tst: Correct.
4087
4088 1999-12-21 Phil Edwards <pedwards@jaj.com>
4089
4090 * docs/gentop/index: Hold off on .7 announcement date.
4091 * docs/index.html: Regenerate.
4092
4093 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4094
4095 * bits/std_fstream.h (sync): Move _M_file->sync() to
4096 _M_really_overflow().
4097 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4098 as to get the _M_file->sync action, which forces the external
4099 buffer to update itself.
4100 (underflow): Same here.
4101
4102 1999-12-21 Phil Edwards <pedwards@jaj.com>
4103
4104 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4105 * acconfig.h: ...to here.
4106 * config.h.in: Regenerate from aclocal.
4107 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4108 * aclocal.m4: Regenerate from acinclude.
4109 * configure.in: Use ENABLE macros here.
4110 * configure: Regenerate.
4111 * src/Makefile.am: Use results from ENABLE macros.
4112 * src/Makefile.in: Regenerate.
4113
4114 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4115
4116 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4117 check" and not "make check-install." Temporarily hack in linux
4118 support.
4119
4120 * bits/std_streambuf.h: Tweaks.
4121 * bits/streambuf.tcc (xsgetn): Tweaks.
4122 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4123 * bits/fstream.tcc (filebuf::underflow): Simplify.
4124 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4125 checks for read position precisely implement the standard.
4126 * bits/basic_file.h (filepos_cur): Base this on _offset.
4127 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4128 * testsuite/27_io/filebuf.cc: Tweak.
4129
4130 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4131
4132 * docs/17_intro/RELEASE-NOTES: Fix typos.
4133
4134 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4135 out platform-specific bits.
4136 * config/default/ctype.cc: And here.
4137 * config/defaults/bits/ctype_base.h: And here.
4138 * config/linux/ctype.cc: And here.
4139 * config/linux/bits/ctype_base.h (ctype_base): And here.
4140 * config/solaris/bits/ctype_base.h (ctype_base): Add
4141 __to_type. Comment, as it looks like this is for solaris2.6 and
4142 above: solaris2.5.1 doesn't seem to have the same definitions.
4143 * config/solaris/ctype.cc: And here.
4144
4145 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4146 Ulrich Drepper <drepper@cygnus.com>
4147
4148 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4149
4150 * src/locale.cc: Take out platform-specific hacks.
4151 * config/linux/ctype.cc: Put here.
4152 * config/solaris/ctype.cc: Put here.
4153 * config/default/ctype.cc: Put here.
4154
4155 * bits/locale_facets.h: Take out platform-specific hacks.
4156 * config/linux/bits/ctype_base.h: Put here.
4157 * config/solaris/bits/ctype_base.h: Put here.
4158 * config/default/bits/ctype_base.h: Put here.
4159
4160 * configure.in: Bump version.
4161 Add tests for top-level config directory.
4162 * configure: Regenerated.
4163 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4164 * src/Makefile: Regenerate.
4165
4166 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4167 Ulrich Drepper <drepper@cygnus.com>
4168
4169 * bits/locale_facets.h: Hack in solaris support.
4170 * src/locale.cc: Here too.
4171
4172 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4173
4174 * docs/17_intro/TODO: Update
4175 * docs/17_intro/RELEASE-NOTES (New): Update.
4176
4177 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4178
4179 * bits/c++config.h.in (__GLIBCPP__): Bump.
4180 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4181 * docs/17_intro/TODO: Update.
4182
4183 * bits/locale_facets.h: Touch this too.
4184 * bits/localefwd.h: Add typedefs for loooooong vector names.
4185 * bits/locale_facets.tcc (locale::operator()): Need parens.
4186 (has_facet): Simplify.
4187 * src/locale-inst.cc: Add instantiations.
4188 * src/locale.cc: Tweaks.
4189
4190 * bits/std_streambuf.h: Move indeterminates into. .
4191 * bits/std_fstream.h: Here.
4192 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4193 streams.
4194 * bits/sstream.tcc: Very minor formatting tweaks.
4195 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4196 input buffer, set _M_buf to offset.
4197 * bits/istream.tcc (std): Tweaks.
4198 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4199 include fstream.
4200 * testsuite/27_io/filebuf.cc: Tweaks.
4201
4202 1999-12-17 Phil Edwards <pedwards@jaj.com>
4203
4204 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4205 * configure: Regenerate.
4206 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4207 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4208 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4209
4210 1999-12-17 Phil Edwards <pedwards@jaj.com>
4211
4212 * docs/21_strings/stringtok_std_h.txt: New algorithm
4213 suggested by Chris King.
4214 * docs/21_strings/howto.html: Link to new version.
4215
4216 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4217
4218 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4219 operator+.
4220 * docs/17_intro/TODO: Update.
4221
4222 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4223
4224 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4225 * docs/gentop/gentop: Ditto.
4226 * docs/gentop/headchunk.html: Ditto.
4227 * docs/*.html: Regenerated from gentop.
4228 * docs/*/howto.html: Updated as test.
4229 * docs/faq/index.html: Updated, fixed CRLFs.
4230 * docs/faq/index.txt: Regenerated.
4231
4232 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4233
4234 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4235
4236 * bits/std_complex.h
4237 (complex<float>::complex(const complex<double>&),
4238 complex<float>::complex(const complex<long double>&)): Define.
4239
4240 * docs/17_intro/TODO: Update.
4241
4242 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4243
4244 * bits/istream.tcc (seekg): Don't set _M_gcount.
4245 (tellg): Same.
4246 * bits/fstream.tcc (filebuf::underflow): Re-sync
4247 external byte sequence's input buffer only. . .
4248 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4249 tellg, seekg and filebufs.
4250 (test05): Same for stringbufs.
4251 * testsuite/27_io/istream_unformatted-2.tst: New file.
4252 * testsuite/27_io/istream_unformatted-1.tst: New file.
4253 * testsuite/27_io/istream_unformatted-1.txt: New file.
4254 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4255 output file.
4256
4257 1999-12-13 Phil Edwards <pedwards@jaj.com>
4258
4259 * docs/gentop/*: New directory, containing bits for the homepages.
4260 * docs/*.html: Regenerated from gentop.
4261 * docs/*/*.html: Entries added and regenerated.
4262
4263 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4264
4265 Efforts to get -O2 to work with -Winline -Werrors.
4266 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4267 _Tp&): Remove inline declaration, as cannot be inlined and
4268 -Winline -Werror complains. An interesting question is why this
4269 cannot be inlined, as I can see no real reason to disqualify it.
4270 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4271 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4272
4273 * docs/17_intro/TODO: Update.
4274
4275 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4276
4277 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4278 fstream.tcc.
4279 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4280 the resultant position.
4281 * bits/fstream.tcc (seekoff): Explicitly set return value to
4282 resultant external byte sequence position, not value returned from
4283 _M_file->seekoff. Need to make
4284 (seekpos): New definition.
4285
4286 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4287 just istream. Necessary, or else tellg will give an invalid stream
4288 position, but seekg will return a valid stream position, which is
4289 not groovy: see testcase addition.
4290 * bits/ostream.tcc (seekp): Same.
4291
4292 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4293 * bits/sstream.tcc: Tweaks.
4294 * bits/locale_facets.tcc: Tweaks.
4295 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4296 Re-write in a way that is easier for the inliner to work with.
4297 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4298
4299 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4300
4301 * bits/locale_facets.tcc: Tweaks.
4302 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4303 from declaration.
4304 * bits/localefwd.h: And here.
4305 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4306 * bits/ostream.tcc: Put here.
4307
4308 Frank Ch. Eigler <fche@cygnus.com>
4309 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4310
4311 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4312
4313 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4314 in and out buffers update independantly.
4315
4316 * bits/basic_ios.h: Minor formatting.
4317 * bits/fstream.tcc (std): Fix indentation.
4318
4319 1999-12-08 Chip Salzenberg <chip@valinux.com>
4320
4321 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4322 after corresponding eof() functions, so they're easier for the
4323 compiler to inline.
4324 * bits/locale_facets.h (money_base::__default_pattern): Move
4325 static variable out of inline functions.
4326 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4327 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4328
4329 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4330
4331 * bits/std_fstream.h (filebuf::open): Tweak.
4332 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4333 * bits/std_ios.h: Minor tweaks for headers.
4334
4335 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4336
4337 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4338 * src/string-inst.cc: Add guards . . .
4339 * src/misc-inst.cc: And here.
4340 * bits/std_sstream.h: And here.
4341 * bits/std_fstream.h: And here.
4342 * bits/std_streambuf.h: And here.
4343 * bits/std_istream.h: And here.
4344 * bits/std_ostream.h: And here.
4345
4346 1999-12-06 Scott Snyder <snyder@fnal.gov>
4347
4348 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4349 case.
4350 (basic_istream::readsome): And here as well.
4351 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4352 read().
4353
4354 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4355
4356 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4357 necessarily an `int'.
4358
4359 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4360
4361 * mknumeric_limits: Don't use $CXXFLAGS when building
4362 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4363 generally instructs the compiler not to emit template
4364 instantiations and we end up with undefined symbols. Sigh.
4365
4366 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4367
4368 * bits/locale_facets.tcc: Tweak.
4369 (_S_format_long): Adjust showpos formatting for hex and oct.
4370 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4371 and oct by formatting as unsigned.
4372 (operator<<(int)): Same here.
4373 * bits/ostream.tcc (operator<<(long)): Same.
4374 (operator<<(long long)): Same.
4375 (_S_pad_char): Actually treat ios_base::internal as something
4376 worth doing correctly. Remove const designation on ios argument.
4377 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4378 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4379
4380 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4381
4382 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4383
4384 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4385
4386 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4387
4388 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4389 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4390 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4391 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4392 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4393 unused argument.
4394 (ostream::operator<<(_CharT)): Fix.
4395
4396 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4397 see if this will increase compile speed.
4398 * bits/std_ostream.h: Likewise. . .
4399 * bits/std_istream.h: And here.
4400 * bits/std_fstream.h: And here.
4401 * src/misc-inst.cc: Add relevant header file includes for
4402 instantiation purposes.
4403 * src/string-inst.cc: And here.
4404 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4405
4406 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4407
4408 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4409 * bits/istream.tcc (get(streambuf)): More fixes.
4410 (istream::ignore): Get specific about numeric_limits<int>::max()
4411 requirements.
4412
4413 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4414 (filebuf::close): Same.
4415 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4416
4417 1999-12-01 Phil Edwards <pedwards@jaj.com>
4418
4419 * mkcheck: Support for compilation/execution timing.
4420 * testsuite/printnow.c: New file.
4421
4422 1999-12-01 Phil Edwards <pedwards@jaj.com>
4423
4424 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4425 * configure.in: Test for presence of wchar.h before testing
4426 for any of its features.
4427 * configure: Regenerate.
4428
4429 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4430
4431 Preliminary istream validations complete.
4432 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4433 formatting more consistent. Removal of if-statements inside of for
4434 loops.
4435 (ignore): Fix.
4436 (get): Same.
4437 (putback): Same.
4438 * bits/std_istream.h: Same.
4439 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4440 * testsuite/27_io/stringbuf.cc: Tweak.
4441 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4442
4443 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4444 failbit on failure, as per 27.6.2.5.2.
4445
4446 * stl/bits/std_vector.h: Allow bool specializations. Should move
4447 ext/std_bvector to bits, not ext, maybe.
4448
4449 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4450
4451 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4452 * configure: Regenerate.
4453
4454 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4455
4456 * bits/istream.tcc (get(streambuf, char)): Fix.
4457 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4458
4459 1999-11-29 Scott Snyder <snyder@fnal.gov>
4460
4461 * bits/basic_string.h (append(const _Char*, size_type)): The
4462 length of the appended string is given exactly by the second arg,
4463 regardless of the data in the character array.
4464 * bits/string.tcc (basic_string(const _CharT*, size_type, const
4465 _Alloc&)): Likewise.
4466 * testsuite/21_strings/append.cc (test01): Remove erroneous test
4467 of basic_string::append.
4468
4469 1999-11-29 Chip Salzenberg <chip@valinux.com>
4470
4471 * Makefile.in: Tweaks for CXXFLAGS.
4472 * */Makefile.in: Same.
4473
4474 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4475
4476 * conficd bgure.in: Check for wide character support.
4477 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
4478 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
4479 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
4480
4481 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4482
4483 * acinclude.m4: Fix typo.
4484 * src/complex.cc: Fix macro line continuation.
4485
4486 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
4487
4488 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
4489 string literals in format, as used in locale-facets.tcc.
4490
4491 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
4492
4493 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4494 * bits/istream.tcc (istream::get): Extract to argument minus one.
4495 Various tweaks and fixes.
4496
4497 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
4498
4499 * bits/locale_facets.tcc: Workaround for compiler crash on
4500 ix86-*-mingw32.
4501
4502 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
4503
4504 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
4505 * configure.in: Use.
4506 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
4507 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
4508 * bits/std_complex.h: Use.
4509 * src/complex.cc: Use.
4510
4511 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
4512
4513 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
4514 * testsuite/21_strings/inserters_extractors.cc: Likewise.
4515 * testsuite/22_locale/ctype.cc: Likewise.
4516 * testsuite/23_containers/multiset.cc: Likewise.
4517 * testsuite/23_containers/vector_ctor.cc: Likewise.
4518 * testsuite/26_numerics/binary_closure.cc: Likewise.
4519 * testsuite/27_io/fpos.cc: Likewise.
4520 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
4521 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
4522 * testsuite/27_io/istream_extractor_char.cc: Likewise.
4523 * testsuite/27_io/istream_extractor_other.cc: Likewise.
4524 * testsuite/27_io/istream_sentry.cc: Likewise.
4525 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
4526 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
4527 * testsuite/27_io/streambuf.cc: Likewise.
4528 * testsuite/27_io/stringstream.cc: Likewise.
4529
4530 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4531
4532 * bits/valarray_meta.h: Don't forget to define tanh
4533
4534 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
4535
4536 * src/stl-inst.cc: Use typedef to refer to iterator
4537 * stl/bits/stl_algobase.h: Add traits based dispatch for
4538 __normal_iterator in the copy()algorithm
4539 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
4540
4541 1999-11-18 Kevin Ediger <kediger@licor.com>
4542
4543 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
4544 constructors for locale::_Impl exception safe.
4545
4546 1999-11-18 Scott Snyder <snyder@fnal.gov>
4547
4548 * stl/bits/stl_queue.h: The C++ standard gives the default for the
4549 _Sequence template argument of priority_queue<> as vector<>, not
4550 deque<>.
4551
4552 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
4553
4554 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
4555 parameter.
4556 * bits/sstream.tcc: Adjust here too.
4557
4558 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
4559
4560 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
4561 * bits/istream.tcc (operator>>): Replace iostate(0) with
4562 iostate(ios_base::goodbit), which is the same thing, but hopefully
4563 a bit clearer.
4564 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
4565 libraries issue list 17.
4566 (do_gets): Don't set goodbit explicitly, instead only set on
4567 failures as good bit is the default setting.
4568 * bits/ios_base.h (setf): Set correctly.
4569 * bits/fstream.tcc: Tweak.
4570 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
4571 in|out bufs that are empty. . .
4572 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
4573
4574 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
4575
4576 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
4577 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
4578 Add comments "all about _M_buf."
4579 (setg): Set _M_mode.
4580
4581 1999-11-16 Kevin Ediger <kediger@licor.com>
4582
4583 * bits/locale_facets.tcc (_S_build_float_format): New function.
4584 (_S_output_float): New function.
4585 (num_put::do_put(double)): Use 'em.
4586 (num_put::do_put(long double)): Use 'em.
4587 * testsuite/27_io/ostream_inserter_arith.cc: New file.
4588
4589 1999-11-15 Scott Snyder <snyder@fnal.gov>
4590
4591 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
4592 match how libio is calling us.
4593 * src/basic_file.cc (sys_seek): Likewise.
4594 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
4595
4596 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
4597
4598 * docs/17_intro/contribute.html: Add link to assignment form.
4599 * docs/17_intro/libstdc++-assign.txt: New file.
4600
4601 * mkcheck (TESTS_FILE): Move a copy of test files as well as
4602 output files.
4603
4604 * bits/std_streambuf.h (_M_buf_bump): New function.
4605 * bits/streambuf.tcc: Mods to support _M_buf_bump.
4606 (xsputn): Here. Also add checks for output valid.
4607 (xsgetn): Add checks for input valid.
4608 (sputc): Here.
4609 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
4610 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
4611 Set _M_out_end to variable-length-end.
4612 * bits/sstream.tcc (overflow): Use _M_buf_bump.
4613 (seekpos): Same.
4614 (seekoff): Same.
4615 * bits/fstream.tcc (std): Tweak formatting.
4616 (filebuf::overflow): Simplify.
4617 (filebuf::showmanyc): Same.
4618 (filebuf::underflow): Same.
4619 * testsuite/27_io/filebuf.cc: Fix.
4620 * testsuite/27_io/ostream_inserter_other.cc: Fix.
4621 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
4622 * testsuite/27_io/stringbuf.cc: Tweak.
4623 * testsuite/27_io/streambuf.cc: Tweak.
4624 * testsuite/27_io/istream_extractor_other.cc: Fix.
4625
4626 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
4627
4628 * stl_deque.h: Use static_casts<size_type>(signed_type).
4629
4630 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
4631
4632 Cleanups for callbacks, more regression hunting. Remaining
4633 failures (1) due to last unresolved stringstream issues, not
4634 regressions per se.
4635 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
4636 killing 27_io/filebuf.cc tests. . . need another solution.
4637
4638 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
4639 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
4640
4641 * bits/basic_ios.h: Add cached facets here. UGH. The standard
4642 foils all attempts at a graceful, minimal implementation.
4643 * bits/basic_ios.tcc: Tweaks.
4644 * bits/istream.tcc: Fix.
4645 * bits/ostream.tcc: Fix.
4646 * bits/std_istream.h: Fix.
4647 * bits/std_ostream.h: Fix.
4648 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
4649 callbacks.
4650 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
4651 (_S_pad_numeric): Make comprehensible.
4652
4653 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
4654
4655 * bits/std_ostream.h: Add callbacks for _M_fnumput.
4656 (_S_ostream_fcache): New function.
4657 Move functions out-of-line.
4658 * bits/ostream.tcc: Put here.
4659
4660 * bits/std_istream.h: Add callbacks for _M_fnumget.
4661 (_S_istream_fcache): New function.
4662 Move functions out-of-line.
4663 * bits/istream.tcc: Put here.
4664
4665 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
4666 _M_call_callbacks(), as ios_base::imbue does this already.
4667 * src/ios.cc (register_callback): Clean.
4668 (_M_call_callbacks): Same.
4669 * bits/ios_base.h: Callback work.
4670 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
4671
4672 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
4673 Matthias Klose <doko@cs.tu-berlin.de>
4674
4675 * stl/ext/stl_rope.h: Fix initialization order.
4676
4677 1999-11-09 Scott Snyder <snyder@fnal.gov>
4678
4679 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
4680 _M_file->sync() so that redirection works correctly.
4681
4682 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
4683
4684 * bits/istream.tcc: Re-order.
4685 * bits/std_istream.h: Fix getline problems.
4686 * testsuite/27_io/istream_unformatted.cc: New tests.
4687
4688 Clean up regressions.
4689 * bits/std_sstream.h: Set initial stringbufs correctly.
4690
4691 1999-11-09 Scott Snyder <snyder@fnal.gov>
4692
4693 * stl_vector.h (_M_range_insert): Fix mixing pointers and
4694 vector::iterator.
4695 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
4696 tests.
4697
4698 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
4699
4700 * src/Makefile.am (CXXFLAGS): Add -Winline.
4701 * src/Makefile.in: Regenerate.
4702
4703 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4704
4705 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
4706 building meta-expressions don't forget to take the contained
4707 closures.
4708
4709 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
4710
4711 * configure: Regenerate.
4712
4713 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4714
4715 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
4716 syntax.
4717 * bits/valarray_meta.h (min): Likewise.
4718 * bits/valarray_meta.h (max): Likewise.
4719
4720 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
4721
4722 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
4723 * bits/std_streambuf.h (_S_copy_streambufs): New function.
4724 * bits/streambuf.tcc: Define.
4725 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
4726 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
4727 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
4728 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
4729
4730 * bits/basic_string.h: Explicitly cast npos to unsigned type,
4731 reported by Richard Atterer.
4732 * bits/char_traits.h: For consistency's sake, here too.
4733
4734 * configure.in: Bump version to 2.90.7.
4735
4736 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
4737
4738 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
4739 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
4740 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
4741 (xsgetn): Same.
4742 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
4743 writing into buffer.
4744 (seekoff): Same.
4745
4746 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4747
4748 * bits/valarray_array.h (__valarray_sum): New function.
4749 * bits/valarray_array.h (__valarray_product): Same.
4750
4751 * bits/std_valarray.h (valarray<T>::product): Comment out.
4752 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
4753 instead of accumulate.
4754
4755 * src/valarray-inst.cc: Remove explicit intantiation of
4756 class multiplies<size_t>, accumulate, valarray<size_t>::product.
4757 * src/valarray-inst.cc (__valarray_product): Instantiate
4758 explicitly.
4759 * src/valarray-inst.cc (__valarray_product(const
4760 valarray<size_t>&)): New function.
4761 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
4762 valarray<size_t>::product. Use __valarray_product instead.
4763
4764
4765 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
4766
4767 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
4768 (_S_pad_char): New function. Not done: ios_base::internal.
4769 * bits/ostream.tcc: Clean for above.
4770 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
4771 specialization that was commented out, as ostreams now have to
4772 correctly deal with padding.
4773 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
4774
4775 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
4776 from mailing list. This is a bug, and should be fixed.
4777 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
4778
4779 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
4780
4781 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
4782 to avoid conflict with gcc name mangling.
4783 * stl/bits/stl_algo.h (__transform): Same.
4784
4785 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
4786
4787 * bits/ios_base.h: Change argument names.
4788 * docs/17_intro/BADNAMES: Add __opr.
4789
4790 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4791
4792 Work on compilation slowdowns from 10-5 to 10-12, which are
4793 related to the _Callback_list inlining/merge-ifcation, which is
4794 still a pending issue, but this stuff is necessary cleanup anyway.
4795
4796 * src/ios.cc: Re-arrange.
4797 * bits/ios_base.h: Tweak.
4798 * bits/basic_ios.tcc: Move out of line definitions here, move
4799 small out-of-line definitions inline.
4800 * bits/basic_ios.h: From here.
4801
4802 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
4803 * bits/std_streambuf.h: From here.
4804
4805 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
4806
4807 * testsuite/27_io/istream_extractor_char.cc: Add tests.
4808 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
4809 * bits/istream.tcc (operator>>(istream&, string&): Remove
4810 vestigial issspace hacks and use ctype::is instead.
4811 (getline): Remove unnecessary loops, fortify and pasteurize.
4812 (ws): Same.
4813
4814 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
4815
4816 * bits/istream.tcc (operator>>): Tweak.
4817 * bits/std_istream.h: Fix according to library issues list 68.
4818 Add typedefs.
4819
4820 * bits/locale_facets.h: Fix table_size to be non-zero.
4821
4822 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
4823
4824 * src/basic_file.cc: ifdef instead of comment for binary mode
4825
4826 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
4827
4828 * bits/std_sstream.h: Stringbuf initialization based on actual,
4829 not allocated, size.
4830 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
4831 case.
4832
4833 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
4834
4835 * testsuite/26_numerics/c_math.cc (test03): Tweak.
4836 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
4837 sentry change.
4838 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
4839
4840 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
4841
4842 * bits/std_istream.h: Tweaks.
4843 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
4844 as per issues list addition--set failbit, eof on empty buffers.
4845 * testsuite/27_io/istream_sentry.cc: New file.
4846
4847 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
4848
4849 * bits/std_cstdio.h: Remove Solaris hacks.
4850
4851 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
4852
4853 * docs/index.html: Fix minor typos and tweaks.
4854 * docs/17_intro/contribute.html: Ditto.
4855 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
4856 thread safety and binary I/O, links to external sites.
4857 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
4858 and MT.
4859
4860 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
4861
4862 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
4863 ::fabs(double) rather than ::abs(int).
4864
4865 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
4866
4867 * bits/std_streambuf.h: Fix minor blip--should explicitly return
4868 *gptr(), not the result of underflow.
4869 (pbackfail): Conform to default behavior.
4870 (overflow): Same.
4871 * bits/streambuf.tcc: Add out-of-line streambuf members.
4872 (xsputn): Tweak.
4873 (xsgetn): Tweak.
4874 * testsuite/27_io/streambuf.cc: New file.
4875 * testsuite/27_io/filebuf.cc: Correct test.
4876
4877 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
4878
4879 * bits/std_cmath.h: Correctly cast int to double.
4880 * testsuite/26_numerics/c_math.cc: Add test.
4881
4882 * mknumeric_limits (OUT_C): Tweaks.
4883 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
4884 trying to instantiate type_traits<wchar_t>.
4885 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
4886 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
4887 * configure: Regenerate.
4888
4889 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
4890
4891 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
4892 (streambuf::xsputn): Put in break.
4893 Aiming for parity between these two (mostly) similar functions.
4894 Need to re-write tests.
4895
4896 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
4897 Make data members protected, not private.
4898 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
4899 ios_base.h. As called only once, collapse into . . .
4900 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
4901 (basic_ios::clear): Throw ios_base::failure on occasion.
4902 (basic_ios::exceptions): Fix.
4903 * testsuite/27_io/ios_members.cc (test02): Add tests.
4904
4905 * bits/fpos.h: Default initialize.
4906 * testsuite/27_io/fpos.cc (test03): Add test.
4907
4908 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
4909
4910 * src/basic_file.cc: Fix open modes.
4911
4912 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4913
4914 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
4915
4916 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
4917
4918 * bits/streambuf.tcc: Yea. Fix this for real.
4919 * testsuite/27_io/ostream_inserter_other.cc: Add file.
4920 * src/Makefile.*: Regenerate.
4921
4922 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
4923
4924 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
4925 files so that stdtof and strtold will be declared. Some hacks
4926 already exits in bits/std_cctype.h -- these should all be removed
4927 at a later date.
4928 * bits/locale_facets.tcc: Add cstring.h include.
4929 _S_format_long: Use long, not int.
4930 Add std_limits.h include, for numeric_limits.
4931 * testsuite/27_io/istream.cc: Make instantiations work when using
4932 -fhonor-std.
4933 * testsuite/27_io/ostream.cc: Same.
4934
4935 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
4936
4937 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
4938 a reference. Same for operators == and !=.
4939 * testsuite/27_io/fpos.cc: Add tests.
4940
4941 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4942
4943 * bits/valarray_array.h: Fix typo.
4944
4945 * mknumeric_limits: Make sure we are regenerating things from
4946 scratch. Otherwise things get redefined. Not good.
4947
4948 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
4949
4950 * bits/std_ostream.h: Fix typo.
4951 * bits/std_istream.h: Same.
4952 * bits/std_iomanip.h: Same.
4953
4954 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
4955 ostream, as happens with underflow anyway.
4956 * testsuite/27_io/istream.cc (main): New file.
4957 * testsuite/27_io/ostream.cc (main): New file.
4958 * testsuite/27_io/istream_unformatted.cc: Add tests.
4959
4960 * src/Makefile.am (headers): Add new file.
4961 * src/Makefile.in (headers): Regenerated.
4962
4963 * bits/basic_ios.h: Remove local-related files.
4964 * bits/basic_ios.tcc: New file, add locale-related items.
4965 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
4966 * testsuite/27_io/ios_members_static.cc: Change to
4967 * testsuite/27_io/ios_base_members_static.cc: This.
4968 * testsuite/27_io/ios_members.cc: New file.
4969 * testsuite/27_io/stdios_basefield_manip: Change to
4970 * testsuite/27_io/ios_manip_basefield.cc: This.
4971 * testsuite/27_io/stdios_fmtflags_manip: Change to
4972 * testsuite/27_io/ios_manip_fmtflags.cc: This.
4973
4974 * bits/fpos.h: Fix discarding qualifiers on this when
4975 using _M_position with a const fpos.
4976 * bits/std_iosfwd.h: Tweak.
4977 * testsuite/27_io/fpos.cc: New file.
4978
4979 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4980
4981 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
4982 * bits/ostream.tcc: Tweak.
4983 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
4984 Add new regressions.
4985
4986 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
4987
4988 * bits/basic_ios.h: Inline, tweak.
4989 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
4990 pass back accurate return value to basic_filebuf::overflow.
4991 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
4992 This fixes sstream problems reported in libstdc++/9, but screws up
4993 filebufs. That solution is pending.
4994
4995 1999-09-15 Vadim Egorov <egorovv@1c.ru>
4996
4997 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
4998 zero count puts.
4999 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5000
5001 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5002
5003 * bits/c++config.h.in: Add emacs hints.
5004
5005 * stl/bits/stl_range_errors.h: Don't define here, for now define
5006 in stdexcept.cc along with string inlines __length_error, etc.
5007 * src/stdexcept.cc: Define here.
5008 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5009 at(size_t) will be declared/defined.
5010 (__STL_THREADS): Fix mess surrounding use of this, enable.
5011
5012 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5013
5014 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5015 * src/localename.cc: Tweak formatting, fix assignment to
5016 const compiler errors.
5017
5018 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5019
5020 * acconfig.h: Add absf, cosf.
5021 * configure.in (use_builtin_sinf): Same.
5022 * configure: Regenerate.
5023 * bits/std_cmath.h: Add mess of defines.
5024 * testsuite/26_numerics/modf_float.cc: Change to
5025 * testsuite/26_numerics/c_math.cc: This.
5026
5027 * src/locale.cc: Change.
5028 * bits/locale_facets.h: Fix.
5029 * testsuite/22_locale/ctype.cc: Add temporary tests.
5030
5031 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5032
5033 * bits/fpos.h: Test.
5034
5035 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5036 Fix database name for "libstdc++".
5037
5038 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5039
5040 * mknumeric_limits (numeric_limits): Add default definitions to
5041 member functions.
5042 * testsuite/18_support/numeric_limits.cc: New file.
5043
5044 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5045
5046 * bits/std_istream.h: Correct initialization.
5047 * bits/std_ostream.h: Likewise.
5048 * bits/std_sstream.h: Likewise.
5049 * bits/std_fstream.h: Likewise.
5050 * testsuite/27_io/stringstream.cc: Add test case.
5051
5052 * bits/std_sstream.h: Replace ____string_type with __string_type.
5053 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5054 * bits/std_ostream.h: Tweak dtor.
5055
5056 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5057
5058 * src/Makefile.am (CXXFLAGS): Add -O2.
5059 * src/Makefile.in: Likewise.
5060
5061 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5062 this breaks. . .
5063 * mknumeric_limits (numeric_limits): Uglify.
5064
5065 * bits/std_istream.h: Fix warnings.
5066 * bits/locale_facets.tcc: Collateral damage from
5067 char_traits<char>::int_type change.
5068
5069 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5070
5071 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5072
5073 * docs/index.html: Add mailing list form.
5074 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5075
5076 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5077
5078 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5079 if overflow successfully allocates more space.
5080 * bits/std_sstream.h: Adjust comments.
5081 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5082 before overflow forces a resize.
5083 * testsuite/27_io/ostream_inserter_char.cc: New file.
5084
5085 * bits/std_fstream.h: Remove declaration.
5086 * bits/fstream.tcc: Move uflow.
5087 * bits/std_streambuf.h: To here.
5088 * bits/streambuf.tcc: Make consistent.
5089
5090 * src/Makefile.am (WERROR): Enable.
5091 * src/Makefile.in: Regenerate.
5092 * bits/sbuf_iter.h: Tweak.
5093 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5094 Use unsigned int as char_traits<char>::int_type.
5095
5096 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5097 * testsuite/27_io/iostream_objects.cc: Terminate string.
5098 Move cin::operator>>(char*) test to extractor_char.cc.
5099 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5100 * bits/std_istream.h (basic_iostream): Make explicit definition
5101 for default ctor.
5102 * bits/std_sstream.h: Fix typos.
5103 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5104 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5105 initialized in a consistent manner, no matter if the underlying
5106 FILE/bit bucket is a tty or a text file or some other imaginary
5107 construct. This and setting _M_buf_size to 1 for cin allows
5108 istream::get(char) to work in a manner consistent with what others
5109 expect.
5110
5111 * docs/index.html: Link Stroustrup's C++ page.
5112
5113 1999-08-12 Michael Cook <cook@sightpath.com>
5114
5115 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5116 * bits/istream.tcc: ditto.
5117 * bits/sbuf_iter.h: ditto.
5118 * bits/std_istream.h: ditto.
5119 * src/Makefile.am: Add -Wall to CXXFLAGS.
5120 * src/Makefile.in: ditto.
5121
5122 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5123 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5124
5125 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5126 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5127
5128 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5129
5130 * testsuite/27_io/istream_unformatted.cc: New file.
5131
5132 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5133 elaborate tests for int types with noskipws.
5134
5135 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5136 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5137 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5138 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5139 * bits/istream.tcc: Fix operator>>(streambuf*).
5140
5141 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5142
5143 * docs/index.html: Remove references to egcs.
5144 * docs/17_intro/DESIGN: Same.
5145 * docs/17_intro/contribute.html: Same.
5146 * docs/17_intro/RELEASE-NOTES: Ditto.
5147 * docs/17_intro/howto.html: Same here.
5148
5149 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5150 * stl/bits/stl_vector.h (_M_insert_aux):
5151 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5152 decimal/floating point support.
5153 * bits/locale_facets.h: Change _M_extract prototype.
5154 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5155 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5156
5157 1999-08-10 Michael Cook <cook@sightpath.com>
5158
5159 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5160 * bits/ios_base.h: ditto.
5161 * bits/istream.tcc: ditto.
5162 * bits/locale_facets.h: ditto.
5163 * bits/locale_facets.tcc: ditto.
5164 * bits/std_streambuf.h: ditto.
5165 * src/basic_file.cc: ditto.
5166 * src/locale.cc: ditto.
5167 * src/localename.cc: ditto.
5168
5169 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5170
5171 * bits/std_iomanip.h: Inline.
5172
5173 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5174
5175 * bits/std_streambuf.h: Correct member initialization order.
5176 * src/ios.cc: Add definitions for ios_base data members.
5177
5178 1999-08-06 Phil Edwards <pedwards@ball.com>
5179
5180 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5181 * docs/faq/index.html: Ditto. Removed bugs sections that have
5182 been fixed for a long time... Lots of "egcs" references still
5183 exist.
5184 * docs/faq/index.txt: Regenerated.
5185
5186 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5187 Andreas Amann <amann@physik.tu-berlin.de>
5188
5189 * testsuite/26_numerics/binary_closure.cc (main): new test.
5190
5191 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5192
5193 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5194 segmentation fault.
5195
5196 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5197
5198 * docs/index.html (host): Put in testing status.
5199
5200 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5201
5202 * docs/index.html: Update for libstdc++-2.90.6 release.
5203 * docs/17_intro/RELEASE-NOTES (New): Update.
5204 * docs/17_intro/BUGS: Update.
5205 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5206 * README (file): Update.
5207
5208 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5209
5210 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5211 a target.
5212 ($(generated_headers)): Same.
5213 * src/gen-c++config.cc: Remove, rename to
5214 * bits/c++config.h.in: New file. Bump version number.
5215 * configure.in: Generate bits/c++config.h at configure time.
5216 * math/mathconf.h: include bits/c++config.h, not config.h.
5217
5218 * bits/std_cmath.h: Fix remaining link error for solaris shared
5219 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5220 being, as on Solaris this silently calls sinf, which does not
5221 exist.
5222
5223 * src/complex.cc: More tweaks.
5224
5225 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5226
5227 * src/complex.cc: Same.
5228 * math/complex-stub.h: Change.
5229 * math/c_log10*.c: Change back to clog10*.c.
5230
5231 * configure.in (NEED_C_LOG10): Delete.
5232 * configure: Regenerate.
5233 * math/Makefile.am: Change.
5234
5235 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5236
5237 * math/Makefile.am: Fix, for real.
5238 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5239 * math/clog.c: Move to c_log.c.
5240 * math/clog*: Ditto.
5241 * math/c_log10l.c (c_log10l): Change function name.
5242 * math/c_log10f.c (c_log10f): Change function name.
5243 * math/c_log10.c (c_log10): Change function name.
5244
5245 * math/complex-stub.h: Change to c_log* variants.
5246 * src/complex.cc: And here.
5247
5248 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5249
5250 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5251 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5252 sequence, just the output sequence.
5253 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5254 the original string, all others use complicated heuristic.
5255
5256 * src/complex.cc: Assume c_log10.
5257 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5258 symbols in shared libraries by making c_log/c_log10 part of the
5259 "must cmpile" sources. This may not work on solaris, must check.
5260
5261 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5262
5263 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5264 * bits/std_istream.h: Fix char extractors.
5265 * testsuite/27_io/istream_extractor_char.cc: Change.
5266 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5267
5268 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5269
5270 * bits/std_cctype.h: Fix for solaris2.6 builds.
5271
5272 * bits/istream.tcc: Fix, thanks Alfred.
5273 * bits/std_istream.h: Formatting changes.
5274
5275 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5276 _IO_cleanup will not be undefined.
5277 * libio/*: Regenerate.
5278
5279 * bits/basic_string.h: More namespace-safety stuff.
5280 * testsuite/27_io/istream_extractor_char.cc: Fix.
5281 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5282 * testsuite/27_io/iostream_objects.cc: Fix.
5283 * testsuite/27_io/ios_ctor.cc: Fix.
5284 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5285 * testsuite/27_io/istream_extractor_other.cc: New file.
5286
5287 * mkcheck (TESTS_FILE): Tweaks.
5288
5289 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5290
5291 * src/gen-c++config.cc: Note here, change version.
5292 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5293 * src/locale.cc: Used here.
5294 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5295
5296 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5297
5298 * bits/istream.tcc: Fix.
5299 * bits/std_istream.h: More changes to extractors.
5300
5301 * testsuite/27_io/istream_extractor_char.cc: More.
5302 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5303 error in testsuite construction.
5304
5305 * bits/std_istream.h: Partially revert.
5306 * bits/std_ostream.h: Same.
5307 * bits/std_sstream.h: Revert.
5308
5309 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5310
5311 * bits/std_sstream.h: Change initialization.
5312 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5313 * bits/std_istream.h: Same, also correct sentry args.
5314 * bits/istream.tcc: Add correct sentry args.
5315
5316 * testsuite/27_io/istream_extractor_char.cc: New file.
5317 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5318 name changes making me dizzy.
5319
5320 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5321 Benjamin Kosnik <bkoz@cygnus.com>
5322
5323 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5324 to libtool 1.3.3.
5325
5326 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5327
5328 * bits/std_complex.h: Tweak. Make the primary template class
5329 complex work with user-defined numerical types. Provide member
5330 definitions. Restructure.
5331 (class complex<float>): Uglify. Remove __value(). Rename __val
5332 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5333 private. Remove dependency on __value(). Fix various explicit
5334 specialization syntax. Declare a some functions friend. Now the
5335 implementation is nearly comforming.
5336 (class complex<double>): Likewise.
5337 (class complex<long double>): Likewise.
5338
5339 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5340 (sin, sinh, tan, than): Fix call to corresponding C9x function
5341 syntax.
5342
5343 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5344
5345 * bits/istream.tcc (ws): Fix error with failbit being set.
5346
5347 Disabled due to egcs/gcc-2_95 internal compiler errors.
5348 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5349 -fnew-exceptions. Compiling with namespaces enabled will now be
5350 the default.
5351 * mkcheck (CXX_FLAG): Same.
5352 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5353 * bits/std_cctype.h: Not enough to just define in namespace std if
5354 ctype-isms are macros. Need to also define in namespace std:: if
5355 the C functions are just plain functions.
5356
5357 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5358
5359 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5360
5361 * docs/18_support/howto.html: Start documentation. Need to keep
5362 track of the ongoing discussion in th LWG reflector.
5363
5364 * src/gen-num-limits.cc: Tweak.
5365 (class predicate): New class.
5366 (class value): Likewise.
5367 Make the whole machinery more flexible. Add comments.
5368
5369 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5370
5371 * bits/ios_base.h: Move state/exception functions into basic_ios.
5372 * bits/basic_ios.h: Same.
5373 * src/ios.cc: And here. Callbacks don't attempt to reset
5374 state now.
5375
5376 * bits/std_streambuf.h: Separate ios and streambuf locale data
5377 members and cached facets. Using this convention: _M_locale_buf for
5378 the streambuf-related classes, and _M_locale_ios for the ios
5379 hierarchy.
5380 * bits/fstream.tcc: And here.
5381 * bits/basic_ios.h: And here. Also, add cached ctype.
5382 * src/ios.cc: Ditto.
5383 * bits/ios_base.h: Ditto.
5384 * bits/std_istream.h: Use cached ctype facet.
5385 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5386 arraignment.
5387
5388 * testsuite/27_io/ios_ctor.cc: New file.
5389 * src/ios.cc: Move _M_state init to basic_ios::init().
5390 * bits/basic_ios.h: To here.
5391
5392 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5393 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5394 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5395 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5396 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5397
5398 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5399
5400 * src/ios.cc: Tweak initializations of standard iostream
5401 objects to closely match the standard. Tie cin/wcin, set flags on
5402 cerr/wcerr
5403 * bits/char_traits.h: Change from size_t to int_type, as per
5404 standard. As per wide streams.
5405 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5406 for caching a bunch of ctype info. For instance, ctype_base::space
5407 info needs to be stored somewhere, somehow.
5408 * bits/std_istream.h: Also here.
5409 * bits/std_ostream.h: Ditto.
5410 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5411 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5412 stream states.
5413
5414 * bits/istream.tcc (ws): Fix.
5415 * testsuite/27_io/istream_manip.cc: New file, test ws.
5416 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5417
5418 * bits/basic_string.h: Provide a specialized member function for
5419 _S_find<char> using strchr.
5420 * src/string-inst.cc: Put specializations here.
5421 * bits/string.tcc: Small fix for find, remove typo.
5422 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5423 find bug. . .
5424
5425 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5426
5427 * bits/basic_ios.h: Put into basic_ios namespace.
5428 Tweak widen/narrow.
5429
5430 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5431
5432 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5433 adjust _M_*_cur pointers inside the function, so callee doesn't
5434 have to adjust.
5435 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5436
5437 * mkcheck: Tweak. Add execution time field, even though it is not
5438 implemented yet. Simplify pass/fail status notation.
5439
5440 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5441
5442 * configure.in: Check for float.h and underscored version of
5443 math functions.
5444 * acconfig.h: Add @BOTTOM@ section for handling underscored
5445 math functions.
5446 * configure: Regenerate.
5447 * config.h.in: Regenerate.
5448 * math/mathconf.h (float.h): Include conditionally.
5449 (M_PI): Define conditionally.
5450 (INFINITE_P): Define for Mingw.
5451 * bits/locale_facets.tcc: Workaround for compiler crash on
5452 ix86-*-mingw32.
5453 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5454 * src/locale.cc (bits/std_istream.h): Include.
5455 (bits/std_ostream.h): Likewise.
5456
5457 1999-07-18 Phil Edwards <pedwards@ball.com>
5458
5459 * docs/faq/index.html: Updated __black_count notes, fixed typos.
5460 * docs/faq/index.txt: Regenerated.
5461
5462 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5463
5464 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
5465
5466 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
5467 newly-allocated buffer.
5468 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
5469 overflow condition bits.
5470
5471 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
5472
5473 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
5474 _M_buf_size to initial _M_string.size(), even though for
5475 ostringstreams it is pretty pointless. It's necessary for
5476 istringstreams.
5477 (stringbuf::str()): Adjust.
5478 (stringbuf::str()): Adjust, call _M_init_stringbuf.
5479 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
5480 overflow's possible success.
5481 (streambuf::xsputn): Adjust.
5482
5483 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
5484 yesterday.
5485 * testsuite/27_io/stringbuf.cc: Tweak.
5486 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
5487 notes to myself.
5488 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
5489 with other constructor tests to. . .
5490 * testsuite/23_containers/vector_ctor.cc: New file.
5491
5492 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
5493
5494 * testsuite/*: Changes to make the testsuit compilable with
5495 -fhonor-std. Contains direct qualification of library names with
5496 std::.
5497
5498 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5499
5500 * bits/streambuf.tcc: Tweaks.
5501 (streambuf::xsputn): Optimize, fix for sstreams.
5502 (streambuf::xsgetn): Same.
5503 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
5504 correctly, handle overflow/reallocate conditions correctly.
5505 * bits/std_sstream.h: Fix typo.
5506 _M_init_stringbuf(): Fix _M_buf_size initialization.
5507 (stringbuf::str()): Construct return string if output has occurred.
5508
5509 * bits/basic_string.h: Fix typo from yesterday's patch.
5510
5511 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5512
5513 * bits/string.tcc: _M_mutate - clear _M_state again.
5514 * bits/basic_string.h: In the three functions that return
5515 an iterator set _M_state to -1 before return.
5516 Also optimized two cases of operator+.
5517
5518 1999-07-12 Phil Edwards <pedwards@ball.com>
5519
5520 * docs/index.html: Expand egcs-1.1.2 notes/links.
5521 * docs/faq/index.html: And here. Add links to LWG issues-list.
5522 * docs/faq/index.txt: Regenerate. (lynx rocks)
5523 * docs/21_strings/howto.html: Fix notes on case conversion.
5524 * docs/21_strings/stringtok_h.txt: Goodly spelling...
5525 * docs/23_containers/howto.html: Stub for bitmasks.
5526 * docs/27_io/howto.html: Add section on buffering, stub binary.
5527
5528 1999-07-12 Nathan Myers <ncm@cantrip.org>
5529
5530 * stl/bits/stl_tree.h (__black_count): Optimize.
5531
5532 1999-07-09 Vadim Egorov <egorovv@1c.ru>
5533
5534 * src/basic_file.cc: Cleanup in __basic_file destructor.
5535
5536 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
5537
5538 * bits/std_streambuf.h: Changes. . .
5539 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
5540 basic_streambuf, to be used for both filebufs and streambufs.
5541 * bits/std_fstream.h (_M_init_filebuf): New function.
5542 Take out specialized xsputn, put into basic_streambuf.
5543 * bits/fstream.tcc: Define, call from both ctors.
5544 * bits/std_sstream.h (_M_init_stringbuf): New function.
5545 * bits/sstream.tcc: Tweak.
5546
5547 * docs/27_io/iostreams_heirarchy.pdf: New file.
5548
5549 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
5550 acceptance. Wooo-hoo!
5551
5552 * bits/char_traits.h: Change int_type for char_traits general
5553 template, so that 21_strings/capacity.cc will compile.
5554 * testsuite/21_strings/capacity.cc: Add operators.
5555
5556 * bits/string.tcc (string::compare): Clean up, re-implement.
5557 * testsuite/21_strings/compare.cc: Tweak.
5558
5559 * bits/string.tcc (string:_M_mutate): Keep leaked value in
5560 _M_state, which means that whenever begin() or end() has been
5561 called, the string is unshareable, period. By doing this, insert
5562 and erase member functions that return iterators can remain
5563 footloose and fancy free.
5564 * testsuite/21_strings/invariants.cc: Update.
5565
5566 * bits/basic_string.h (string::append): Fix self-referential
5567 problems, ie when "this" is also an argument to a member function.
5568 * bits/string.tcc: Tweak, same.
5569 * testsuite/21_strings/append.cc: New file.
5570
5571 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
5572
5573 * bits/char_traits.h: Tweaks.
5574 * bits/basic_string.h: Tweak.
5575 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
5576
5577 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
5578
5579 * bits/std_streambuf.h: Absorb/acquire data members previously
5580 working in basic_filebuf.
5581 * bits/streambuf.tcc: Tweaks.
5582 * bits/fstream.tcc: Adjust.
5583 * bits/std_fstream.h: Move and rename the following functions:
5584 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
5585 now declared and defined in the base class, basic_streambuf. Oh
5586 fuck it, move data members _M_buf, and _M_buf_size into
5587 basic_streambuf as well.
5588
5589 * bits/ostream.tcc: Tweak.
5590 * bits/locale_facets.tcc: Fix typo in comments.
5591
5592 * testsuite/21_strings/inserters_extractors.cc (test01): Change
5593 state from good to not good, as eof() is set.
5594
5595 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
5596
5597 * bits/char_traits.h (char_traits::compare). Fix.
5598
5599 * config.guess, config.sub: Update.
5600
5601 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5602
5603 * bits/string.tcc: Check the __res_arg for a length error.
5604
5605 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
5606
5607 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
5608 and related functions into basic_streambuf, from basic_filebuf to
5609 take care of ostringstreams and empty strings. So that's groovy,
5610 or will be groovy.
5611 * bits/std_istream.h: Tweaks.
5612 * bits/istream.tcc: Implement ws, getline, operator>> for string.
5613 * bits/std_ostream.h: And here.
5614 * bits/ostream.tcc: Same.
5615 * src/misc-inst.cc: Add instantiations for ws.
5616
5617 * src/string-inst.cc: Add instantiations for inserters and
5618 extractors (operators << and >>, getline).
5619
5620 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
5621 a testcase for getline and operators << and >>. Ostream tests are
5622 failing right now, but istream tests should work. . .
5623
5624 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
5625 * bits/std_sstream.h: Revert.
5626
5627 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
5628 istream, ostream, streambuf, fstream, sstream].cc: New files.
5629
5630 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5631
5632 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
5633 and string::end().
5634
5635 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
5636 specializations for _CharT*, iterator and const_iterator.
5637 * src/string-inst.cc: Remove explicit instantiation, as
5638 now explicitly specialized.
5639
5640 * bits/basic_string.h: Add a size_type parameter to _M_clone with
5641 a default value set to 0.
5642 * bits/string.tcc: In _M_clone by the call of _S_create add the
5643 value of the new parameter to _M_length. In reserve check
5644 _M_state and use _M_clone instead of _M_mutate.
5645
5646 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
5647
5648 * bits/basic_string.h: Fix _S_max_size.
5649 * bits/string.tcc: Add def here.
5650 * testsuite/21_strings/insert.cc: Fix.
5651
5652 * bits/sbuf_iter.h: Remove detritus.
5653 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
5654
5655 * src/locale-inst.cc: Elaborate iterator/locale instantiations
5656 to resolve alpha-osf4 build problems.
5657
5658 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
5659
5660 * bits/string.tcc: Fix signed/unsigned issues in compares.
5661 * stl/bits/stl_deque.h: And here.
5662 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
5663
5664 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5665
5666 * bits/string.tcc: New implementation and interface of _M_mutate.
5667 Adapt the change in all functions that call _M_mutate.
5668 * bits/basic_string.h: And here.
5669
5670 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
5671
5672 * testsuite/21_strings/capacity.cc (test01): Fix.
5673
5674 1999-06-29 Phil Edwards <pedwards@ball.com>
5675
5676 * mknumeric_limits: Exit script if gen-num-limits isn't built.
5677
5678 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
5679
5680 * stl/bits/stl_vector.h: Fix.
5681 * testsuite/23_containers/vector_cons.cc: Add.
5682
5683 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5684
5685 * mknumeric_limits (LDFLAGS): fix.
5686
5687 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5688
5689 * mknumeric_limits (LDFLAGS): set it according to the system.
5690
5691 * math/mathconf.h (NAN): Check whether host is running under
5692 Cygwin and make the appropriate definition.
5693 * math/complex-stub.h (nan): protect declaration.
5694
5695 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
5696
5697 * bits/sbuf_iter.h: Rename internal data structure to prevent
5698 confusion between basic_ios and istreambuf_iterators internal
5699 basic_streambuf data member.
5700 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
5701
5702 * bits/basic_string.h: Remove conditionals, add input_iterator
5703 version of S_construct again.
5704 * bits/string.tcc: Same.
5705 * src/string-inst.cc: And add explicit instantiation here.
5706
5707 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
5708 and __USE_GNU macro defines, as single __USE_GNU use leading to
5709 confusion on glibc2.1 systems (ie, RedHat 6.0).
5710
5711 * src/Makefile.am (headers): Add std_utility to installed headers.
5712
5713 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
5714
5715 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
5716
5717 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
5718
5719 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
5720
5721 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5722
5723 * src/gen-c++config.cc (_GLIBCPP_*): Change all
5724 macros to include _GLIBCPP as a distinct namespace.
5725 * bits/*: And here.
5726 * src/*: And here.
5727
5728 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
5729 * bits/basic_string.h: Remove __get_c_string.
5730 * src/stdexcept.cc: Define ctor here.
5731 * bits/ios_base.h: And fix ios_base::failure as well.
5732 * src/ios.cc: Define here.
5733
5734 * bits/std_streambuf.h: Add a private copy ctor and assignment
5735 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
5736 * bits/ios_base.h: And here too.
5737
5738 * bits/basic_string.h: Tweak.
5739 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
5740
5741 * src/valarray.cc: Rename to. . .
5742 * src/valarray-inst.cc: This.
5743 * src/Makefile.am (sources): Change here.
5744 * src/Makefile.in: Regenerated.
5745
5746 1999-06-24 Vadim Egorov <egorovv@1c.ru>
5747
5748 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
5749 allocated size
5750
5751 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5752 Tom Tromey <tromey@cygnus.com>
5753
5754 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
5755 Use AM_CONDITIONAL to get us out of this jam. .
5756 * libio/Makefile.am: Same.
5757 * */Makefile: Regenerated.
5758
5759 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5760 John Potter <jpotter@eagle.lhup.edu>
5761
5762 * stl/bits/stl_tree.h (insert_equal): Fix.
5763 * testsuite/23_containers/multiset.cc: New file.
5764
5765 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
5766
5767 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
5768 this works correctly on glibc-2 systems. This should allow
5769 simplified linking on these systems, and successful linking on Red
5770 Hat 6.0 systems.
5771 * configure, Makefile: Regenerate.
5772
5773 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
5774
5775 * testsuite/ext: New directory.
5776 * testsuite/ext/headers.cc: New file.
5777
5778 1999-06-23 Vadim Egorov <egorovv@1c.ru>
5779
5780 * stl/ext/hash_set: include missing headers
5781 * stl/ext/hash_map: Same
5782 * stl/ext/slist: Same
5783
5784 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5785
5786 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
5787
5788 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
5789
5790 * src/Makefile.am (sources): Regenerate.
5791 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
5792 are run.
5793
5794 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
5795
5796 * src/string-inst.cc: Change _S_construct signature, to
5797 track requested allocation size versus valid input iterator range.
5798 * bits/basic_string.h: Here too.
5799 * bits/string.tcc: And here.
5800
5801 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
5802
5803 * mkcheck (LOG_FILE): Correctly append errors.
5804
5805 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
5806
5807 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
5808 to clarify differences between basic_string::_M_data() calls and
5809 _Rep::_M_data() calls.
5810 * bits/std_string.h: Fix.
5811 Put in check for out_of_range in substr.
5812 * bits/string.tcc: Fix for _S_find.
5813
5814 * testsuite/21_strings/compare.cc: Add tests.
5815 * testsuite/21_strings/find.cc: New file.
5816 * testsuite/21_strings/substr: New file.
5817 * testsuite/21_strings/replace.cc: New file.
5818
5819 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5820
5821 * bits/valarray_array.h: __restrict__ify pointers.
5822
5823 * bits/std_valarray.h: Tweak.
5824 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
5825
5826 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
5827
5828 * bits/gslice.h: Tweak.
5829 (class gslice::_Indexer): new class.
5830 (gslice::gslice(const gslice&)): implement copy-ctor to support
5831 ref-counted index.
5832 (gslice::operator=(const gslice&)): support ref-counted index.
5833 (gslice::_M_convert_to_index): delete.
5834
5835 * src/valarray.cc: New file.
5836 (__gslice_to_index): turn a gslice into a valarray<size_t>
5837 (ctor gslice::_Indexer::_Indexer): implement.
5838
5839 * src/Makefile.am (sources): add valarray.cc
5840 * src/Makefile.in: regenerate.
5841
5842 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
5843
5844 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
5845 ctor): Put in a const_cast.
5846
5847 * testsuite/21_strings/invariants.cc: New file.
5848
5849 * testsuite/21_strings/insert.cc: Add exception handling bits.
5850 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
5851
5852 * src/wstring-inst.cc: Add c++config.h include.
5853
5854 * bits/basic_string.h: Fix const operator[] for size == pos.
5855 Add _M_leak for rbegin, non-const.
5856 Add _M_leak for rend, non-const.
5857 Make member function at standards conformant.
5858 Add _S_terminal to _Rep for operator[] const, add this into
5859 c_str() as well.
5860 * bits/string.tcc: Add static member definition here,
5861 temporarily.
5862
5863 * testsuite/21_strings/element_access.cc: Add tests.
5864
5865 1999-06-08 Vadim Egorov <egorovv@1c.ru>
5866
5867 * bits/fstream.tcc (_M_really_overflow): Fixed size of
5868 conversion buffer.
5869
5870 1999-06-08 Phil Edwards <pedwards@ball.com>
5871
5872 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
5873 caused when __testinit is true.
5874 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
5875 using rdbuf()->sputn rather than _M_fnumput->put.
5876
5877 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5878
5879 * testsuite/23_containers/bitset_ctor.cc: New file.
5880 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
5881
5882 1999-06-08 Phil Edwards <pedwards@ball.com>
5883
5884 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
5885
5886 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5887
5888 * testsuite/21_strings/element_access.cc: Finish off these tests.
5889 * testsuite/21_strings/insert.cc (test01): Uncomment.
5890 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
5891 * bits/basic_string.h: Tweak, okay, fix for real this time.
5892 * bits/string.tcc: Same.
5893 * bits/char_traits.h: Tweak.
5894
5895 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5896
5897 * bits/std_cmath.h: Example of how to use the generated macro.
5898 * acconfig.h: Add macro for sinf here.
5899 * configure.in (LIBS): Add test for builtin math function sinf.
5900 * configure: Regenerated.
5901
5902 * bits/basic_string.h: Fix _S_max_size.
5903
5904 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5905
5906 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
5907 Remove _S_construct signature for forward_iterator_tag and
5908 input_iterator_tag.
5909 Clean _M_fold.
5910 * src/string-inst.cc: Same, tweaks.
5911 * bits/string.tcc: Same, tweaks.
5912
5913 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
5914 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
5915 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
5916 Gaby.
5917
5918 * src/locale.cc: Final separation for char/wchar_t bits.
5919
5920 1999-06-05 Phil Edwards <pedwards@ball.com>
5921
5922 * docs/index.html: Added link to book upon request'n'agreement.
5923 * docs/23_containers/wrappers_h.txt: Added.
5924 * docs/{23_containers,27_io}/howto.html: Added sections.
5925
5926 * bits/std_fstream.h: Tweak.
5927
5928 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5929
5930 * src/ios.cc: Same here.
5931 * bits/std_iosfwd.h: More wchar_t defines.
5932
5933 * bits/basic_string.h: Tweaks.
5934 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
5935 when doing error checking, as per LWG defect #83.
5936
5937 * src/gen-c++config.cc: Fix comment.
5938
5939 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
5940 assignments, dtors.
5941 * testsuite/21_strings/element_access.cc: New file, checks for
5942 operator[], at(...).
5943 * testsuite/21_strings/insert.cc: New file, tests string::insert.
5944 * testsuite/21_strings/char_traits.cc: New file, tests
5945 for char_traits<char>.
5946
5947 * bits/utility.h: Remove, again.
5948 * src/Makefile.am (std_headers): Remove utility.h.
5949 * src/Makefile.in (std_headers): Regenerate.
5950
5951 Alfred Minarik <a8601248@unet.univie.ac.at>
5952 * bits/basic_string.h: Move __out_of_range and __length_error into
5953 namespace std.
5954
5955 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5956
5957 * testsuite/26_numerics/modf_float.cc: New file.
5958
5959 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
5960 typo: use ::modff, not ::modf.
5961
5962 1999-06-03 Vadim Egorov <egorovv@1c.ru>
5963
5964 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
5965 allocation error
5966 * testsuite/21_strings/capacity.cc (test01): Test.
5967
5968 1999-06-03 Phil Edwards <pedwards@ball.com>
5969
5970 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
5971 unused variables to within #if 0 blocks to do the same.
5972 * bits/std_fstream.h: Fix typos (one prevents compilation).
5973
5974 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
5975
5976 * src/wstring-inst.cc: Fix.
5977
5978 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
5979
5980 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
5981 * stl/bits/stl_string_fwd.h: Same.
5982 * bits/locale_facets.h: Same.
5983 * bits/locale_facets.tcc: Same.
5984 * src/wstring-inst.cc: And here.
5985
5986 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
5987 problems on HPUX 10.20.
5988 * your-build-directory-here/bits/c++config.h: Just kidding, do it
5989 here as a temporary hack till the compiler/host problems get
5990 worked out.
5991
5992 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
5993 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
5994 converting "long double" to struct long_double. Probably should be
5995 done with one macro (HAVE_STRTOLD) at configure time.
5996
5997 * bits/std_cmath.h: Comment out pow(double, int) defintion as
5998 gives re-declaration under hpux10.20. Revert previous change, as
5999 kills linux/x86, solaris 2.7, hpux builds. These should be done
6000 using autoconf, see std_cctype.h and the solutions started in
6001 configure.in (see config.h for the generated file.)
6002
6003 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6004 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6005 defined.
6006
6007 * docs/index.html: Add some useful links.
6008 * docs/17_intro/contribute.html: Fix broken links.
6009
6010 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6011
6012 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6013 paths. The rest of the world should be able to run this script
6014 now.
6015
6016 * src/Makefile.am ($(generated_headers)): Remove comment.
6017 * Makefile*: Regenerate.
6018
6019 * bits/std_locale.h: Remove detritus.
6020 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6021 macro.
6022
6023 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6024
6025 * src/gen-c++config.cc: New file. Making c++config.h at configure
6026 time by catting this file (nee bits/config.h) with the build
6027 directories config.h. This is not a complete or perfect solution
6028 but is better than what was in place previously.
6029 * bits/c++config.h: Rename/move to above.
6030 * src/Makefile.am (headers): Remove c++config.h.
6031 (myinstallheaders). Add.
6032 * Makefile*: Regenerated.
6033
6034 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6035 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6036 declared only if not present in the host's wchar.h.
6037
6038 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6039
6040 * bits/std_cmath.h: Define out, for the moment. Linux has no
6041 __buitin_fsqrtl? Probably need some kind of configure trickery
6042 here as well.
6043
6044 * src/Makefile.*: Regenerate.
6045 * bits/c++config.h: Add config.h include.
6046
6047 * bits/std_cwchar.h: Remove remaining #error guard.
6048
6049 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6050
6051 * configure.in (LIBS): Replace previous effort for mbstate_t and
6052 strtold/strtof with this implementation.
6053
6054 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6055
6056 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6057 whenever possible.
6058
6059 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6060
6061 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6062 for determining mbstate_t differences across various hosts not
6063 finished.
6064
6065 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6066
6067 * bits/locale_facets.tcc: Change to ifdef.
6068
6069 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6070 * bits/std_fstream.h (filebuf::setbuf): Same.
6071
6072 * bits/std_istream.h: Add ws declaration.
6073 * bits/istream.tcc: Stub out definition.
6074
6075 * docs/index.html: Fix broken link for design.txt.
6076
6077 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6078 then set _G_NEED_MBSTATE_T.
6079 * configure: Regenerate.
6080 * bits/c++config.h: Move mbstate_t define.
6081 * bits/std_cwchar.h: To here.
6082
6083 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6084
6085 * bits/std_sstream.h:
6086 basic_stringbuf<>::basic_stringbuf: fix.
6087 basic_stringbuf<>::setbuf:
6088 remove the temporary __string_type object,
6089 remove the unnecessary dynymic_cast in the return value,
6090 change the type of the returned value from __streambuf_type*
6091 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6092
6093 1999-05-25 Phil Edwards <pedwards@ball.com>
6094
6095 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6096
6097 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6098
6099 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6100 in <math.h>. <cmath> still incomplete and incorrekt.
6101
6102 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6103
6104 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6105
6106 1999-05-23 Phil Edwards <pedwards@ball.com>
6107
6108 * docs/17_intro/howto.html: Added links to text docs,
6109 e.g., BUGS.
6110 * docs/21_strings/howto.html: Updated sections and links.
6111 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6112 * docs/faq/index.html: Updated what-works for sixth
6113 snapshot. Also a number of "internal" links have been
6114 fixed, now that the web pages are the docs directory...
6115 * docs/faq/index.txt: Regenerated.
6116
6117 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6118
6119 * bits/basic_string.h: Add Nathan's documentation on the string class.
6120
6121 * testsuite/27_io/ios_members_static.cc: New file, for testing
6122 ios_base::sync_with_stdio.
6123
6124 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6125
6126 * bits/std_locale.h: Simplify includes.
6127 * bits/loccore.h: Delete.
6128 * bits/localefwd.h: Renamed, trimmed.
6129 * bits/locfacets.h: Delete.
6130 * bits/locale_facets.h: Rename, expanded.
6131 * bits/loccore.tcc: Deleted.
6132 * bits/locfacets.tcc: Deleted.
6133 * bits/locale_facets.tcc: Resultant merge.
6134 * bits/std_fstream.h: Modify include.
6135 * bits/ostream.tcc: Same.
6136 * bits/istream.tcc: Same.
6137
6138 * src/locale-inst.cc: And here.
6139 * src/locale.cc: Ditto.
6140 * src/Makefile.am: Updated.
6141 * src/Makefile.in: Rengenerated.
6142
6143 * bits/std_istream.h: Move istream::sentry ctor definition.
6144 * bits/istream.tcc: Move istream::sentry ctor here.
6145 Add more detailed locale include here for ctype member functions.
6146 * bits/ostream.tcc (std): And here.
6147
6148 * bits/sbuf_iter.h: Include std_streambuf.h
6149
6150 * bits/locfacets.h: Start separating this into a localeimp.h file.
6151 * bits/loccore.h: Start separating this into a localefwd.h file.
6152 Add std_climits for CHAR_BIT.
6153
6154 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6155
6156 * bits/char_traits.h: Tweak.
6157
6158 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6159
6160 * bits/std_ostream.h: Remove c++config.h include.
6161 * bits/std_istream.h: Same.
6162 * bits/std_streambuf.h: Same.
6163 * bits/std_fstream.h: Same.
6164 * bits/std_sstream.h: And here.
6165
6166 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6167 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6168 * bits/fpos.h: Tweak, format.
6169
6170 * std/ciso646: New file.
6171 * bits/std_ciso646.h: New file.
6172 * src/Makefile.am (std_headers): Add ciso646.
6173 (headers): Add bits/std_ciso646.h.
6174 * src/Makefile.in: Regenerate.
6175 * testsuite/17_intro/header_ciso646.cc: New file, disable
6176 equivalance tests.
6177
6178 * bits/fpos.h: Remove libio.h include.
6179 * bits/basic_file.h: And here.
6180 * bits/std_ios.h: Put here.
6181
6182 * src/ios.cc: Simplify includes, tweak.
6183 * bits/std_ios.h: Simplify include order.
6184 * bits/ios_base.h: Modify ios_base::failure.
6185
6186 * stl/bits/std_numeric.h: Change include from stl_iterator to
6187 std_iterator.
6188
6189 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6190
6191 * std/iostream: Remove static member __ioint.
6192 * bits/std_iostream.h: Put here.
6193
6194 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6195 * stl/bits/stl_algobase.h: Same.
6196 * testsuite/27_io/iostream_objects.cc: Regression tests.
6197 * testsuite/27_io/hello.cc: Remove, subset of above.
6198
6199 1999-05-19 Phil Edwards <pedwards@ball.com>
6200
6201 * docs/index.html: Tweak, update.
6202
6203 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6204
6205 * docs/17_intro/RELEASE-NOTES: remove outdated
6206 documentation about numeric_limits. Correct CXXINCLUDE setting
6207 documentation.
6208
6209 1999-05-18 Phil Edwards <pedwards@ball.com>
6210
6211 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6212 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6213 27_io}/howto.html: Created, with some initial entries.
6214 * docs/faq/index.html: Fixed some links.
6215 * docs/faq/index.txt: Regenerated.
6216
6217 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6218
6219 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6220
6221 * docs/17_intro/RELEASE-NOTES: Update.
6222 * docs/index.html: Correct link to mailing list help page, update News.
6223 * docs/faq/index.html: Change fifth to sixth for snapshot.
6224
6225 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6226 install $(top_builddir)/bits/std_limits.h into
6227 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6228 Makefile.am changes.
6229 * *Makefile*: Regenerate using automake.
6230
6231 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6232 * testsuite/27_io/filebuf.cc: Same.
6233
6234 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6235
6236 * docs/17_intro/CHECKLIST: update.
6237 * docs/17_intro/TODO: update.
6238
6239 1999-05-17 Phil Edwards <pedwards@ball.com>
6240
6241 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6242 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6243 27_io}/howto.html: Created, with some initial entries.
6244 * docs/faq/index.html: Fixed some links.
6245 * docs/faq/index.txt: Regenerated.
6246
6247 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6248
6249 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6250 * Makefile.in*: Regenerate.
6251
6252 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6253
6254 * bits/std_streambuf.h: Same.
6255
6256 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6257 * bits/locfacets.h (std): Same.
6258 * bits/sstream.tcc: Same.
6259 * testsuite/27_io/stringstream.cc: Tweak.
6260
6261 * testsuite/27_io/filebuf.cc: Adjust.
6262 * testsuite/21_strings/capacity.cc (test01): Add more
6263 string::reserve tests.
6264
6265 * bits/c++config.h: Remove broken CCTYPE.
6266 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6267 sequestered topper implementation.
6268 * bits/std_cwctype.h: Same.
6269
6270 * bits/missing.h: Remove.
6271 * bits/std_locale.h: Remove missing.h include.
6272
6273 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6274
6275 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6276 INCLUDES: Add top_builddir.
6277 * src/Makefile.in: Regenerate.
6278
6279 * Makefile.am: Add check and check-install as new targets.
6280 * testsuite/make_check_libfree++: Move to. . .
6281 * mkcheck: Here.
6282 * configure.in: Tweak versions.
6283 * mknumeric_limits: Set paths correctly.
6284
6285 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6286
6287 * src/Makefile.in (myinstallheaders): add rule to install
6288 std_limits.h.
6289
6290 * bits/slice.h (class slice): don't const-qualify data members
6291 since the copy and assignment operator is implicitly used. The
6292 valarray specification is definitively a bad one.
6293
6294 * Makefile.in (generate-limits-sources): fix typo.
6295
6296 * docs/text/TODO: update.
6297 * docs/text/CHECKLIST: update.
6298
6299 * bits/gslice.h (gslice): fix bugglet.
6300 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6301 (lj) of size zero.
6302
6303 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6304 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6305 [Note: **/Makefile.in should be generated from the corresponding
6306 Makefile.am. The current situation is a litte chaotic. ]
6307
6308 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6309
6310 * mknumeric_limits: tweak.
6311
6312 * Makefile.in (all): add target generate-limits-sources.
6313 (generate-limits-sources): make a directory bits/ in top_builddir
6314 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6315 directly under $(top_builddir)/src. Remains to put the appropriate
6316 rule for installing std_limits.h.
6317
6318 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6319 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6320 now generated at build-time in the build directory
6321 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6322 * src/Makefile.am: reflect changes in src/Makefile.in
6323
6324 1999-05-12 Phil Edwards <pedwards@ball.com>
6325
6326 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6327 all but one empty entry. Add links for HOWTOs, but no files yet.
6328 (Corrected HOWTO links are for bkoz's new scheme.)
6329 * docs/faq/index.txt: Regenerated.
6330
6331 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6332
6333 * testsuite/17_intro/headers.cc: New file.
6334 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6335 * bits/std_cwctype.h: New file.
6336
6337 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6338
6339 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6340
6341 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6342 Check __USE_MALLOC before defining specializations containing
6343 __default_alloc_template.
6344 * src/stl-inst.cc: Here too.
6345
6346 * bits/basic_string.h: Change.
6347
6348 * testsuite/make_check_libfree++: More tweaks.
6349 * testsuite/21/capacity.cc: New file.
6350
6351 * src/string.cc: Rename to be consistent with other inst files.
6352 Rename to string-inst.cc.
6353 * src/string*.cc: Change include.
6354 * src/wstring.cc: Rename to wstring-inst.cc.
6355 * src/wstring*.cc: Ditto.
6356 * src/Makefile.in: Also here.
6357 * src/Makefile.am: Ditto.
6358
6359 * src/traits.cc: Remove.
6360 * src/wtraits.cc: Same.
6361
6362 Try a new way of organizing documentation, one with synchronicity
6363 between testsuites and docs subdirectories, and see who yelps.
6364 * docs/html: Remove, use chapter and subject specific directories
6365 instead of forcing things immediately into format of
6366 documentation.
6367 * docs/text: Same.
6368 * docs/image: Same.
6369 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6370 directory and sort by filename and extension.
6371 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6372 22_locale, 23_containers, 24_iterators, 25_algorithms,
6373 26_numerics, 27_io: Add.
6374 * docs/17_intro/*: Populate with all the text files. . .
6375 * docs/index.html: Construct.
6376
6377 * testsuite/*: Update with same names as the docs subdir.
6378 * testsuite/results: Where to stash conformance results for the
6379 different snapshots, so that progress/size/speed issues can be
6380 tracked over time.
6381
6382 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6383
6384 * src/string.cc: Add _S_copy_chars instantiation, as well as
6385 string::binary operators !=, ==, etc.
6386
6387 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6388 * src/Makefile.in (CXXFLAGS): Same here.
6389 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6390
6391 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6392
6393 * src/string.cc: Add missing member functions to instantiation list.
6394
6395 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6396
6397 * src/misc-inst.cc: Remove unused string instantiations.
6398
6399 * bits/string.tcc: Tweak, fix.
6400 * bits/basic_string.h: Format. Fix reported error with c_str().
6401
6402 * testsuite/make_check_libfree++: Tweak for shared builds.
6403 * testsuite/21/operations.cc: New file for testing c_str() etc.
6404
6405 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6406 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6407
6408 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6409 an iterator class. Delineate pointer versus iterator differences
6410 in implementation.
6411 * 23/vector_capacity.cc: New file, tests for above.
6412
6413 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6414
6415 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6416 'unsigned long'.
6417 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6418 generated by mknumeric_limits to the list. Now std_limits.h is
6419 basically working.
6420 * src/Makefile.in (generate-numeric-limits): new target to handle
6421 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6422 (all): add target generate-numeric-limits.
6423 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6424 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6425
6426 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6427
6428 Irix build issues.
6429 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6430 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6431 * bits/locfacts.h: Here.
6432
6433 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6434 Ulrich Drepper <drepper@cygnus.com>
6435
6436 Solaris build issues.
6437 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6438 _G_USE_STRTOLD.
6439
6440 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6441 float overloads to use the above macros. Account for the lack of
6442 strtold on some systems, and revert back to using sscanf.
6443
6444 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6445
6446 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6447 Use strtoul/strtoull for unsigned types. Check the ranges for
6448 short/unsigned short and if necessary for int/unsigned int.
6449
6450 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6451
6452 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6453 to generate bits/std_limits.h now, as the SGI std_limits.h is
6454 being depricated. Not done, but should be done immediately: need
6455 to make sure this script is run as part of the configuration
6456 process, because without it "make" in a configured build directory
6457 will fail. Also tweaked: added a space for float_round_style, and
6458 used static_cast of zero to default-initialize, which should be ok
6459 according to the standard. (see 8.5 p5 and 20.1.3).
6460 * mknumeric_limits (OUT_C): Need this for x86 long
6461 double extensions.
6462
6463 * bits/basic_file.h: Include libio.h, not libioP.h.
6464 * src/basic_file.cc: And add libioP.h include here, so that
6465 _IO_init, et. al are well-declared.
6466
6467 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
6468 headers, not source directory headers.
6469
6470 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
6471 for ext/*. Also add basic_file.h.
6472 * src/Makefile.in (headers): Same.
6473
6474 * bits/std_string.h: Reduce dependencies for faster
6475 pre-processing. Move istream and ostream specific defines into
6476 istream.tcc and ostream.tcc respectively.
6477 * bits/string.tcc: And here.
6478 * bits/basic_string.h: Move getline inline out-of-line, and to
6479 istream.tcc.
6480 * bits/istream.tcc: Move string::getline and operator>> here.
6481 * bits/ostream.tcc: And here too.
6482
6483 * bits/utility.h: Remove, as clashes with a standard header. Put
6484 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
6485 being, until this can be combined with SGI's approach.
6486 * bits/string.tcc: Add macros, as above.
6487 * bits/loccore.h: Add _Count_ones defines.
6488 * bits/std_string.h: And here too.
6489 * bits/std_locale.h: And here.
6490 * bits/std_ios.h: Take out include here.
6491 * src/Makefile.am (headers): Remove utility.h
6492 * src/Makefile.in (headers): Remove utility.h
6493
6494 * stl/bits/*: Update to SGI STL 3.20.
6495 * stl/ext/pthread_alloc: Delete this file.
6496
6497 1999-05-04 Phil Edwards <pedwards@ball.com>
6498
6499 * docs/faq/html/index.html: Add more entries
6500 * docs/faq/html/index.txt: regenerated.
6501
6502 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6503
6504 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
6505
6506 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
6507
6508 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
6509 from Ulrich and Nathan. Remove extraneous string class usage,
6510 tweak, clean, simplify and consolidate with a eye towards removing
6511 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
6512 Not done: dealing with leading zeros, wchar_t work.
6513 * bits/locfacets.h: And here too.
6514
6515 * doc: Remove.
6516
6517 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6518
6519 * docs/: add a FAQ.
6520 * docs/faq/: New directory.
6521 * docs/faq/html/: Likewise.
6522 * docs/faq/text/: Likewise.
6523 * docs/faq/html/index.html: New file.
6524 * docs/faq/html/index.txt: Likewise. Generated from
6525 docs/faq/html/index.html by lynx.
6526
6527 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
6528 Ryszard Kabatek and Branko Cibej
6529
6530 * bits/locfacets.tcc: Modify.
6531
6532 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
6533
6534 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
6535 conformant to 14882, wrap non-standard extensions with
6536 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
6537 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
6538
6539 * testsuite/27/istringstream_formatted.cc: Add tests.
6540
6541 * bits/locfacets.h: Remove cruft from _Format_cache, continue
6542 commenting, simplify.
6543 * bits/locfacets.tcc: Same.
6544
6545 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6546 * bits/locfacets.tcc (num_get::do_get):
6547 Fix the sscanf format parameter
6548 for long long 'll' (as in C9X) instead of 'l'.
6549 Fix the order of sscanf format parameters: "%dl" --> "%ld".
6550 Change the type of the local variable '__conv' from 'string'
6551 to 'const char*' and adapt the change.
6552
6553 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6554
6555 * bits/locfacets.h: Document _Format_cache, and name data members
6556 after the corresponding functions in numpunct. For instance:
6557 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
6558 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
6559 * bits/locfacets.tcc: Same.
6560
6561 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
6562 stop parsing--store for later analysis.
6563 * testsuite/27/istringstream_formatted.cc: Add cases.
6564
6565 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6566
6567 * bits/valarray_meta.h: tweak.
6568 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
6569 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
6570 happy -- boggus warning.
6571 * bits/std_valarray.h: Fix.
6572 (valarray<T>::shift): Fix. Update comment.
6573 (valarray<T>::cshift): Fix.
6574
6575 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
6576
6577 * testsuite/27filebuf-2.txt: Delete.
6578 * testsuite/27/filebuf.cc: Put output files directly into the
6579 correct subdirectory (27).
6580
6581 Alexandre Petit-Bianco <apbianco@cygnus.com>
6582 * testsuite/make_check_libfree++: Check generated (*.txt) file
6583 against stored results file (*.tst).
6584
6585 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
6586
6587 * bits/locfacets.tcc: Fix.
6588
6589 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
6590 (filebuf::overflow): Simplify.
6591 (filebuf::xsputn): Correctly handle indeterminate state.
6592
6593 * testsuite/27/istringstream_formatted.cc: Tweak.
6594 * testsuite/27/filebuf.cc: Tweak.
6595 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
6596 results file, please use this in the future to guarantee filebuf
6597 positioning accuracy.
6598 * testsuite/27/filebuf-2.tst: Same.
6599
6600 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
6601
6602 * bits/fstream.tcc (filebuf::xsputn): Add.
6603 * bits/std_fstream.h: Declare.
6604
6605 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
6606 calls using ios_base::trunc.
6607
6608 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
6609
6610 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
6611 * testsuite/27/27stringstream.cc: Same.
6612 * testsuite/27/27stringbuf.cc: More tweaks.
6613 * testsuite/27/27filebuf-2.txt: Remove.
6614
6615 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
6616 BUFSIZE so that overflows/underflow can be tested with default
6617 buffer setting.
6618 * testsuite/27/27filebuf-1.tst: Add.
6619
6620 * testsuite/*/*: Remove pre-pended chapter names, as they
6621 duplicate the chapter info contained in the enclosing directory
6622 anyway.
6623
6624 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
6625
6626 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
6627 to sputc conditions.
6628
6629 * bits/ios_base.h: Define here.
6630 * src/ios.cc (ios_base::_M_clear): Remove hack.
6631 * bits/basic_ios.h: Fix rdstate().
6632
6633 * bits/sstream.tcc (streambuf::seekoff): Fix.
6634 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
6635
6636 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
6637 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
6638 * testsuite/27/27stringstream.cc: Same.
6639 * testsuite/27/27stringbuf.cc: Same.
6640 * testsuite/27/27istringstream_formatted.cc: Same.
6641 * testsuite/27/27filebuf.cc: Same.
6642
6643 * bits/locfacets.h: Remove specializations for messages<char> and
6644 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
6645 * src/locale.cc: Remove definitions for above.
6646 * src/misc-inst.cc: Revert, take out iomanip.h include.
6647 * bits/std_iomanip.h: Tweak, format.
6648
6649 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
6650
6651 * bits/loccore.h: Format, move inline.
6652 * bits/locfacets.tcc: Same.
6653 * bits/locfacets.h: Same.
6654
6655 Ulrich Drepper <drepper@cygnus.com>
6656 * aclocal.m4: Re-generate.
6657 * configure, configure.in: Same.
6658 * m4/lc_messages.m4: New file.
6659
6660 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
6661
6662 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
6663 * bits/sstream.tcc: Tweak.
6664
6665 * std/iostream: Put __ioinit inside macro guards.
6666
6667 * src/stlinst.cc: Delete and move to . . .
6668 * src/stl-inst.cc: New file, plus wrapping in namespace std.
6669 * src/Makefile.in: Change.
6670 * src/Makefile.am: Same.
6671 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
6672
6673 * testsuite/make_check_libfree++: Efficiently format for minimal
6674 space. Enforce stricter execution tests by enabling
6675 -DDEBUG_ASSERT.
6676
6677 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
6678
6679 * docs/text/RELEASE-NOTES: Fix include typo.
6680
6681 * src/Makefile.am (headers): Add istream.tcc.
6682 * src/Makefile.in (headers): Add istream.tcc.
6683
6684 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
6685
6686 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
6687
6688 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
6689 * bits/locfacets.h (num_get::_M_extract): New functin:
6690 consolidate logic for do_get(...) members.
6691
6692 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
6693 * testsuite/27/27istringstream_formatted.cc: Add.
6694
6695 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
6696
6697 * src/basic_file.cc (__basic_file::open): Fix thinko in
6698 _G_HAVE_IO_FILE_OPEN bits.
6699 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
6700 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
6701 * src/complex.cc (FCT): Qualify all functions with global namespace.
6702 * src/locale.cc: Don't qualify memcpy and setlocale.
6703 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
6704 (__length_error): Likewise, for length_error.
6705 * src/stlinst.cc: Qualify instantiations with std::.
6706
6707 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
6708
6709 * C++STYLE: Add ChangeLog guidelines for member functions.
6710
6711 * doc/* : Delete.
6712 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
6713 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
6714 docs/text and made less strident.
6715
6716 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
6717 * bits/std_fstream.h: Same.
6718 * src/ios.cc: Same.
6719
6720 * bits/locfacets.h: Touch.
6721
6722 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6723
6724 * math/cexp.c (cexp): Use NAN instead of nan("").
6725 Reported by joel reed <joelreed@yahoo.com>.
6726
6727 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
6728 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
6729 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
6730 instead of #if cascades.
6731 * libio/genops.c: Likewise.
6732 * libio/ioseekoff.c: Likewise.
6733 * libio/ioseekpos.c: Likewise.
6734 * libio/strops.c: Likewise.
6735 Patch by Chip Salzenberg <chip@perlsupport.com>.
6736
6737 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6738
6739 * docs: New directory.
6740 * docs/html: Likewise.
6741 * docs/text: Likewise.
6742 * docs/image: Likewise.
6743
6744 * bits/std_cmath.h: Add new functions.
6745 (abs): overload for long and double.
6746 (div): overload for long.
6747
6748 * bits/valarray_array.h: Fix.
6749 * bits/gslice.h: Adjust friend.
6750 * bits/slice_array.h: likewise.
6751 * bits/valarray_meta.h: likewise.
6752
6753 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6754
6755 * bits/locfacets.h: More changes, for num_get for insertion
6756 operators for integral types. Comment fields in _Format_cache.
6757 * bits/locfacets.tcc: And here too: add preliminary long version.
6758 * testsuite/27/27istringstream_formatted.cc: Add cases.
6759
6760 1999-04-13 Mark Elbrecht <snowball3@usa.net>
6761
6762 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
6763 AC_LC_MESSAGES macro.
6764 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
6765 supports LC_MESSAGES.
6766 * config.h.in: Add entry for HAVE_LC_MESSAGES.
6767 * src/locale.cc (locale::_S_normalize_category): Use the
6768 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
6769 _G_NO_CLOCALE_HAS_MESSAGES.
6770 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
6771 '?:' from '?:\\' so any path beginning with a drive name matches.
6772
6773 1999-04-12 Mark Elbrecht <snowball3@usa.net>
6774
6775 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
6776
6777 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6778
6779 * bits/locfacets.h: Tweak.
6780 * bits/locfacets.tcc(do_get): Clean/fix bool method.
6781
6782 * testsuite/21/21nonmember.cc: Same.
6783 * testsuite/21/21compare.cc: Fix license.
6784 * testsuite/27/27istringstream_formatted.cc: New file.
6785
6786 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6787
6788 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
6789 _BinBase2: new template classes; put in there to work around a
6790 compiler limitation. The whole valarray architecture is now
6791 working.
6792
6793 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
6794
6795 * bits/locfacets.tcc: Fix, format.
6796 * bits/locfacets.h: Fix.
6797 * src/locale.cc: Same, plus format.
6798
6799 * bits/basic_string.h: Re-add definition here.
6800 * src/string.cc: Take out.
6801
6802 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6803
6804 * bits/std_valarray.h: tweak.
6805 * bits/valarray_array.h tweak. use _Expr.
6806 * bits/slice_array.h: likewise.
6807 * bits/gslice_array.h: likewise.
6808 * bits/mask_array.h: likewise.
6809 * bits/indirect_array.h: likewise.
6810 * bits/valarray_meta.h: tweak.
6811 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
6812 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
6813 _IClos: new template classes.
6814 _Meta: renamed to _Expr. Made template with args.
6815 _Constant: made template with two args.
6816
6817 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6818
6819 * bits/valarray_array.h: tweak.
6820
6821 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
6822
6823 * bits/basic_string.h: Whoops--fix blip.
6824
6825 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
6826
6827 Update to SGI STL 3.13
6828 * bits/basic_string.h: Add __get_c_string definition.
6829 * stl/bits/stl_range_errors.h: New file.
6830 * stl/bits/std_bvector.h: Same.
6831 * stl/bits/*: Update.
6832
6833 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6834
6835 * bits/slice_array.h: tweak.
6836 * bits/gslice_array.h: tweak.
6837 * bits/mask_array.h: tweak.
6838 * bits/indirect_array.h: tweak.
6839 * bits/valarray_array.h: tweak.
6840 (__valarray_copy): replace copy with memcpy.
6841 * bits/std_valarray.h: use __valarray_copy whenever possible.
6842 use __valarray_fill instead of fill.
6843
6844 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6845
6846 * src/gen-num-limits.cc: new file
6847 * mknumeric_limits: Ditto.
6848
6849 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
6850
6851 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
6852 and long types.
6853 * bits/locfacets.h: Add num_get::get methods overloaded for int
6854 and short, to resolve ambiguous overloads in istream insertion
6855 operators.
6856
6857 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
6858
6859 * bits/std_istream.h: Fix.
6860 * bits/istream.tcc: Fix.
6861
6862 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
6863
6864 * testsuite/24/24iterator.cc: fix ++/-- tests
6865
6866 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
6867
6868 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
6869 * bits/ostream.tcc: Same.
6870
6871 * bits/std_istream.h: Bring over ostream changes, implement member
6872 functions. Baseline.
6873 * bits/istream.tcc: New file.
6874
6875 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6876
6877 * bits/gslice.h (class gslice): fix friends template.
6878
6879 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
6880
6881 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
6882 delete cruft, etc.
6883 * bits/ostream.tcc: Same.
6884
6885 * bits/std_istream.h: Minor tweaks.
6886
6887 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
6888
6889 * src/locale-inst.cc: Remove duplicate instantiations.
6890 * bits/locfacets.tcc: Tweak definitions of static member.
6891
6892 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
6893
6894 * bits/std_fstream.h: Format: prepend "__" in front of
6895 non-standard typedefs.
6896 * bits/fstream.tcc: Match.
6897 * bits/std_streambuf.h: Format: prepend "__" in front of
6898 non-standard typedefs.
6899
6900 * bits/sstream.tcc: Match.
6901 * bits/std_istream.h: Format.
6902 * src/locale-inst.cc: Add num_get instantiations.
6903
6904 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
6905 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
6906 _M_streambuf instead. Make initializations sane. Fix
6907 allocation/deallocation of _M_streambuf.
6908 * bits/std_ostream.h: Fix initialization code.
6909 (ctor): Eliminate redundant this->init(), let base class initialize.
6910 (default ctor): New. Assume base classes already initialzed.
6911 * bits/std_istream.h: Parallel work to ostream.
6912 (ctor): Eliminate redundant this->init(), let base class initialize.
6913 (default ctor): New. Assume base classes already initialzed.
6914 Fix initialization of basic_iostream.
6915
6916 * bits/std_fstream.h: While we're at it, make initializations sane
6917 here too. Now matches sstream.h.
6918
6919 * bits/string.tcc: Fix crash in basic_string::compare.
6920 * bits/basic_string.h: And here.
6921 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
6922
6923 * testsuite/make_check_libfree++: Check shared as well.
6924 * testsuite/27/27stringstream.cc: Add bits.
6925 * testsuite/27/27boolfmt.cc: Add bits.
6926 * testsuite/27/27octfmt.cc: Add bits.
6927
6928 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6929
6930 * configure.in (USE_LONG_DOUBLE): signbitl link error.
6931
6932 * bits/locfacets.h: Fix errors that cause build problems
6933 with current egcs (template parameters have class scope).
6934 * bits/locfacets.tcc: Same.
6935 * src/locale-inst.cc: Same, clean.
6936 * src/misc-inst.cc: Same, clean.
6937
6938 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6939
6940 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
6941 standard. Re-apply this previous patch.
6942
6943 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
6944
6945 * bits/basic_string.h: Use __normal_iterator<> for iterators.
6946 * bits/std_sstream.h: Support __normal_iterator<> iterators.
6947 * bits/string.tcc: Ditto.
6948 * src/misc-inst.cc: Ditto.
6949 * src/locale-inst.cc: Ditto.
6950 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
6951 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
6952 * testsuite/24/24iterator.cc: Add test cases for basic_string and
6953 vector iterators.
6954
6955 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
6956
6957 * bits/locfacets.tcc: Remove macro hack.
6958 * bits/locfacets.h: Tweaks.
6959 * src/misc-inst.cc: Weed out locale-related instantiations.
6960 * src/locale-inst.cc: Same.
6961
6962 * RELEASE-NOTES: Make more changes.
6963 * bits/c++config.h: Bump version number.
6964
6965 * testsuite/make_check_libfree++: Collect diagnostics.
6966
6967 * bits/std_ostream.h: Fix ostream initialization/destruction
6968 problem, related to dtor cleanup and new cached facets, agggggggh.
6969 * bits/ostream.tcc: Tweak.
6970 * bits/locfacets.h: Remove all friends of iostream classes.
6971 * bits/ios_base.h: Same.
6972 * bits/streambuf.tcc: Tweak.
6973 * bits/std_streambuf.h: Tweak.
6974 * bits/std_fstream.h: Tweak.
6975 * bits/fstream.tcc: Tweak.
6976 * src/stdstreams.cc: Tweak.
6977 * src/ios.cc: Close streams.
6978
6979 * math/Makefile.in: Add missing files for shared link errors.
6980 * math/Makefile.am: Same.
6981
6982 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
6983
6984 * src/locale-inst.cc: More wchar_t instantiations.
6985 * src/misc-inst.cc: Missed a few bits.
6986 * testsuite/make_check_libfree++: Add static and shared runs.
6987 * src/ios.cc: Add clarity to ios_base::Init::~Init().
6988
6989 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
6990
6991 * bits/std_ostream.h: Format, expunge, simplify. Add cached
6992 facets. Resolve link errors.
6993 * bits/ostream.tcc: Same.
6994 * src/misc-inst.cc: Add ostream, wostream instantiations.
6995 * src/Makefile.am: Add missing bits for stdstreams.cc.
6996 * src/Makefile.in: Same.
6997 * bits/std_iosfwd.h: Format.
6998 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
6999 num_put so that cached _M_fnumput pointer can be deleted in
7000 basic_ostream's dtor. Now everybody plays nice.
7001
7002 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7003
7004 * bits/gslice.h (class gslice): Make friends valarray,
7005 gslice_array and _GliceExpression.
7006
7007 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7008
7009 * RELEASE-NOTES: Update.
7010 * src/ios.cc: Use do proper init.
7011 * bits/std_streambuf.h: Tweak.
7012 * bits/std_iostream.h: Take out static member.
7013 * std/iostream: Put here.
7014 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7015 * bits/std_istream.h: Ditto.
7016 * bits/basic_ios.h: Format.
7017 * bits/ostream.tcc(write): Fix.
7018 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7019 initialization of the fstream class.
7020 * src/stdstreams.cc: I'm baaaaaaaack.
7021
7022 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7023
7024 * bits/ios_base.h: Correct comments. Add ios_base::init()
7025 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7026 * src/misc-inst.cc: Add instantiations here.
7027 * src/ios.cc: Clean.
7028 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7029 * src/stdstreams.cc: Delete this file, as now unnecessary.
7030 * bits/fstream.tcc: Add missing initialization bits for ctor.
7031 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7032 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7033
7034 * bits/streambuf.tcc: Tweak.
7035 * bits/sstream.tcc: Here too.
7036
7037 * bits/fstream.tcc: And change definition as well.
7038 * bits/std_fstream.h: Change ctor.
7039 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7040 * bits/basic_file.h: Add declarations.
7041
7042 * testsuite/27/27hello.cc: New file.
7043
7044 * bits/std_ostream.h: Move flush() inline.
7045 * bits/ostream.tcc: From here.
7046
7047 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7048 * bits/std_ios.h: Change include libio to only when necessary.
7049 * bits/fpos.h: Like here.
7050 * ios_base.h: And here.
7051
7052 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7053 * bits/locfacets.tcc: Same.
7054 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7055 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7056
7057 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7058
7059 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7060
7061 * bits/std_streambuf.h: Clean, tweak.
7062 * bits/std_fstream.h: Same.
7063 * bits/std_sstream.h: Same.
7064 * bits/streambuf.tcc: Move most member functions out-of-line.
7065 * bits/fstream.tcc: Same.
7066 * bits/streambuf.tcc: Same.
7067
7068 * bits/basic_file.h(filepos_cur): Set correctly.
7069 (filepos_beg): Same.
7070 (seekpos): Change to __c_streampos.
7071 * src/basic_file.cc (std): Change to __c_streampos.
7072
7073 * testsuite/27/27filebuf.cc: Round one is finished.
7074 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7075 * testsuite/27/27filebuf-3.tst: Same.
7076
7077 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7078
7079 * bits/basic_file.h: Fix typo, add comments about what to expect
7080 from the various member functions in __basic_file.
7081
7082 * bits/std_fstream.h: Re-do sync/underflow to work
7083 together. Change from sys_read to xsgetn and from sys_write to
7084 xsputn. As it should have been from the beginning. . .
7085
7086 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7087
7088 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7089
7090 * bits/basic_file.h(file_beg): New function.
7091 (file_cur): Ditto.
7092
7093 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7094 * bits/std_fstream.h: More _M_mode refinements.
7095 (synch): Add bits for out mode only.
7096 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7097 * bits/std_sstream.h: Ditto.
7098
7099 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7100
7101 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7102 * testsuite/27/27filebuf.cc: Modify.
7103 * bits/c++config.h: Fix.
7104
7105 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7106
7107 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7108 code in place that diverges from the final standard, but has been
7109 brought up on the library mailing list.
7110
7111 * bits/std_fstream.h(underflow): Position all three internal
7112 buffer pointers at the same initial position. Re-implement with
7113 basic_filebuf abstraction.
7114 (overflow): Ditto.
7115 (seekoff): Ditto.
7116 (seekpos): Ditto.
7117 * bits/std_sstream.h: Move _M_mode down into base class
7118 basic_streambuf.
7119 * bits/sstream.tcc: Ditto.
7120 * bits/std_streambuf.h: Ditto.
7121
7122 * testsuite/27/27filebuf.cc: Tweak.
7123
7124 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7125
7126 * bits/std_sstream.h: Ditto.
7127 * bits/std_fstream.h: Fix blip.
7128
7129 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7130
7131 * C++STYLE: Add cases.
7132 * bits/std_fstream.h: Format.
7133 * bits/std_streambuf.h: Ditto.
7134 * bits/std_sstream.h: Ditto.
7135
7136 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7137 return type for _IO_file_seek and __basic_file::seek the same size.
7138 * bits/basic_file.h: Ditto.
7139
7140 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7141
7142 * bits/fstream.tcc: Add include guards.
7143 * src/misc-inst.cc: Add instantiations for shared libes.
7144 * src/locale-inst.cc: Add instantiaions for use_facet.
7145 * bits/loccore.h: Remove specialization foward decls for
7146 use_facet<ctype>: perhaps add the whole lot of them later on.
7147 * bits/std_fstream.h: Fix.
7148 * bits/locfacets.h: Ditto.
7149 * src/stdstreams.cc: Disable wide streams for now.
7150
7151 * src/Makefile.am (CXXFLAGS): Change up.
7152 * src/Makefile.in (CXXFLAGS): Ditto.
7153
7154 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7155
7156 * src/basic_file.cc: Change to ios_base::seekdir from int.
7157 * bits/basic_file.h: Ditto.
7158 * bits/locfacets.h : Fix blip with new guard macros.
7159
7160 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7161
7162 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7163 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7164 _G_USE_NAMESPACE.
7165 * amm1/locale: Remove unused defines.
7166 * generic/locale: Ditto.
7167 * src/ios.cc: Ditto.
7168 * src/locale.cc: Ditto.
7169 * src/locale-inst.cc: Ditto.
7170 * src/localename.cc: Ditto.
7171 * src/stdstreams.cc: And here.
7172
7173 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7174 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7175 * bits/loccore.tcc: Ditto.
7176 * bits/locfacets.h: Ditto.
7177 * src/locale-inst.cc: Ditto.
7178 * bits/locfacets.tcc: Add do_put long long here.
7179
7180 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7181
7182 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7183 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7184 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7185 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7186 * bits/std_fstream.h: Tweak.
7187
7188 * bits/char_traits.h: Remove fpos definitions from here. . .
7189 * bits/fpos.h: New file, put them here. Eventually, this may allow
7190 the severing of char_traits and fpos dependancies.
7191 * src/Makefile.in: Add fpos.h.
7192 * src/Makefile.am: Ditto.
7193 * bits/std_string.h: Add fpos.h include here.
7194 * bits/std_ios.h: And here.
7195
7196 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7197 * bits/ios_base.h: Remove cstdio include.
7198 * bits/std_ios.h: ... Place here.
7199
7200 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7201
7202 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7203 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7204
7205 * bits/basic_file.h: Comment, adjust arguments.
7206 * src/basic_file.cc: Ditto.
7207
7208 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7209 type: check and convert accordingly. Re-interpet "resultant stream
7210 position" to indicate external byte sequence location, not internal
7211 buffer info.
7212
7213 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7214
7215 * mkcshadow: And change copyright here.
7216 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7217 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7218 stl_thread.h, and stl_iterator_base.h.
7219 * src/Makefile.in (CXXFLAGS): Ditto.
7220 * stl/backward/pthread_alloc.h: Remove.
7221
7222 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7223
7224 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7225 position.
7226 * bits/std_fstream.h (pbackfail): Correct.
7227 (sungetc): Test.
7228 (seekoff): Implement.
7229 (seekpos): Re-do.
7230 * testsuite/27/27filebuf.cc: Add test cases.
7231
7232 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7233
7234 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7235 with the external buffers, and stop mucking around with setting
7236 and re-setting the external buf's pointers. Aka, clarity and
7237 simplicity rule the day.
7238 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7239 Remove partial result and support code.
7240
7241 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7242
7243 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7244 list of function which have to be replaced.
7245 Remove expf from list of functions to test for.
7246 Define USE_LONG_DOUBLE in case the libm has partial support for long
7247 doubles.
7248 * Makefile.in: Regenerated.
7249 * config.h.in: Likewise.
7250 * configure: Likewise.
7251 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7252 * libio/Makefile.in: Regenerated.
7253 * src/Makefile.in: Regenerated.
7254 * string/Makefile.in: Regenerated.
7255 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7256 atan2f.c, expf.c, and $(EXTRA_yes).
7257 (EXTRA_yes): Add signbitl.c mycabsl.c.
7258 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7259 (libmath_la_SOURCES): remove long double versions.
7260 * math/Makefile.in: Regnerated.
7261 * math/atan2f.c: New file.
7262 * math/copysignf.c: New file.
7263 * math/expf.c: New file.
7264 * math/hypot.c: New file.
7265 * math/hypotf.c: New file.
7266 * math/hypotl.c: New file.
7267 * math/cargf.c: Use correct function and macro names.
7268 * math/ccos.c: Likewise.
7269 * math/ccosh.c: Likewise.
7270 * math/ccoshf.c: Likewise.
7271 * math/ccoshl.c: Likewise.
7272 * math/cexp.c: Likewise.
7273 * math/cexpf.c: Likewise.
7274 * math/cexpl.c: Likewise.
7275 * math/clog.c: Likewise.
7276 * math/clog10.c: Likewise.
7277 * math/clog10f.c: Likewise.
7278 * math/clog10l.c: Likewise.
7279 * math/clogf.c: Likewise.
7280 * math/clogl.c: Likewise.
7281 * math/copysignf.c: Likewise.
7282 * math/csin.c: Likewise.
7283 * math/csinf.c: Likewise.
7284 * math/csinh.c: Likewise.
7285 * math/csinhf.c: Likewise.
7286 * math/csinhl.c: Likewise.
7287 * math/csinl.c: Likewise.
7288 * math/csqrt.c: Likewise.
7289 * math/csqrtf.c: Likewise.
7290 * math/csqrtl.c: Likewise.
7291 * math/ctan.c: Likewise.
7292 * math/ctanf.c: Likewise.
7293 * math/ctanh.c: Likewise.
7294 * math/ctanhf.c: Likewise.
7295 * math/ctanhl.c: Likewise.
7296 * math/ctanl.c: Likewise.
7297
7298 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7299
7300 * testsuite/27/27filebuf.cc: Add cases.
7301 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7302 * bits/std_streambuf.h: Simplify, always have one return statement.
7303 * bits/std_fstream.h: Tweak comments in underflow.
7304
7305 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7306
7307 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7308 * ltconfig: Likewise.
7309
7310 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7311
7312 * src/locale.cc: Fix assert.
7313
7314 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7315
7316 FIXME: Still need some kind of solution for undefined math symbols.
7317 * src/Makefile.in (locale-inst.lo): Compile with
7318 -fimplicit-templates to fix Solaris link problem.
7319 * src/Makefile.am: Ditto.
7320 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7321 * libio/Makefile.am: Ditto.
7322 * src/locale.cc: Provide some kind of def for _S_tolower.
7323 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7324 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7325
7326 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7327
7328 * bits/loccore.tcc: Move member-template ctor inline...
7329 * bits/loccore.h: ...here.
7330 * src/locale-inst.cc: Add instantiation here.
7331
7332 * testsuite/27/27stringstream.cc: Tweak.
7333
7334 * bits/ostream.tcc: Include sbuf_iter.h.
7335
7336 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7337 passing to num_put, as num_put's first argument is an interator,
7338 not basic_ostream.
7339
7340 * testsuite/make_check_libfree++: New file, runs through the
7341 existing test files in the testsuite directory and makes sure
7342 they link.
7343
7344 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7345
7346 * testsuite/21/21compare.cc: Fix typo.
7347 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7348 Don't try to provide non-linux versions, since it's impossible to
7349 initialize their const references with the integer 0, no matter
7350 how we try to cast it.
7351
7352 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7353
7354 * bits/std_locale.h: Move std_vector.h dependency.
7355 * bits/std_ios.h: ...from here.
7356 * bits/std_string.h: ...and here.
7357 * src/locale.cc: ..to here.
7358 * bits/loccore.h: Ditto, add vector forward declaration,
7359 make locale::_Impl data members pointers not containers.
7360 * bits/loccore.tcc: Move out-of-line for now.
7361 * bits/locfacets.h: Move vector dependency from here...
7362 * bits/locfacets.tcc: ...to here.
7363 * src/localename.cc: ..and here.
7364 * src/locale-inst.cc: Add include of locfacets.tcc here.
7365
7366 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7367 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7368 * bits/string.tcc: Tweak.
7369 * src/string.cc: And add __get_c_string def here.
7370
7371 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7372
7373 * src/stlinst.cc: Add include of stl_config.h.
7374
7375 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7376
7377 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7378 * stl/bits/stl_config.h: Tweak, update.
7379 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7380 std_exception.
7381 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7382 * stl/bits/std_functional.h: Ditto.
7383
7384 * stl/bits/stl_string.h: New file, SGI's string
7385 implementation. For reference only, corresponding to string in
7386 3.12 source.
7387 * stl/bits/stl_char_traits.h: As above.
7388
7389 * stl/bits/pthread_allocimpl.h: New file corresponding to
7390 pthread_alloc.
7391 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7392 pthread_alloc.h
7393 * stl/bits/stl_threads.h: New file.
7394
7395 Note that SGI STL 3.12's file iterator.h is not used.
7396 * stl/bits/std_iterator.h: Ditto.
7397 * stl/bits/stl_iterator.h: Drop in replace.
7398 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7399
7400 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7401 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7402 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7403 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7404 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7405 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7406 preprocessor guards, but fixup include paths and names according
7407 to new directory layout).
7408
7409 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7410
7411 * bits/std_fstream.h: Remove _M_open data member.
7412 * bits/fstream.tcc: Ditto.
7413
7414 * src/locale.cc: Tweak.
7415
7416 * bits/std_sstream.h: Simplify.
7417
7418 * bits/std_streambuf.h: Simplify.
7419 (sputc): Use correct definition of "write area."
7420
7421 * bits/std_fstream.h: Fix uflow.
7422 * src/basic_file.cc: Tweak.
7423 * testsuite/27/27filebuf.cc: Add tests.
7424 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7425
7426 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7427
7428 * bits/ios_base.h: Make protected.
7429
7430 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7431
7432 * bits/ios_base.h: Changes in the class ios_base:
7433 Rename _M_exceptions member to _M_exceptions_data.
7434 Make the member functions rdstate(), clear(), exceptions()
7435 and exceptions(iostate) protected and add the "_M_" prefix.
7436 * src/ios.cc: Ditto.
7437 * bits/basic_ios.h: Adapt the changes from ios_base.
7438
7439 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7440
7441 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7442 * bits/fstream.tcc: Ditto.
7443
7444 * bits/std_fstream.h (underflow): Resize deallocates memory and
7445 resets pointers in the internal cache according to new _M_buf. . dooh!
7446 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7447
7448 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7449
7450 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7451 standard.
7452
7453 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7454
7455 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7456 into account partial returns.
7457 (codecvt::do_out): Likewise.
7458
7459 * bits/char_traits.h: Change streamsize to be a signed type, as
7460 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
7461 * bits/std_streambuf.h: Make
7462 in_avail() and showmanyc() have streamsize as return types, so
7463 that showmanyc()'s return of eof won't underflow in_avail's return
7464 value and give a bogus result.
7465 * src/misc-inst.cc: And more changes. . .
7466
7467 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
7468 track of joint in/out pointers into the internal buffer.
7469 (sbumpc): Add check for _M_buf_unified.
7470 (sputbackc): Ditto.
7471 (sungetc): Ditto.
7472
7473 * testsuite/27/27filebuf.cc: Add cases.
7474 * testsuite/27/27stringbuf.cc: Add showmanyc case.
7475
7476 * bits/std_fstream.h (close): Fix logic error.
7477 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
7478 (showmanyc): Add underflow component, to match the standard.
7479
7480 * bits/fstream.tcc: Ditto.
7481
7482 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7483
7484 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
7485 * src/basic_file.cc: Ditto.
7486 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
7487 format for dealing with _IO_file in libio.
7488
7489 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
7490
7491 * src/basic_file.cc: Include fcntl.h.
7492
7493 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7494
7495 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
7496 libio calls.
7497 * bits/std_streambuf.h: Redefine read posion.
7498
7499 * bits/std_fstream.h: Temporary hack to get vtables working again.
7500 * bits/basic_file.h: Revert.
7501 * src/basic_file.cc: Ditto.
7502 * testsuite/27/27filebuf.cc: Tweak.
7503
7504 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
7505
7506 * bits/basic_file.h: Add showmanyc, underflow. .
7507 * src/basic_file.cc: Ditto.
7508
7509 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
7510 chars can be read.
7511
7512 * testsuite/27/27filebuf.cc: Add testcases.
7513 * src/basic_file.cc: Add O_CREAT to open calls with
7514 ios_base::trunc as part of the open mode.
7515
7516 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7517
7518 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
7519
7520 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
7521
7522 * src/ios.cc (clear): Correct typo.
7523 * bits/ios_base.h: Tweak spacing.
7524
7525 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7526
7527 * bits/basic_ios.h: fix basic_ios::fail()
7528
7529 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
7530
7531 * bits/basic_file.h: Include libioP.h from libio instead of here.
7532 * bits/iolibio.h: Remove.
7533 * bits/libio.h: Remove.
7534
7535 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7536
7537 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
7538
7539 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
7540
7541 * Makefile.am (SUBDIRS): Add libio.
7542 * configure.in: Add rule to test for glibc2.
7543
7544 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
7545 (libstdc___la_LIBADD): Add libio.la.
7546
7547 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
7548
7549 * bits/basic_file.h: Make new abstraction for underlying C library
7550 FILE, named __basic_file.
7551 * src/basic_file.cc: New file.
7552 * bits/os_raw.h: Delete.
7553 * src/os_raw.cc: Delete.
7554 * src/Makefile.in: Tweak.
7555 * src/Makefile.am: Tweak.
7556 * bits/iolibio.h: Add this here, for the time being.
7557 * bits/libioP.h: Ditto.
7558
7559 * bits/ios_base.h: Delete unused defines.
7560 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
7561 strcpy to copy between the two buffers.
7562
7563 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
7564 * testsuite/27/27filebuf.cc: New file.
7565 * testsuite/27/27filebuf-1.txt: Data file for above test.
7566 * testsuite/27/27filebuf-2.txt: Ditto.
7567
7568 * bits/std_streambuf.h (uflow): Re-implement default.
7569 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
7570 Re-implement virtual functions.
7571 * bits/fstream.tcc: Delete unused mf's.
7572
7573 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7574
7575 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
7576 * bits/std_fstream.h: Ditto.
7577 * src/stdstreams.cc: Ditto.
7578
7579 * math/cpowl.c: Fix header typo with last change.
7580
7581 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
7582
7583 * COPYING: New file (GPL v 2).
7584 * LICENSE.STD: Remove.
7585 * ./*: Change license.
7586
7587 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
7588
7589 * bits/std_streambuf.h (std): Remove static on _M_init.
7590 * bits/streambuf.tcc (std): Ditto.
7591
7592 * bits/std_fstream.h: Add changes as discussed with Nathan, including
7593 state_type and codecvt_type members, the allocation of an internal
7594 buffer, the streamlined codecvt calls, etc.
7595
7596 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
7597
7598 * bits/std_sstream.h: Tweak.
7599 * bits/fstream.tcc: Remove unused stubs.
7600 * bits/std_fstream.h: Tweak.
7601
7602 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7603
7604 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
7605 Remove unused _IO_* members, possibly put into filebuf, which may
7606 need them.
7607 * bits/std_fstream.h: Add _M_flag.
7608 * bits/sbuf_iter.h: Tweak.
7609
7610 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
7611 * bits/ios_base.h: Use.
7612
7613 * src/stdstreams.cc: Modify to reflect standard ctors for
7614 filebuf.
7615 * src/misc-inst.cc: Ditto.
7616
7617 * bits/os_raw.h: Wrap in std namespace. Model parameters on
7618 underlying C library calls instead of the underlying unix
7619 filesystem.
7620 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
7621 string as per p.659.
7622 (_S_os_close): Model on fopen.
7623 (_S_os_read): Model on fread.
7624 (_S_os_write): Model on fwrite.
7625 (_S_os_seek): Model on fseek.
7626
7627 * bits/ios_base.h: Tweak.
7628 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
7629 * bits/std_sstream.h: Tweak.
7630 * bits/sstream.tcc: Remove old, uncalled code.
7631 * bits/std_fstream.h: Major reconstruction.
7632 * bits/fstream.tcc: Disable for the time being.
7633
7634 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
7635
7636 * bits/basic_string.h: Fix insert method.
7637 * stl/bits/stl_iterator.h: Remove previous hack.
7638 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
7639 * bits/std_sstream.h: Fix more regressions.
7640 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
7641
7642 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
7643
7644 * bits/basic_string.h: Tweak.
7645
7646 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
7647 that string::append can be instantiated. HACK--checkin
7648 basic_string::iterator class.
7649
7650 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
7651
7652 * bits/std_sstream.h: Tweak.
7653 * bits/sstream.tcc: Tweak ctors.
7654
7655 FIXME invalid friend defs. . WHERE ARE THEY??
7656
7657 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
7658 names for basic_streambuf data members.
7659
7660 * bits/std_streambuf.h: Add getloc() initialization bits.
7661 basic_streambuf(): Initialize with global locale data.
7662 imbue(): Set _M_init.
7663
7664 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
7665 stream pos == pos_type(off_type(-1)).
7666 in_avail(): Complete default implementation.
7667 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
7668 underflow, uflow, xsgetn, showmany, sync: Ditto.
7669
7670 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
7671
7672 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
7673 re-populate with in-line member functions that are too big. Add
7674 initialization for _M_init.
7675
7676 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
7677
7678 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
7679 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
7680 streambuf_type.
7681
7682 * src/stdstreams.cc (std): Disable wchar_t instantiations.
7683
7684 * bits/c++config.h (_G_DEPRICATED): Add.
7685 (_G_USE_WCHAR_T): Add.
7686 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
7687 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
7688 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
7689 * bits/std_fstream.h: Add comment for implementation.
7690 * src/streambuf.cc: Remove.
7691 * src/Makefile.in: Remove streambuf.lo.
7692 * src/misc-inst.cc: Tweak.
7693
7694 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
7695
7696 * bits/std_sstream.h: Add const_cast to rdbuf returns.
7697 * testsuite/27stringstream.C: Modify.
7698
7699 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
7700
7701 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
7702 (libstdc___la_SOURCES): Ditto.
7703
7704 * bits/streambuf.tcc: Tweak.
7705
7706 * src/streambuf.cc: New file, add out-of-line definitions for
7707 _Streambuf_base.
7708
7709 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
7710 Comment out wchar_t versions of the buffer instantiations, for now.
7711
7712 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
7713 Remove template wrapper around _Streambuf_base.
7714 Move IO_* data members into _Streambuf_base.
7715 Move _Streambuf_base members into streambuf.tcc.
7716
7717 * bits/c++config.h (_G_USE_LIBIO): Enable.
7718
7719 1998-11-02 Nathan Myers <ncm@cantrip.org>
7720
7721 * CHECKLIST: downgrade iterator implementations
7722 * DESIGN: fill out notes about unimplemented features
7723
7724 1998-10-31 Nathan Myers <ncm@cantrip.org>
7725
7726 * CHECKLIST: itemized list of all interfaces, and status of each.
7727
7728 1998-10-30 Nathan Myers <ncm@cantrip.org>
7729
7730 * RELEASE-NOTES: add notes about optional includes, linking, running
7731 * src/Makefile.am: handle header installs properly
7732 * src/Makefile.in: regenerate from new src/Makefile.am
7733
7734 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
7735
7736 * bits/basic_string.h: Revert npos pending ciso646.
7737 * src/Makefile.am: Revert CXX flags for now.
7738 * src/Makefile.in: Ditto.
7739
7740 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
7741
7742 * bits/std_sstream.h: Re-order ctors to put base before member
7743 inits.
7744
7745 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7746
7747 * stl/bits/std_memory.h: Fix typo.
7748
7749 1998-10-30 Nathan Myers <ncm@cantrip.org>
7750
7751 * src/string[A-Z]+.cc: change back to include "string.cc".
7752 * src/Makefile.am: revert filename changes. We need a different
7753 way to keep filenames in std/ from confusing Make.
7754 * bits/basic_string.h: define _S_max_size right, return it from
7755 string::max_size(); churn definition of npos again.
7756 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
7757 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
7758 * BUGS: clear cruft.
7759 * C++STYLE: Touchup for release.
7760 * CHECKLIST: Touchup for release.
7761 * DESIGN: New file.
7762 * LICENSE.STD: Add requirement to retain copyrights and to provide
7763 the license with any copies.
7764 * README: Update for release.
7765 * TODO: Minor touchup for release.
7766 * RELEASE-NOTES: prepare for release
7767
7768 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
7769
7770 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
7771
7772 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
7773
7774 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
7775 CXX to generate the shared object.
7776
7777 * src/Makefile.am (headers): Remove duplicated char_traits.h.
7778
7779 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
7780
7781 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
7782 2, from npos, solving infinite loop problems.
7783
7784 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
7785
7786 * src/Makefile.am: Add rules to install headers.
7787
7788 1998-10-29 Nathan Myers <ncm@cantrip.org>
7789
7790 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
7791 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
7792 * shadow/libio.h:
7793 * shadow/unistd.h:
7794 * shadow/bits/wrap_libio.h:
7795 * shadow/bits/wrap_unistd.h: New files.
7796
7797 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
7798
7799 * bits/ostream.tcc (operator<<): Wrap with #ifdef
7800 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
7801
7802 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
7803
7804 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
7805 is not compiled with -fno-implicit-templates in effect.
7806
7807 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
7808 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
7809 * src/stringADDCS.cc: Wrapper around string.cc to define individual
7810 function.
7811 * src/stringADDPS.cc: Likewise.
7812 * src/stringADDSC.cc: Likewise.
7813 * src/stringADDSP.cc: Likewise.
7814 * src/stringADDSS.cc: Likewise.
7815 * src/stringBIST.cc: Likewise.
7816 * src/stringBOST.cc: Likewise.
7817 * src/stringCHTR.cc: Likewise.
7818 * src/stringEQPS.cc: Likewise.
7819 * src/stringEQSP.cc: Likewise.
7820 * src/stringEQSS.cc: Likewise.
7821 * src/stringEXTRA.cc: Likewise.
7822 * src/stringGEPS.cc: Likewise.
7823 * src/stringGESP.cc: Likewise.
7824 * src/stringGESS.cc: Likewise.
7825 * src/stringGETLI.cc: Likewise.
7826 * src/stringGTPS.cc: Likewise.
7827 * src/stringGTSP.cc: Likewise.
7828 * src/stringGTSS.cc: Likewise.
7829 * src/stringINSER.cc: Likewise.
7830 * src/stringLEPS.cc: Likewise.
7831 * src/stringLESP.cc: Likewise.
7832 * src/stringLESS.cc: Likewise.
7833 * src/stringLTPS.cc: Likewise.
7834 * src/stringLTSP.cc: Likewise.
7835 * src/stringLTSS.cc: Likewise.
7836 * src/stringMAIN.cc: Likewise.
7837 * src/stringNEPS.cc: Likewise.
7838 * src/stringNESP.cc: Likewise.
7839 * src/stringNESS.cc: Likewise.
7840 * src/stringSCOPY.cc: Likewise.
7841 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
7842 functions.
7843 * src/wstringADDPS.cc: Likewise.
7844 * src/wstringADDSC.cc: Likewise.
7845 * src/wstringADDSP.cc: Likewise.
7846 * src/wstringADDSS.cc: Likewise.
7847 * src/wstringBIST.cc: Likewise.
7848 * src/wstringBOST.cc: Likewise.
7849 * src/wstringCHTR.cc: Likewise.
7850 * src/wstringEQPS.cc: Likewise.
7851 * src/wstringEQSP.cc: Likewise.
7852 * src/wstringEQSS.cc: Likewise.
7853 * src/wstringEXTRA.cc: Likewise.
7854 * src/wstringGEPS.cc: Likewise.
7855 * src/wstringGESP.cc: Likewise.
7856 * src/wstringGESS.cc: Likewise.
7857 * src/wstringGETLI.cc: Likewise.
7858 * src/wstringGTPS.cc: Likewise.
7859 * src/wstringGTSP.cc: Likewise.
7860 * src/wstringGTSS.cc: Likewise.
7861 * src/wstringINSER.cc: Likewise.
7862 * src/wstringLEPS.cc: Likewise.
7863 * src/wstringLESP.cc: Likewise.
7864 * src/wstringLESS.cc: Likewise.
7865 * src/wstringLTPS.cc: Likewise.
7866 * src/wstringLTSP.cc: Likewise.
7867 * src/wstringLTSS.cc: Likewise.
7868 * src/wstringMAIN.cc: Likewise.
7869 * src/wstringNEPS.cc: Likewise.
7870 * src/wstringNESP.cc: Likewise.
7871 * src/wstringNESS.cc: Likewise.
7872 * src/wstringSCOPY.cc: Likewise.
7873 * src/string.cc: Remove now unneeded #defines now.
7874
7875 1998-10-29 Nathan Myers <ncm@cantrip.org>
7876
7877 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
7878 integer formatting.
7879 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
7880 add definitions for double, long double, const void*.
7881 * bits/std_ostream.h: Move op<<'s back into class ostream,
7882 define some in-line.
7883 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
7884 string construction from input iterators that Brendan reported.
7885
7886
7887 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
7888
7889 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
7890
7891 * bits/valarray_meta.h (class _Constant): Move declaration to the
7892 top, so the rest of the file can grok it.
7893 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
7894
7895 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
7896 semicolon.
7897 (basic_stringstream::str, both instances): Likewise.
7898
7899 1998-10-28 Nathan Myers <ncm@cantrip.org>
7900
7901 * bits/locfacets.h: fix num_put<>::falsename()
7902 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
7903 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
7904 * bits/locfacets.tcc: touch up _S_group_digits.
7905 * src/misc-inst.cc: adjust _S_group_digits insts to match.
7906
7907 1998-10-27 Nathan Myers <ncm@cantrip.org>
7908
7909 * stl/bits/stl_config.h: Turn off long long support, for now.
7910 * src/locale-inst.cc: Instantiate num_put<> only for
7911 ostreambuf_iterator, num_get only for istreambuf_iterator.
7912 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
7913 add lots of new instantiations for num_put support function templates;
7914 remove junk about __match_parallel for ostreambuf_iterator.
7915
7916 1998-10-27 Nathan Myers <ncm@cantrip.org>
7917
7918 * bits/locfacets.tcc: Make num_put's digit grouping work.
7919 * bits/string.tcc: More uglification.
7920 * src/ios.cc: initialize format cache right
7921
7922 1998-10-26 Nathan Myers <ncm@cantrip.org>
7923
7924 * bits/basic_string.h: Uglify more names.
7925 * bits/fstream.tcc: Rewrite some filebut output handling.
7926 * bits/ios_base.h: Cosmetic.
7927 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
7928 Also, specialize its default ctor for optimal default case.
7929 #ifdef out "long long" prototypes for now.
7930 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
7931 implementation for integer types. (Still needs optimized
7932 std::copy() applied to ostreambuf_iterator to be optimal.)
7933 * bits/ostream.tcc: Write operator<< for long, bool types.
7934 Make other operators<< non-members, per spec. (Many still
7935 not implemented.) Identify those that fail to create a sentry.
7936 * bits/sbuf_iter: Cosmetic.
7937 * bits/std_fstream.h: Add some filebuf members.
7938 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
7939 * bits/std_ostream.h: Make member operators<< global, per spec.
7940 (Should do the same in std_istream.h.)
7941 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
7942 * bits/string.tcc: Uglify names
7943 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
7944 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
7945 for optimal default behavior.
7946
7947 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
7948
7949 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
7950
7951 1998-10-21 Nathan Myers <ncm@cantrip.org>
7952
7953 * src/locale.cc: make ctype operations actually work for glibc
7954 * CHECKLIST: add a comprehensive (i.e. huge) implementation
7955 checklist of stdlib facilities. Not filled in yet.
7956
7957 1998-10-20 Nathan Myers <ncm@cantrip.org>
7958
7959 * bits/string.tcc: fix patching NULs on string ends.
7960
7961 1998-10-19 Nathan Myers <ncm@cantrip.org>
7962
7963 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
7964 iterator forward declarations
7965 * bits/sbuf_iter.h: eliminate default template argument definitions
7966 on streambuf iterators (rely on <iosfwd> decls).
7967 * TODO: add note about lazy facet construction
7968 * bits/basic_ios.h: hit operator void* again. This should be the
7969 last time we need to touch it.
7970 * bits/basic_ios.h: copyfmt now returns *this.
7971 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
7972 * bits/basic_string.h: put back overloaded constructors; adjust
7973 behavior for default allocator on copy constructor.
7974 * bits/char_traits.h: make not_eof return correct type.
7975 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
7976 cannot be in non-standard headers or we get include loops (bad)
7977 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
7978 * bits/loccore.h: add apparatus to support lazy construction of
7979 facets.
7980 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
7981 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
7982 locale use_facet<> failure.
7983 * bits/std_locale.h: same.
7984 * bits/std_string.h: same.
7985 * bits/std_stdexcept.h: change exception member __msg from a
7986 reference to a regular object.
7987 * bits/string.tcc: add pasting a NUL on the end of strings after
7988 each operation. We had already left room for it, but previously
7989 plugged it only on a call to c_str(), but the WG changed the
7990 requirement when I wasn't looking. (Can't leave them alone for
7991 a second without they break something else.)
7992 * bits/valarray_meta.h: add Gaby's changes from 981018.
7993 * src/locale.cc: add new type _Bad_use_facet to be thrown on
7994 failure of use_facet<>().
7995 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
7996 comment out leftover member definitions
7997
7998 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
7999
8000 * string/Makefile.am: Revert last change.
8001 * math/Makefile.am: Likewise.
8002
8003 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8004
8005 * bits/std_sstream.h: Fix typo.
8006
8007 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8008
8009 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8010
8011 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8012 * bits/std_stdexcept.h: Remove.
8013
8014 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8015
8016 * src/misc-inst.cc: Tweak again.
8017
8018 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8019 * bits/sstream.tcc: New file.
8020
8021 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8022
8023 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8024 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8025 available.
8026
8027 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8028 if available.
8029 (INFINITE_P): Use IS_INF macro if available.
8030
8031 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8032
8033 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8034 noinst_LTLIBRARIES.
8035 * string/Makefile.am: Likewise.
8036
8037 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8038
8039 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8040 qfpclass.
8041 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8042 endianess is available run AC_C_BIGENDIAN.
8043
8044 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8045 fixincludes is fixed.
8046 * math/clogl.c: Likewise.
8047 * math/csqrtl.c: Likewise.
8048 * math/mycabsl.c: Likewise.
8049
8050 * math/mathconf.h: Include machine/endian.h if possible. If no
8051 header describing endianess is available rely on WORDS_BIGENDIAN
8052 macro.
8053 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8054 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8055 available.
8056
8057 * src/complex.cc (polar): Don't use sincos on OSF machines.
8058
8059 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8060
8061 * src/locale-inst.cc: Don't instantiate time_get for
8062 ostreambuf_iterators as time_get::do_get_weekday and
8063 time_get::do_get_monthname use __match_parallel, which is illegal
8064 for ostreambuf_iterators to use, as they don't have operator== or
8065 operator!=.
8066 * bits/std_stdexcept.h: Add dtor definitions.
8067 Use stl/bits/std_stdexcept.h instead of this file?
8068 * bits/sbuf_iter.h : Tweak.
8069 * src/misc-inst.cc: Tweak.
8070
8071 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8072
8073 * bits/std_stdexcept.h: New file.
8074 * src/stdexcept.cc: Define the following:
8075 logic_error::what()
8076 runtime_error::what()
8077
8078 * src/misc-inst.cc: New file.
8079 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8080 (libstdc___la_OBJECTS): Add misc-inst.lo.
8081
8082 * bits/basic_string.h: Disable non-standard ctor declarations.
8083 * bits/string.tcc: Disable definitions as well.
8084 * src/string.cc: Disable <ios> dependancies.
8085 * bits/sbuf_iter.h (std): Add default to template parameter for
8086 ostreambuf_iterator and istreambuf_iterator.
8087 * bits/std_iosfwd.h: Change istreambuf_iterator to
8088 basic_istreambuf_iterator. Likewise for ostreambuf.
8089 * bits/locfacets.tcc (__match_parallel): Fix typo.
8090 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8091 ios_base::imbue.
8092 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8093 * bits/std_istream.h: Define the following:
8094 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8095 get (char_type* __s, streamsize __n, char_type __delim);
8096 getline (char_type* __s, streamsize __n, char_type __delim)
8097 * bits/loccore.h : FIXME friend template code for use_facet.
8098 Add std_stdexcept.h include so that range_error will be defined.
8099 Add explicit conversion to string for range_error throws. (HACK?)
8100
8101 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8102
8103 * configure.in: Check for sincos, sincosf, and sincosl.
8104 * src/complex.cc (polar): Use sincos if available.
8105
8106 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8107 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8108
8109 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8110
8111 * math/cpow.c: Use c_log, not clog.
8112 * math/cpowf.c: Likewise.
8113 * math/cpowl.c: Likewise.
8114
8115 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8116 of isfinite call.
8117
8118 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8119 isfinite macro if it is available.
8120 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8121
8122 * math/ccosf.c: Use appropriate test macros for this type.
8123 * math/ccoshf.c: Likewise.
8124 * math/ccoshl.c: Likewise.
8125 * math/ccosl.c: Likewise.
8126 * math/cexpf.c: Likewise.
8127 * math/cexpl.c: Likewise.
8128 * math/clog10f.c: Likewise.
8129 * math/clog10l.c: Likewise.
8130 * math/clogf.c: Likewise.
8131 * math/clogl.c: Likewise.
8132 * math/csinf.c: Likewise.
8133 * math/csinhf.c: Likewise.
8134 * math/csinhl.c: Likewise.
8135 * math/csinl.c: Likewise.
8136 * math/csqrtf.c: Likewise.
8137 * math/csqrtl.c: Likewise.
8138 * math/ctanf.c: Likewise.
8139 * math/ctanhf.c: Likewise.
8140 * math/ctanhl.c: Likewise.
8141 * math/ctanl.c: Likewise.
8142
8143 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8144
8145 * bits/basic_ios.h: Fix previous change.
8146
8147 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8148
8149 * bits/basic_ios.h: Add const_cast<basic_ios&>
8150 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8151 well-formed.
8152 * bits/char_traits.h: No _CharT for specialization, change to 0.
8153 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8154 constant-initializer.
8155 * bits/locfacets.tcc: Add template parameter to initialization list.
8156
8157 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8158
8159 * bits/basic_string.h: Should just be <, not <=.
8160
8161 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8162
8163 * bits/string.tcc (compare): Fix for strings that are similar, but
8164 not the same length.
8165
8166 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8167
8168 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8169 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8170 We can't check for __GLIBC__ here, since this header can be read
8171 before any system one (that would lead to features.h) being used.
8172
8173 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8174
8175 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8176 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8177
8178 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8179 LONGLONG_{MIN,MAX} which I can't find the origin of.
8180
8181 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8182
8183 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8184 should this come from, if not iostream.h?
8185 (class istream_iterator): Make the new operator!= a friend also.
8186
8187 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8188 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8189 _G_config.h like the egcs one does.
8190
8191 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8192
8193 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8194
8195 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8196 _Expr1 (or _Expr_def if it's taken), and change definitions.
8197 Avoids redecl of the template parm.
8198
8199 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8200 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8201
8202 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8203 already done.
8204
8205 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8206 be a better way to do this.
8207
8208 * src/stlinst.cc: New file.
8209
8210 * BUGS: New file, with various discovered bugs that need to be
8211 fixed.
8212
8213 * Makefile.in, math/Makefile.in, string/Makefile.in,
8214 src/Makefile.in: Reran automake.
8215
8216 Workarounds, these may not all be the final fixes:
8217
8218 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8219 not private, for basic_istream::get() in std_istream.h to be able
8220 to use it.
8221 (basic_ios::operator void*): Don't use static_cast for the false
8222 case.
8223 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8224 This appears to have been in sep94, but didn't get corrected
8225 afterwards.
8226
8227 * bits/basic_string.h (npos): Don't init here.
8228 * bits/string.tcc: Instead, do initialization here, to -1 instead
8229 of the size_type destructor.
8230
8231 * src/traits.cc, src/wtraits.cc: New files.
8232 * bits/char_traits.h: For char_traits<char> and
8233 char_traits<wchar_t>, declare static, but define over in the src
8234 files.
8235
8236 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8237 gslice_array, and _GsliceExpression.
8238
8239 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8240 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8241 stdout, and stderr. Note we do get unresolved refs to stdin, but
8242 that'll get fixed by the "true" solution.
8243
8244 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8245 definition of basic_streambuf.h, which is used in basic_ios.h to
8246 call pubimbue.
8247
8248 * bits/std_streambuf.h: Don't include libio.h for now.
8249 (class basic_streambuf): Define missing methods pubimbue and
8250 getloc.
8251
8252 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8253 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8254 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8255
8256 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8257
8258 * src/locale.cc: Come up with munged versions of _S_toupper,
8259 _S_tolower, and _S_table instead of the glibc-specific ones, so
8260 they're at least defined, if not necessarily usable. The glibc
8261 ones on any other system will yield unresolved refs to
8262 __ctype_{b,toupper,tolower}.
8263
8264 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8265 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8266 anymore cuz of the explicit specialization in char_traits.h.
8267 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8268 file for the details.
8269
8270 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8271 * stl/bits/stl_iterator.h (__distance): Likewise.
8272
8273 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8274 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8275 istream_iterator.
8276
8277 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8278
8279 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8280 return 0, not 1.
8281
8282 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8283
8284 This should really be fixed with __asm__ directives renaming the
8285 symbol, but keeping the function.
8286 * math/clogf.c (c_logf): Renamed from `clogf'.
8287 * math/clogl.c (c_logl): Renamed from `clogl'.
8288 * math/complex-stub.h (c_logf, c_logl): Change decls.
8289
8290 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8291 _CharT and _InIter parms, since they duplicate the enclosing ones.
8292
8293 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8294
8295 Deal with conflict of the iostreams `clog' and our internal
8296 complex number `clog'.
8297 * src/complex.cc: Call `c_log' instead of `clog'.
8298 * math/clog.c (c_log):: Renamed from clog.
8299 * math/complex-stub.h (c_log): Renamed from clog decl.
8300
8301 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8302 get/put classes.
8303 (num_put::put): #if 0 long long version, since we don't declare or
8304 define the long long version of do_put.
8305
8306 1998-08-18 Nathan Myers <ncm@cantrip.org>
8307
8308 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8309 type of get_allocator (thanks to Ryszard Kabatek).
8310 * bits/char_traits.h: make init order of fpos<> members
8311 match decl order.
8312 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8313 flags _S_fd_in etc. for special filebuf ctor.
8314 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8315 to work around problems in friend declarations.
8316 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8317 fix random type errors & typos
8318 * bits/std_fstream.h: major refitting to bypass libio (for now),
8319 instrument to use bits/fstream.tcc template definitions
8320 * bits/std_iosfwd.h: mess with wrappers
8321 * bits/std_istream.h: remove meaningless comment
8322 * bits/std_ostream.h: instrument to work with ostream.tcc.
8323 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8324 * bits/fstream.tcc: template defs for <fstream>
8325 * bits/ostream.tcc: template defs for <ostream>
8326 * bits/streambuf.tcc: template defs for <streambuf>
8327 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8328 * Delete .cc files, replace with bits/*.tcc
8329 src/fstream.cc
8330 src/istream.cc
8331 src/ostream.cc
8332 src/streambuf.cc
8333 * Add files:
8334 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8335 src/stdstreams.cc: cout, cin, etc. definitions
8336 (these still need work: must be init'd before user statics.)
8337
8338
8339 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8340
8341 Sent to SGI before checkin:
8342 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8343 operator>=): Define.
8344 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8345 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8346 operator>=): Define.
8347 (operator==, operator<): Add inline.
8348 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8349 operator>=): Define.
8350 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8351 operator>=): Define.
8352 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8353 operator>=): Define.
8354 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8355 operator>=): Define.
8356 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8357 operator>=): Define.
8358
8359 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8360 unary_function.
8361
8362 1998-08-15 Nathan Myers <ncm@cantrip.org>
8363
8364 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8365 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8366 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8367 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8368 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8369 * bits/std_sstream.h: formatting cleanups
8370
8371 1998-08-14 Nathan Myers <ncm@cantrip.org>
8372
8373 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8374 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8375 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8376 * bits/locfacets.h: fix missing argument in do_get_monthname
8377 (this is a bug in the standard, ref. 36 in my list.)
8378 * bits/locfacets.h: make month and day name caches mutable
8379 * bits/locfacets.tcc: various typos in get() functions
8380 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8381 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8382
8383 1998-08-12 Nathan Myers <ncm@cantrip.org>
8384 * move streambuf iterators to bits/sbuf_iter.h
8385 * optimize streambuf iterators
8386 * begin generalizing streambuf
8387 * begin implementing num_get<>::get (starting with bool)
8388 * patch stl/bits/stl_config.h so that relops operators are
8389 contained properly, out of the way.
8390
8391 1998-07-24 Nathan Myers <ncm@cantrip.org>
8392 * Fold in SGI 3.11 changes (uglified names, some algorithm
8393 improvements, very minor bug fixes.)
8394 * Uglify names elsewhere to match (s/_T/_Tp/).
8395 * Begin work on optimized streambuf
8396 * Put complex.cc in namespace std:: (thanks Martin)
8397
8398 1998-07-17 Nathan Myers <ncm@cantrip.org>
8399
8400 * bits/char_traits.h: add _Char_traits_match template.
8401 * bits/string.tcc: fix bugs in various find_last* members.
8402 * bits/basic_string.h: redeclare member _S_find.
8403 * stl/bits/stl_iterator.h: change member names in nonstandard
8404 templates bidirectional_reverse_iterator and
8405 random_access_reverse_iterator to match expected changes
8406 in upstream source.
8407 * src/string.cc: fix definitions of stream operators.
8408
8409 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8410
8411 * Makefile.am (SUBDIRS): Add string.
8412
8413 * configure.in: Test for long double functions separately. Test for
8414 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8415 Generate string/Makefile.
8416
8417 * bits/c++config.h: Define mbstate_t for Solaris.
8418
8419 * bits/char_traits.h: Remove unused #if.
8420
8421 * bits/std_cwchar.h: Declare wide char string functions.
8422
8423 * m4/stringfcts.m4: New file.
8424
8425 * math/complex-stub.h: Declare nan.
8426 * math/nan.c: New file.
8427
8428 * math/mathconf.h: Hack around missing endian.h file.
8429 Handle missing NAN definition.
8430 Handle missing float math functions.
8431
8432 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8433 (libstdc___la_LDFLAGS): Set version information.
8434
8435 * src/complexl.cc: Don't compile any code if no long double functions
8436 are available.
8437
8438 * string/Makefile.am: New file.
8439 * string/dummy.c: New file.
8440 * string/wmemchr.c: New file.
8441 * string/wmemcmp.c: New file.
8442 * string/wmemcpy.c: New file.
8443 * string/wmemmove.c: New file.
8444 * string/wmemset.c: New file.
8445
8446 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8447
8448 * configure.in: Make it work.
8449 * install-sh: New file.
8450 * missing: New file.
8451 * mkinstalldirs: New file.
8452 * m4/mathfcts.m4: New file.
8453 * math/Makefile.am: New file.
8454
8455 * bits/std_complex.h (conj): Mark specializations as inline.
8456
8457 * math/carg.c: New file.
8458 * math/cargf.c: New file.
8459 * math/cargl.c: New file.
8460 * math/mycabs.c: New file.
8461 * math/mycabsf.c: New file.
8462 * math/mycabsl.c: New file.
8463 * math/signbit.c: New file.
8464 * math/signbitf.c: New file.
8465 * math/signbitl.c: New file.
8466
8467 * math/ccos.c: Avoid ISO C 9x functionality.
8468 * math/ccosf.c: Likewise.
8469 * math/ccosh.c: Likewise.
8470 * math/ccoshf.c: Likewise.
8471 * math/ccoshl.c: Likewise.
8472 * math/ccosl.c: Likewise.
8473 * math/cexp.c: Likewise.
8474 * math/cexpf.c: Likewise.
8475 * math/cexpl.c: Likewise.
8476 * math/clog.c: Likewise.
8477 * math/clog10.c: Likewise.
8478 * math/clog10f.c: Likewise.
8479 * math/clog10l.c: Likewise.
8480 * math/clogf.c: Likewise.
8481 * math/clogl.c: Likewise.
8482 * math/cpow.c: Likewise.
8483 * math/cpowf.c: Likewise.
8484 * math/cpowl.c: Likewise.
8485 * math/csin.c: Likewise.
8486 * math/csinf.c: Likewise.
8487 * math/csinh.c: Likewise.
8488 * math/csinhf.c: Likewise.
8489 * math/csinhl.c: Likewise.
8490 * math/csinl.c: Likewise.
8491 * math/csqrt.c: Likewise.
8492 * math/csqrtf.c: Likewise.
8493 * math/csqrtl.c: Likewise.
8494 * math/ctan.c: Likewise.
8495 * math/ctanf.c: Likewise.
8496 * math/ctanh.c: Likewise.
8497 * math/ctanhf.c: Likewise.
8498 * math/ctanhl.c: Likewise.
8499 * math/ctanl.c: Likewise.
8500
8501 * math/complex-stub.h: New file.
8502
8503 * math/mathconf.h: New file.
8504
8505 * src/Makefile.am: New file.
8506
8507 * src/complex.cc: Use mathconf.h instead of complex.h.
8508 Don't use cabs, always use __mycabs.
8509
8510 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
8511
8512 * iterator (class reverse_iterator): Do some tweaks to be in sync
8513 w/ the FDIS.
This page took 0.447055 seconds and 6 git commands to generate.