Commit graph

581 commits

Author SHA1 Message Date
Alexandre Julliard 75eb987768 msvcrt: Use the sqrt() implementation from the bundled musl library. 2023-04-11 12:36:53 +02:00
Alexandre Julliard 20c53e72c9 msvcrt: Use the sqrtf() implementation from the bundled musl library. 2023-04-11 12:36:53 +02:00
Alexandre Julliard 5c00be28fc msvcrt: Use the tanh()/tanhf() implementation from the bundled musl library. 2023-04-10 14:18:20 +02:00
Alexandre Julliard 82563ede70 msvcrt: Use the asin() implementation from the bundled musl library. 2023-04-10 14:18:11 +02:00
Alexandre Julliard 85e655445b msvcrt: Use the nextafter()/nextafterf() implementation from the bundled musl library. 2023-04-07 13:28:07 +02:00
Alexandre Julliard 1cff65b69f msvcrt: Use the logb()/logbf() implementation from the bundled musl library. 2023-04-05 16:51:40 +02:00
Alexandre Julliard b5ba4baa51 msvcrt: Use the copysign()/copysignf() implementation from the bundled musl library. 2023-04-04 09:43:57 +02:00
Alexandre Julliard b7228259f8 msvcrt: Use the fabs()/fabsf() implementation from the bundled musl library. 2023-04-04 09:43:54 +02:00
Torge Matthies f26985affe msvcr100: Implement exception passing from chore threads to _RunAndWait. 2022-12-08 18:41:25 +01:00
Eric Pouech 565ce829e1 msvcr90: Fix warning on object access tests.
GCC 12 complains about accessing a too small object.

In function 'test__AdjustPointer',
    inlined from 'func_msvcr90' at wine/dlls/msvcr90/tests/msvcr90.c:2515:5:
wine/dlls/msvcr90/tests/msvcr90.c:1556:30: warning: array subscript 30 is outside array bounds of 'void[8]' [-Warray-bounds]
 1556 |         {&obj1, (char*)&obj1 + obj.off, {0, 0, 0}},
      |                 ~~~~~~~~~~~~~^~~~~~~~~

Since we're only checking the addresses and not the underlying objects,
use uintptr_t instead of pointers.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-07 23:20:39 +01:00
Bartosz Kosiorek 8590023041 msvcrt: Add _vcwprintf_l implementation. 2022-11-16 21:24:19 +01:00
Bartosz Kosiorek af7aaba0bf msvcrt: Add _vcprintf_l implementation. 2022-11-16 21:24:19 +01:00
Bartosz Kosiorek 69ce7894fb msvcrt: Add _scwprintf_p implementation. 2022-11-16 21:24:19 +01:00
Bartosz Kosiorek 78e5efd037 msvcrt: Add _scwprintf_p_l implementation. 2022-11-16 21:24:19 +01:00
Bartosz Kosiorek 1faad02cf1 msvcrt: Add _scwprintf_l implementation. 2022-11-16 21:24:19 +01:00
Alexandre Julliard 89cad8c4b7 msvcrt: Use WINAPIV calling convention for variadic functions. 2022-11-07 20:15:02 +01:00
Bartosz Kosiorek 7be72ce2a7 msvcrt: Add _swprintf_p_l implementation. 2022-11-01 20:50:05 +01:00
Bartosz Kosiorek e2911c5ee6 msvcrt: Add _scprintf_p_l implementation. 2022-11-01 20:50:01 +01:00
Bartosz Kosiorek 3ac9ff07af msvcrt: Add _scprintf_p implementation. 2022-11-01 20:49:58 +01:00
Bartosz Kosiorek 25d44dd397 msvcrt: Add _scprintf_l implementation. 2022-11-01 20:49:54 +01:00
Bartosz Kosiorek 74252df967 msvcrt: Add _fwprintf_s_l implementation. 2022-11-01 20:49:50 +01:00
Bartosz Kosiorek 2b19ff5c68 msvcrt: Add _fwprintf_p_l implementation. 2022-11-01 20:49:46 +01:00
Bartosz Kosiorek 630b9f8ec0 msvcrt: Add _fwprintf_p implementation. 2022-11-01 20:49:42 +01:00
Bartosz Kosiorek 33551b28a5 msvcrt: Add _fprintf_s_l implementation. 2022-11-01 20:49:38 +01:00
Bartosz Kosiorek 03ae830653 msvcrt: Add _fprintf_p_l implementation. 2022-11-01 20:49:34 +01:00
Bartosz Kosiorek f043fc32c9 msvcrt: Add _fprintf_p implementation. 2022-11-01 20:49:31 +01:00
Bartosz Kosiorek 52e2a53575 msvcrt: Add _fprintf_l implementation. 2022-11-01 20:49:27 +01:00
Bartosz Kosiorek dbb01a74e0 msvcrt: Add _mbctokata_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 6f9695c459 msvcrt: Add _mbctohira_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 5d71a61253 msvcrt: Add _mbctombb_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 7984319248 msvcrt: Add _mbcjmstojis_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 70db739c3d msvcrt: Add _mbcjistojms_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 64cfe7068f msvcrt: Add _mbbtombc_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 837da12929 msvcrt: Add _ismbckata_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 2f1e545387 msvcrt: Add _ismbchira_l implementation. 2022-10-31 20:41:45 +01:00
Bartosz Kosiorek 3cb897ffbb msvcrt: Add _mbsinc_l implementation. 2022-10-26 16:44:59 +02:00
Bartosz Kosiorek 46c836071e msvcrt: Add _ismbcsymbol_l implementation. 2022-10-26 16:44:55 +02:00
Bartosz Kosiorek 5b425baf92 msvcrt: Add _ismbstrail_l implementation. 2022-10-24 18:49:50 +02:00
Bartosz Kosiorek 80c97dc38b msvcrt: Add _ismbslead_l implementation. 2022-10-24 18:49:46 +02:00
Bartosz Kosiorek eee55c3588 msvcrt: Add _mbclen_l implementation. 2022-10-24 18:49:42 +02:00
Bartosz Kosiorek beb7f9fa2d msvcrt: Add _mbsicmp_l implementation. 2022-10-24 18:49:38 +02:00
Bartosz Kosiorek fce3c3cc09 msvcrt: Add _mbschr_l implementation. 2022-10-24 18:49:34 +02:00
Bartosz Kosiorek 9b64ea2bf2 msvcrt: Add _mbsupr_s_l partial implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-10-19 18:49:30 +02:00
Bartosz Kosiorek 01f3beef68 msvcrt: Add _mbslwr_s_l partial implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-10-19 18:49:26 +02:00
Bartosz Kosiorek 36ea6f0210 msvcrt: Add _mbctoupper_l partial implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-10-19 18:49:23 +02:00
Bartosz Kosiorek 0998dfe08d msvcrt: Add _mbctolower_l partial implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-10-19 18:49:19 +02:00
Shaun Ren 6d2a9af43b msvcrt: Fix strncmp return value.
Some programs, such as Final Fantasy IV (3D remake), expect strncmp
to return exactly +/-1 when the strings are not equal.

Signed-off-by: Shaun Ren <sren@codeweavers.com>
2022-09-19 20:12:32 +02:00
Paul Gofman 7ebba96a95 msvcr90/tests: Test ioinfo structure.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Piotr Caban 0fc71d4440 msvcr90/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 11:04:19 +01:00
Eric Pouech 9b802a3d56 msvcr: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-08 20:24:15 +01:00