Commit Graph

621 Commits

Author SHA1 Message Date
André Hentschel 63faf29c2a msvcp90: Use boolean return values in boolean functions. 2014-01-30 14:51:38 +01:00
Piotr Caban e7c9e32d7d msvcp110: Fix sprintf argument size in num_put::do_put_double. 2014-01-27 14:13:23 +01:00
Piotr Caban 47f4e08a93 msvcp90: Fix ios_base_setf implementation. 2014-01-27 14:13:21 +01:00
Piotr Caban 12cfebb683 msvcp90: Read last character of bool string in num_get_do_get_bool. 2014-01-27 14:13:20 +01:00
Piotr Caban 75bcbece56 msvcp90: Fix basic_istream<wchar>::read implementation. 2014-01-27 14:13:18 +01:00
Piotr Caban d5b72bbcdc msvcp110: Fix _Ctypevec structure layout. 2014-01-14 20:18:21 +01:00
Piotr Caban 08e851f3c6 msvcp110: Fix basic_streambuf structure layout. 2014-01-14 20:18:20 +01:00
Piotr Caban 1d1ea6ebf4 msvcp110: Add _New_Locimp implementation. 2014-01-14 20:18:19 +01:00
Piotr Caban f3abe0bd7f msvcp110: Add locale::_Init implementation. 2014-01-14 20:18:19 +01:00
Piotr Caban 866b616d1b msvcp110: Make locale::facet::Incref and Decref virtual. 2014-01-14 20:18:18 +01:00
Alexandre Julliard 645540beed msvcp90: Add wrappers for functions that don't exist in old msvcrt versions. 2014-01-13 17:37:22 +01:00
Alexandre Julliard c2b0732108 msvcp90: Avoid using get_current_locale that doesn't exist in old msvcrt versions. 2014-01-13 17:37:21 +01:00
Alexandre Julliard 581dd68c8a msvcp90: Don't build the new-style string iterator functions for old msvcp versions. 2014-01-13 17:37:20 +01:00
Alexandre Julliard 4d7255d2df msvcp90: Remove parameter checks from functions that are only used for old msvcp versions. 2014-01-13 17:37:19 +01:00
Alexandre Julliard 0f81fcb02f msvcp90: Call the appropriate secure function instead of duplicating the checks. 2014-01-13 17:37:18 +01:00
Alexandre Julliard 3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00
Piotr Caban 50e3f110d0 msvcp110: Share the source code with msvcp90. 2014-01-07 15:37:38 +01:00
Marcus Meissner eddc91f6e7 msvcp90: Return on error (Coverity). 2014-01-06 20:46:59 +01:00
Piotr Caban 2a8a1452ac msvcp80: Fix ostreambuf_iterator<char> structure definition. 2014-01-03 14:40:47 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 263a1448f9 msvcp: Don't assume that msvcrt is imported. 2013-12-27 14:31:52 +01:00
Alexandre Julliard db0a6fcaa5 msvcp: Don't forward the mbtowc functions to msvcrt. 2013-12-27 14:31:52 +01:00
Alexandre Julliard b2d030a9ca msvcp: Don't forward __uncaught_exception to msvcrt. 2013-12-27 14:31:52 +01:00
Alexandre Julliard 91356c3bed msvcp100: Implement _Locinfo::_Getname. 2013-12-23 11:54:28 +01:00
Alexandre Julliard 6e47b1691b msvcp90: Work around Mingw duplicate encode/decode_pointer definition. 2013-12-21 12:50:32 +01:00
Alexandre Julliard b6e5496da4 msvcp90: Avoid mismatched parentheses inside ifdefs. 2013-12-21 12:43:09 +01:00
Alexandre Julliard c3f70de66e msvcp: Import the corresponding version of the msvcr library. 2013-12-20 17:09:12 +01:00
Alexandre Julliard 6d30d6be78 msvcp100: Share the source code with msvcp90. 2013-12-19 17:06:09 +01:00
Alexandre Julliard 40a64912ae msvcp90: Set the thiscall parameter count according to the size of the stream size and offset types. 2013-12-19 17:06:07 +01:00
Alexandre Julliard a8202d0e11 msvcp: Add macros to switch the string type used in the locale information structure. 2013-12-19 12:22:14 +01:00
Alexandre Julliard 0a59471c99 msvcp90: Always print stream sizes and offsets as long long to support various sizes. 2013-12-19 12:22:12 +01:00
Alexandre Julliard 7ef6e00633 msvcp71: Share the locale.c implementation with msvcp90. 2013-12-16 21:56:14 +01:00
Alexandre Julliard a7a149fde1 msvcp71: Share the ios.c implementation with msvcp90. 2013-12-16 21:55:46 +01:00
Alexandre Julliard 40f175f926 msvcp71: Share the string.c implementation with msvcp90. 2013-12-16 21:55:44 +01:00
Alexandre Julliard 0da244851f msvcp90: Add MSVCP_ prefix on more of the string iterator functions. 2013-12-16 21:55:43 +01:00
Alexandre Julliard a4303e7246 msvcp90: Use thiscall where appropriate in the header file. 2013-11-25 15:15:54 +01:00
Daniel Lehman 90cb553e5e msvcp90: Return last index in string::find_last_not_of_cstr_substr if input is empty. 2013-11-14 10:37:23 +01:00
Alexandre Julliard 4c4a654552 msvcp80: Share the implementation with msvcp90. 2013-11-12 13:56:07 +01:00
Andrey Zhezherun 44bf8dc429 msvcp: Fixed complex division. 2013-11-05 20:38:20 +01:00
Andrey Zhezherun c1a5b06d49 msvcp: Added missing casts to unsigned char in streambuf functions. 2013-11-04 11:35:54 +01:00
Andrey Zhezherun 43d3148357 msvcp: Fixed char_traits<char>::to_int_type. 2013-11-04 11:35:11 +01:00
Piotr Caban 8e26d7aee8 msvcp: Add ostream::operator<<(unsigned short) implementation. 2013-09-23 20:32:19 +02:00
Piotr Caban f159b33da2 msvcp: Fix default constructor closures arguments. 2013-09-23 20:32:17 +02:00
Piotr Caban 95af810de5 msvcp: Make it possible to shrink allocated memory in basic_string::reserve. 2013-09-23 20:32:16 +02:00
Piotr Caban 52aeccf960 msvcp90: Fix string leak in locale__Locimp__Makeloc function. 2013-08-28 16:14:37 +02:00
André Hentschel 1151546ce0 msvcp90/tests: Add dynamically loaded functions for ARM. 2013-08-15 16:17:09 +02:00
Alexandre Julliard 418fbc6770 msvcp90: Don't bother to clean up at process exit. 2013-05-20 12:29:07 +02:00
Piotr Caban 96761461d8 msvcp90: Add arm exports. 2013-04-03 20:31:30 +02:00
Piotr Caban 1f2aceb5be msvcp: Change architecture of more thiscall functions. 2013-04-03 20:30:51 +02:00
Stefan Leichter c19275302f msvcp: Match architecture with function we're forwarding to. 2013-04-02 12:12:20 +02:00
Austin English f3c154197e msvcp90/tests: Remove thiscall_thunk_retptr struct definitions. 2013-03-25 16:25:04 +01:00
Piotr Caban 5401437739 msvcp90: Added time_put facet to locale object. 2013-03-25 14:06:30 +01:00
Piotr Caban 1c688130c4 msvcp90: Added collate facet to locale object. 2013-03-25 14:06:28 +01:00
Piotr Caban 889786edd1 msvcp90: Added time_put class implementation. 2013-03-25 14:06:26 +01:00
Piotr Caban 38302c20f0 msvcp90: Added time_put class stub. 2013-03-25 14:06:24 +01:00
Piotr Caban cfec148b8b msvcp90: Prefer builtin version. 2013-02-18 14:51:04 +01:00
Andrew Talbot 51a79287c0 msvcp90: Avoid signed-unsigned integer comparisons. 2013-02-18 10:32:35 +01:00
Piotr Caban 67a2fb01ce msvcp90: Added std::sqrt(complex) tests. 2013-01-25 11:18:43 +01:00
Piotr Caban 68f538faaa msvcp90: Added std::pow(complex) and std::sqrt(complex) implementation. 2013-01-25 11:18:39 +01:00
Piotr Caban 2350e48f20 msvcp90: Added std::norm(complex) and std::polar(complex) implementation. 2013-01-25 11:18:35 +01:00
Piotr Caban 690e32684d msvcp90: Added std::log10(complex) tests. 2013-01-25 11:18:32 +01:00
Piotr Caban 55aeaf3c76 msvcp90: Added std::log(complex) and std::exp(complex) implementation. 2013-01-25 11:18:28 +01:00
Piotr Caban ec5e51d893 msvcp90: Added std::tanh(complex) tests. 2013-01-24 14:35:00 +01:00
Piotr Caban b0cb2ead33 msvcp90: Added complex hyperbolic functions implementation. 2013-01-24 14:34:53 +01:00
Piotr Caban 66ee663e0c msvcp90: Added std::tan(complex) tests. 2013-01-24 14:34:47 +01:00
Piotr Caban ed0e16ae3d msvcp90: Added complex trigonometric functions implementation. 2013-01-24 14:34:43 +01:00
Piotr Caban 94da034364 msvcp90: Added std::conj(complex) implementation. 2013-01-24 14:34:37 +01:00
Piotr Caban 2e4eb12219 msvcp90: std::_Fabs(complex) tests. 2013-01-24 14:34:32 +01:00
Piotr Caban 3e9db55b09 msvcp90: Added std::abs(complex) implementation. 2013-01-24 14:34:26 +01:00
Piotr Caban e4525224b0 msvcp90: Added complex::real and complex::imag implementation. 2013-01-24 14:34:20 +01:00
Piotr Caban 3e97454837 msvcp90: Added std::arg(complex) implementation. 2013-01-16 20:27:46 +01:00
Piotr Caban 383bbb87f6 msvcp90: Added basic complex numbers tests. 2013-01-16 20:27:44 +01:00
Piotr Caban 733b2c3b27 msvcp90: Added operators working on complex numbers. 2013-01-16 20:27:40 +01:00
Piotr Caban a51d65da77 msvcp90: Added complex<{float, double, long double}> constructors implementation. 2013-01-16 20:27:37 +01:00
Andrew Talbot 19c7cb6f38 msvcp90: Remove unused semicolons. 2012-12-03 12:34:11 +01:00
Piotr Caban a1797d885f msvcp: Remove superfluous semicolons. 2012-11-28 20:14:47 +01:00
Piotr Caban a62ea07a15 msvcp: Sync implementations. 2012-11-27 16:56:09 +01:00
Andrew Talbot c25d7f1b3c msvcp90: Remove superfluous semicolons. 2012-11-27 16:53:58 +01:00
Michael Stefaniuc cf36ddd6fc msvcp: Don't cast zero. 2012-11-19 11:46:21 +01:00
Piotr Caban 15bef00d65 msvcp: Sync implementations. 2012-11-16 11:42:27 +01:00
Piotr Caban a497d36a62 msvcp90: Added wctrans and towctrans tests. 2012-11-16 11:42:00 +01:00
Piotr Caban a71acb3076 msvcp90: Added wctrans and towctrans implementation. 2012-11-16 11:41:55 +01:00
Piotr Caban aa04ea7009 msvcp90: Fixed basic_istream_char_read_uint64 tests. 2012-11-14 16:32:00 +01:00
Piotr Caban 96c9b0fb84 msvcp90: Fixed a memory leak in virtual destructor tests. 2012-11-12 12:13:13 +01:00
Piotr Caban 0609fccf44 msvcp90: Free memory allocated by _get_current_locale function. 2012-11-12 12:13:09 +01:00
Daniel Lehman 23cbfff4b6 msvcp90/tests: Add fstream<>::tellg tests. 2012-11-09 11:41:58 +01:00
Piotr Caban 605ea64985 msvcp: Fixed uninitialized variable access in num_get::_Getffld and _Getifld functions. 2012-11-07 18:12:07 +01:00
Piotr Caban 654a3ec500 msvcp90: Destroy string returned by basic_stringbuf_char_str_get. 2012-11-07 18:12:06 +01:00
Piotr Caban 9b0ce65bb6 msvcp90: Fixed long long printing in tests. 2012-11-07 18:12:06 +01:00
Daniel Lehman 89cde281d4 msvcp90: Use streambuf sgetc/snextc in std::getline(istream<> &). 2012-11-05 11:08:01 +01:00
Piotr Caban 5e1cbccebf msvcp90: Use critical sections in mutex object. 2012-11-02 20:12:24 +01:00
Piotr Caban 0280c5fb5f msvcp90: Fixed incorrect sentry object usage. 2012-11-02 20:12:20 +01:00
Daniel Lehman 01c451703c msvcp90: In istream<>::tellg don't use sentry. 2012-10-31 16:12:28 +01:00
Daniel Lehman 771cc7fdbd msvcp90: Fix usage of fpos<>::off vs fpos<>::pos. 2012-10-31 16:12:28 +01:00
Daniel Lehman 64527285cf msvcp90: Update fpos<>::off instead of pos in stringbuf<>::seekoff. 2012-10-31 16:12:28 +01:00
Daniel Lehman 32be163545 msvcp90: Set eof state in istream<>::peek if got eof. 2012-10-29 20:23:39 +01:00
Daniel Lehman 7fe93a5f75 msvcp90: In istream::seekg, don't use sentry and clear state. 2012-10-26 11:49:20 +02:00
Daniel Lehman 7fa823e5fa msvcp90: Set state at end of istream<>::ignore. 2012-10-25 12:52:16 +02:00
Daniel Lehman d6e86edb99 msvcp90: Set failbit at end of istream<>::sentry::_Ipfx. 2012-10-24 11:27:30 +02:00
Piotr Caban 4a566ed3d6 msvcp90: Convert characters to unsigned char before passing them to functions operating on integers. 2012-10-24 11:25:52 +02:00
Daniel Lehman 9416918a5d msvcp90: In num_put, use default precision of 6 if 0 and not fixed. 2012-10-19 11:16:43 +02:00
Daniel Lehman 415d3a2425 msvcp: Free facet and _Locimp in Locimp dtor. 2012-10-18 19:34:25 +02:00
Piotr Caban 9b516abb48 msvcp: Sync implementations. 2012-10-17 11:53:45 +02:00
Piotr Caban 1f4f07c026 msvcp90: Added _Nomemory implementation. 2012-10-17 11:53:40 +02:00
Piotr Caban ea828e557f msvcp90: Fixed strstreambuf_ctor_get implementation. 2012-10-17 11:53:39 +02:00
Daniel Lehman 82c1fb41aa msvcp90: Fix num_get<>::_Getffld. 2012-10-16 12:18:05 +02:00
Daniel Lehman 8ed96ab041 msvcp90: In codecvt<wchar_t>::do_out, copy local buffer to *to_next. 2012-10-12 11:03:04 +02:00
Daniel Lehman c65bd5cad2 msvcp90: Fix parsing in num_get<>::_Getifld. 2012-10-12 11:02:50 +02:00
Daniel Lehman 4f5f2e8e1b msvcp90: Copy facetvec element pointer in copy ctor. 2012-10-10 20:34:00 +02:00
Daniel Lehman 650ccf598e msvcp90: Initialize state in mb_to_wc. 2012-10-10 20:33:59 +02:00
Daniel Lehman 8780fa642a msvcp90: Fix export for fstream<wchar_t> ctor. 2012-10-09 18:32:29 +02:00
Daniel Lehman 1f324d543f msvcp90: Fix cxx exception information for 64-bit. 2012-10-09 18:32:29 +02:00
Daniel Lehman b1d9d16c7e msvcp90: Flip fclose result check in filebuf<>::close. 2012-10-09 18:32:28 +02:00
Daniel Lehman d67923575a msvcp90: Change basic_ios<wchar_t>::imbue to match char version. 2012-10-09 18:32:27 +02:00
Piotr Caban ea5b845b32 msvcp90: Added _Winit class implementation. 2012-10-04 13:40:59 +02:00
Piotr Caban a221f87709 msvcp90: Added ios_base::Init class implementation. 2012-10-04 13:40:44 +02:00
Piotr Caban 0cb615cf80 msvcp90: Fixed io classes cleaning. 2012-10-04 13:40:32 +02:00
Piotr Caban 5998072af6 msvcp90: Removed no longer needed exports. 2012-10-04 13:40:13 +02:00
Piotr Caban 38d7325106 msvcp90: VTBL_WRAPPER(60) is unused so remove it. 2012-09-17 12:08:34 +02:00
Piotr Caban f8350fc15b msvcp90: Remove unused thiscall functions. 2012-09-14 15:45:09 +02:00
Piotr Caban fbd7765187 msvcp90: Fixed _Getcat return type. 2012-09-14 15:44:53 +02:00
Piotr Caban 905752e0f4 msvcp90: Added ios_base flags manipulators implementation. 2012-09-13 17:01:15 +02:00
Piotr Caban dadc409bae msvcp: Fixed displaying of not NULL-terminated strings in debug traces. 2012-09-12 16:03:44 +02:00
Piotr Caban 69e12a9ae9 msvcp90: Added std::ws(basic_istream) implementation. 2012-09-12 16:03:30 +02:00
Piotr Caban 5258b3a219 msvcp90: Fixed copied buffer siezes in functions operating on wchar_t. 2012-09-11 18:07:14 +02:00
Piotr Caban cba2102b7e msvcp90: Fixed reading lines containing only delimiter in basic_istream::getline_bstr_delim. 2012-09-11 18:07:09 +02:00
Dan Kegel 8e9e82f41e msvcp90: Handle npos as length in more places. 2012-09-10 11:46:55 +02:00
Piotr Caban f2a26313e1 msvcp90: Added std::flush(basic_ostream) implementation. 2012-09-07 11:55:59 +02:00
Piotr Caban d161abb9b3 msvcp90: Pass RTTI base pointer from DllMain. 2012-09-07 11:55:52 +02:00
Piotr Caban e9b51093de msvcp90: Added locale_ctor_locale_locale implementation. 2012-09-06 15:45:34 +02:00
Piotr Caban 225cab9842 msvcp90: Fixed locale_ctor_cstr implementation. 2012-09-06 15:45:33 +02:00
Piotr Caban 0e6171f6d7 msvcp90: Fixed basic_stringbuf_wchar_overflow implementation. 2012-09-06 15:45:33 +02:00
Piotr Caban 7477ceb6d1 msvcp90: Fixed RTTI structure on 64-bit systems. 2012-09-05 21:56:58 +02:00
Piotr Caban fef8a52fc9 msvcrt: Fixed vector destructors implementation on 64-bit systems. 2012-08-20 15:00:43 +02:00
Piotr Caban e40d02868d msvcp90: Fixed buffer allocation in basic_stringbuf<wchar> class. 2012-08-20 10:57:15 +02:00
Piotr Caban 584a48a380 msvcp90: Manually define virtual destructors in vtables. 2012-08-17 16:24:50 +02:00
Francois Gouget 0b8fc03379 msvcp90: Make basic_istream_read_str() static. 2012-08-16 17:07:56 +02:00
Piotr Caban 6b5e9e3e3f msvcp100: Fixed streamoff and streamsize definition. 2012-08-16 11:50:21 +02:00
Piotr Caban c5f2e6623d msvcp90: Added missing -ret64 option. 2012-08-15 12:20:17 +02:00
Piotr Caban 0ef93eb0e5 msvcp90: Added strstreambuf seekpos and seekoff implementation. 2012-08-15 12:20:07 +02:00
Piotr Caban e5d7d65791 msvcp90: Reset width value in basic_istream class on error. 2012-08-15 12:19:57 +02:00
Piotr Caban 76821340a4 msvcp90: Fixed basic_streambuf::sputn functions behaviour when there's no place in buffer. 2012-08-15 12:19:50 +02:00
Piotr Caban f143f3e6bc msvcp90: Added partial strstreambuf implementation. 2012-08-15 12:19:44 +02:00
Piotr Caban 1202e8bf87 msvcp90: Use streamoff in std::_BADOFF definition. 2012-08-15 12:19:35 +02:00
Piotr Caban 625940a560 msvcp90: Added basic_stringstream<short> implementation. 2012-08-15 12:19:27 +02:00
Piotr Caban b1ff81a770 msvcp90: Added basic_istringstream<short> implementation. 2012-08-15 12:19:21 +02:00
Piotr Caban 8499ea376d msvcp90: Added basic_ostringstream<short> implementation. 2012-08-15 12:19:13 +02:00
Piotr Caban fe8811bfd8 msvcp90: Export wcin, wcout, wcerr and wclog objects. 2012-08-15 12:19:04 +02:00
Alexandre Julliard 8fdb55cf5c msvcp90: Fix the calling convention of the basic_string helpers. 2012-08-14 13:29:20 +02:00