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