2007-10-20 Martin Sebor * ChangeLog: Regenerated. 2007-10-20 Martin Sebor STDCXX-350 * _rawiter.h [__GNUG__ >= 4] (get_temporary_buffer, return_temporary_buffer): Used __attribute__ (__may_alias__) to tell the gcc optimizier about type-punning in a reinterpret_cast() and to silence gcc 4 warning: dereferencing type-punned pointer will break strict-aliasing rules. 2007-10-20 Martin Sebor * 26.valarray.cassign.cpp (run_test): Disabled tests exercising valarray specializations on a user-defined type for 4.2.0 and prior since they are known to fail to compile due to STDCXX-512. 2007-10-20 Martin Sebor * _config.h (_RWSTD_VER): Corrected comments explaining source and binary compatibility rules controlling changes to the library version number. 2007-10-19 Travis Vitek * README (Index): Update section names and numbers. (VisualStudio Directory Structure): Add new section describing expected directory structure. (VisualStudio Setup Instructions): Remove filename extension from the list of supported configuration options so that the provided names match the names allowed by the configure script. 2007-10-19 Farid Zaripov * etc/config/windows/configure.wsf (configure): #define _RWSTD_NO_REENTRANT macro in config.h file for single-threaded builds for compatibility with prior versions of stdcxx on Windows (MSVC 7.x), i.e., in order to make 8s and 11s build types non-reentrant even when the compiler itself doesn't have a non-reentrant runtime (MSVC 8 and beyond). * include/rw/_config-msvcrt.h (_RWSTD_REENTRANT): #define macro only if #defined _MT and not #defined _RWSTD_NO_REENTRANT, for single-threaded builds with compilers that don't have a single-threaded CRT (i.e. MSVC 8, MSVC 9). 2007-10-19 Farid Zaripov Merged rev 586502 from branches/4.2.0. * _config-msvcrt.h [_DLL]: Define configuration macros to maintain binary compatibility with 4.1.x on MSVC only for dynamic builds to prevent the multiple definition symbols linker errors. 2007-10-19 Martin Sebor * README (Disclaimer): Added an explanation. (Contents): Expanded to document LICENSE.txt and NOTICE.txt. (Compatibility): Added a new subsection. (Unpacking Intructions): Expanded to clarify tarball names. (Source Directory Structure): Added documentation of top-level files new in this release and removed the no longer relevant blurb about the fixtree.sh script. (Library Utilities): Briefly documented the new utility programs, exec and gencat. (Test Suite Files): Added a few words about the exec utility. (Examples and Tutorials): Expanded and clarified. (Build Directory Structure): Removed obsolte text about tests being optional. (Library Build Instructions): Updated top-level directory listing. (Library Installation on UNIX Systems): New section documenting the install make target. (Library Installation on Microsoft Windows): Placeholder for future work. (config.h): Documented confih.log. (Compiler Configuration Macros): Documented _RWSTD_NO_OBJECT_MANGLING. (C Library Configuration Macros): Documented _RWSTD_NO_PURE_C_HEADERS. (Macros Controlling Strings): Documented _RWSTD_USE_STRING_ATOMIC_OPS. (HP aCC): Arranged compiler versions from most recent to oldest. (SGI MIPSpro): Added "tested with" versions. (Sun C++): Added x86 to the set of arches. 2007-10-18 Martin Sebor * ChangeLog: Regenerated. 2007-10-18 Martin Sebor * branches/4.2.x: Created a copy of the head of branches/4.2.0 in preparation for maintenance (micro) releases after 4.2.0. 2007-10-18 Farid Zaripov STDCXX-509 * limits_bits.cpp [_RWSTD_VER_MAJOR < 5 && _MSC_VER && _DLL] (__rw_flt_denorm_min_vc, __rw_flt_infinity_vc, __rw_flt_qNaN_vc, __rw_flt_sNaN_vc, __rw_dbl_denorm_min_vc, __rw_dbl_infinity_vc, __rw_dbl_qNaN_vc, __rw_dbl_sNaN_vc, __rw_ldbl_denorm_min_vc, __rw_ldbl_infinity_vc, __rw_ldbl_qNaN_vc, __rw_ldbl_sNaN_vc): New constants exported as the corresponding floating constants with the same mangled names as those from 4.1.3 (sans the _vc suffix) for the binary compatibility with prior releases. 2007-10-18 Martin Sebor * string (__replace_aux): Made member function template public as intended (but not actually done) in rev 586118 to get HP aCC 3 and 5 to compile the code again (and to restore the solution implemented for STDCXX-271). 2007-10-18 Travis Vitek Martin Sebor * _config-msvc.h: Reverted rev 586112 and applied the same patch below (modulo some additional noise that had accidentally slipped in). * _config-msvcrt.h [_RWSTD_VER_MAJOR < 5]: Define configuration macros to maintain binary compatibility with 4.1.x on both MSVC and Intel C++ on Windows. 2007-10-18 Martin Sebor * string (_C_grow): Made private again, after inadvertently making it public for MSVC in rev 544975 while fixing STDCXX-271 for HP aCC and braking binary compatibiliy in programs compled with MSVC that invoke the replace() member function template (which in turn calls the inline but exported _C_grow()). 2007-10-18 Travis Vitek * _config-msvc.h [_RWSTD_VER_MAJOR < 5]: Define configuration macros to maintain binary compatibility with 4.1.x on MSVC. 2007-10-18 Martin Sebor Disabled fix for STDCXX-469 for Microsoft Visual Studio to maintain binary compatibility with stdcxx 4.1.x (the compiler mangles the access specifier of class members into their names). * include/loc/_facet.h [_MSC_VER] (__rw_facet, ~__rw_facet): Made class ctor and dtor public again until stdcxx 5.0. 2007-10-18 Martin Sebor Disabled fix for STDCXX-162 for binary compatibility with stdcxx 4.1.x. * include/rw/_config.h (_RWSTD_NO_STRING_ATOMIC_OPS): New macro #defined on x86_64 Linux unless _RWSTD_USE_STRING_ATOMIC_OPS is #defined on the command line (or in the generated config.h header). * include/rw/_strref.h (_RWSTD_NO_STRING_MUTEX): Guarded by the new _RWSTD_NO_STRING_ATOMIC_OPS macro. 2007-10-17 Martin Sebor * README: Merged rev 585595 from trunk. 2007-10-16 Martin Sebor Merged changes for STDCXX-505 from trunk. * doc/stdlibref/acknow.html: Renamed... * doc/stdlibref/history.html: ...to this. * doc/stdlibref/frames-intro-contents.html: Reflected the above. * doc/stdlibug/acknow.html: Renamed... * doc/stdlibug/history.html: ...to this. * doc/stdlibug/frames-intro-contents.html: Reflected the above. * doc/stdlibref/history.html: Updated. * doc/stdlibug/history.html: Same. 2007-10-16 Martin Sebor Merged rev 584997 from trunk. * README: Removed the "(pre-release)" bit from the version string and added the set of platforms on which 4.2.0 has been tested on. 2007-10-16 Martin Sebor Merged rev 585216 from trunk. * ChangeLog: Generated a single per-project ChangeLog. * examples/ChangeLog: Deleted. Superseded by the above. * include/ChangeLog: Likewise. * src/ChangeLog: Likewise. * util/ChangeLog: Likewise. * tests/ChangeLog: Likewise. 2007-10-16 Martin Sebor STDCXX-600 * include/exception (exception): Partially reverted fix for STDCXX-262 committed in rev 583667 due to the binary incompatibility of the change both with stdcxx 4.1.x as well as with gcc's libsupc++. 2007-10-15 Martin Sebor * src/ChangeLog: Merged in from trunk. * include/ChangeLog: Likewise. * examples/ChangeLog: Likewise. * tests/ChangeLog: Likewise. * util/ChangeLog: Likewise. 2007-10-15 Martin Sebor STDCXX-599 * file.cpp [!_RWSTD_NO_PURE_C_HEADERS] (mkstemp): Relaxed a guard around a declaration of a POSIX (but not C) function to enable it in strict C++ environments (e.g., with EDG eccp). 2007-10-15 Martin Sebor STDCXX-509 * limits [_RWSTD_NO_OBJECT_MANGLING] (__rw_flt_denorm_min, __rw_flt_infinity, __rw_flt_qNaN, __rw_flt_sNaN, __rw_dbl_denorm_min, __rw_dbl_infinity, __rw_dbl_qNaN, __rw_dbl_sNaN, __rw_ldbl_denorm_min, __rw_ldbl_infinity, __rw_ldbl_qNaN, __rw_ldbl_sNaN): Declared with C++ linkage when the config macro is #defined for binary compatibility with prior 4.x releases. * limits_bits.cpp: Same as above for definitions of constants. * num_get.cpp [_RWSTD_NO_OBJECT_MANGLING] (__rw_flt_infinity, __rw_dbl_infinity, __rw_ldbl_infinity): Same. 2007-10-15 Martin Sebor * valarray.cpp: Merged from trunk at rev 584618. 2007-10-15 Martin Sebor * exception: Merged from trunk at rev 583667. * new: Same. 2007-10-15 Martin Sebor * NO_OBJECT_MANGLING.cpp: Merged from trunk at rev 584880. * object_mangling_imp.cpp: Same. 2007-10-15 Martin Sebor * branches/4.2.0: Merged changes required to port to EDG eccp. * branches/4.2.0/include/rw/_config-eccp.h: from trunk at rev 583987. * branches/4.2.0/include/ansi/_cerrno.h: from trunk at rev 583997. * branches/4.2.0/src/file.cpp: from trunk at rev 583990. * branches/4.2.0/etc/config/src/WCHAR_T.cpp: from trunk at rev 583980. 2007-10-15 Martin Sebor * branches/4.2.0/doc: Merged the latest trunk. 2007-10-15 Farid Zaripov STDCXX-206 * _ioinsert.cc (__rw_insert): Corrected #ifndef to #ifdef. 2007-10-05 Farid Zaripov * _punct.cc (__rw_match_name): Added missing space character. 2007-10-04 Farid Zaripov STDCXX-564 * _punct.cc (__rw_match_name): Cast 1UL constant to _RWSTD_SIZE_T to avoid 64-bit MSVC warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?). * file.cpp [_WIN64]: Disable 64-bit MSVC warning C4244 for __rw_fseek(), __rw_fread(), __rw_fwrite() functions. 2007-10-04 Farid Zaripov STDCXX-576 * sstream.cc (xsputn): If __s is a part of the internal buffer and buffer reallocation is needed, save the offset of the __s from pbase() anc correct __s value after the buffer reallocation. 2007-10-01 Travis Vitek STDCXX-568 * mapfile.gcc: Add ASL header. * mapfile.gcc-2: Same. 2007-10-01 Travis Vitek STDCXX-568 * rwstdmessages.cpp: Add ASL header. * rwstdmessages.msg: Same. * rwstdmessages.rc: Same. 2007-10-01 Travis Vitek STDCXX-561 * T.61-8BIT: Add ASL header. * ISO_646.IRV: Same. 2007-10-01 Travis Vitek STDCXX-560 * MADVISE.cpp: Add ASL header. 2007-10-01 Travis Vitek STDCXX-452 * setlocale.cpp (~__rw_setlocale): Restore the previous locale in a threadsafe manner. Simplified. 2007-10-01 Farid Zaripov STDCXX-452 STDCXX-453 * punct.cpp (__rw_get_moneypunct): After creating __rw_setlocale object check if the locale data is initialized by another thread to avoid doing unnecessary work and leaking memory. (__rw_get_numpunct): Ditto. 2007-09-28 Martin Sebor * branches/4.2.0: Merged the head of trunk. 2007-09-11 Martin Sebor * libc_decl.sh: Merged with r573411 of trunk: http://svn.apache.org/viewvc?view=rev&revision=573411. * acc.config: Same. 2007-08-24 Andrew Black STDCXX-470 STDCXX-479 STDCXX-481 * etc/config/src/LIMITS.cpp: Revert http://svn.apache.org/viewvc?view=rev&revision=554421 , accidentally merged to 4.2.0 prematurely as part of http://svn.apache.org/viewvc?view=rev&revision=569152 . * GNUmakefile: Deploy http://svn.apache.org/viewcvs?view=rev&rev=555061 to enable building with Sun C++ 5.9 (Sun Studio 12). * etc/config/GNUmakefile.cfg: Ditto. * etc/config/sunpro.config: Ditto. * etc/config/makefile.rules: Ditto. 2007-08-23 Andrew Black STDCXX-482 * LIMITS.cpp: Deploy http://svn.apache.org/viewvc?view=rev&rev=555106 to 4.2.0 to avoid stalls in nightly testing testing system (caused by usage of the 4.2.0 branch in the nightly testing system.) 2007-06-26 Martin Sebor * stdcxx/branches/4.2.0: Merged the head of stdcxx/trunk. * 4.2.0: New branch based off of trunk/ at rev 536028. 2007-05-06 Martin Sebor * stdlibug/22-2.html: Inserted Google Analytics tracking code using the sed script below: /<\/BODY>/ { $!N s/<\/BODY>\n<\/HTML>/\n\n\n