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