Commit graph

156726 commits

Author SHA1 Message Date
Gabriel Ivăncescu
36d96b0fa0 jscript: Implement Array.prototype.lastIndexOf.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:25:25 +02:00
Gabriel Ivăncescu
f0dd9748da jscript: Implement Array.prototype.some.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:25:11 +02:00
Gabriel Ivăncescu
eb80db6f8a jscript: Implement Array.prototype.every.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:24:58 +02:00
Gabriel Ivăncescu
c603fb490a jscript: Implement Array.prototype.filter.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:24:44 +02:00
Gabriel Ivăncescu
a8057c2e14 jscript: Implement Array.prototype.toLocaleString.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:24:31 +02:00
Gabriel Ivăncescu
41782ec12e jscript: Return proper error in Number.toLocaleString with invalid 'this' in ES5 mode.
Note that, for example, Number.toFixed still returns JS_E_NUMBER_EXPECTED
even in ES5 mode (this is already tested).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:24:18 +02:00
Gabriel Ivăncescu
8aefdf48f9 jscript: Implement Number.prototype.toLocaleString.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 20:24:06 +02:00
Rémi Bernon
2921714f3c dinput/tests: Add some Windows.Gaming.Input.ForceFeedback.ConstantForceEffect tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:03:07 +02:00
Rémi Bernon
3f290740c0 dinput/tests: Remove output and feature report buffers length checks.
They are checked against the expected packet anyway, and they otherwise
are enforced to match their specific individual report length, which we
don't have any info about here.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:03:05 +02:00
Rémi Bernon
92f05bd3e7 dinput/tests: Move Windows.Gaming.Input.RacingWheel tests to joystick8.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:03:05 +02:00
Rémi Bernon
4ee3edf98c dinput/tests: Enforce HID report descriptor buffer size.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:03:05 +02:00
Rémi Bernon
b8a54fb1b8 dinput/tests: Increase delayed TryResetAsync test wait timeout.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:03:05 +02:00
Rémi Bernon
846e94f03d dinput/tests: Remove racy controller removed handler check.
It now consistently fails on w1064_tsign, and it's called concurrently
with the handler invocation.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:03:03 +02:00
Zebediah Figura
887f6891e7 dinput/tests: Set the callback event after setting "impl->invoked".
Fixes an intermittent test failure.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:03:01 +02:00
Zebediah Figura
982a5b9f91 dinput/tests: Do not test that reports are identical when polling.
This is dependent on timing, and currently fails occasionally both on Windows
and Wine.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:02:58 +02:00
Francois Gouget
9aa1d0a1a7 winebus.sys: Fix the HAVE_SYS_INOTIFY_H checks.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:02:55 +02:00
Jacek Caban
c736411fb8 winex11: Directly use ntdll in more places.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
f4b9ff7850 win32u: Allow NULL client_menu_name in NtUserRegisterClassExWOW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
e02c2f82d4 winex11: Reimplement EVENT_DropFromOffiX using get_dos_file_name.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
30e172203d winex11: Use import_text_uri_list code in EVENT_DropURLs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
0e37ee61b5 winex11: Use ntdll for Unicode conversion.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
1232609711 winex11: Directly use wine_nt_to_unix_file_name to get Unix path name.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
c0a8b2dbd5 winex11: Use ntdll_umbstowcs and ntdll_wcstoumbs for Unicode conversion.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
03e8991735 winex11: Use passed point in handle_position_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
ac9b635800 win32u: Use NT interface for MsgWaitForMultipleObjectsEx user driver entry point.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Jacek Caban
365bc308be win32u: Move normalize_std_handle call to NtUserMsgWaitForMultipleObjectsEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 19:01:13 +02:00
Eric Pouech
69ab9568b2 include/msvcrt: Redefine towlower* & towupper* with wint_t types.
It conflicts in C++ compilation with MINGW builtin definitions.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:58:28 +02:00
Paul Gofman
c515e55d71 crypt32: Reimplement CertNameToStrA() on top of CertNameToStrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:57:17 +02:00
Paul Gofman
f560aab5f6 crypt32: Reimplement CertRDNValueToStrA() on top of CertRDNValueToStrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:57:17 +02:00
Paul Gofman
bc96cfac11 crypt32: Fix filling short output in CertGetNameStringA().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:57:17 +02:00
Paul Gofman
66d9250c42 crypt32: Fix filling short output in CertGetNameStringW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:57:17 +02:00
Paul Gofman
a78f2319e8 crypt32: Fix filling short output in CertRDNValueToStrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:57:17 +02:00
Paul Gofman
61957d8212 crypt32: Fix filling short output in cert_name_to_str_with_indent().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:57:17 +02:00
Paul Gofman
20fd7dacd4 crypt32/tests: Add tests for short return string buffer.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:57:16 +02:00
Huw Davies
f23edac060 wineoss: Build with msvcrt.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:56:21 +02:00
Huw Davies
77ae49ce9a wineoss: Move AUXDM_GETVOLUME and AUXDM_SETVOLUME to the unixlib.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:56:16 +02:00
Huw Davies
d088c3a119 wineoss: Move AUXDM_GETDEVCAPS to the unixlib.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:56:13 +02:00
Huw Davies
b1f550651c wineoss: Move AUXDM_GETNUMDEVS to the unixlib.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:56:09 +02:00
Huw Davies
f278194caf wineoss: Use AUXDM_GETNUMDEVS to retrieve the number of devices.
This is temporary and allows the global variable to move to the unixlib.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:56:04 +02:00
Nikolay Sivov
f2403bf783 xmllite/reader: Implement CreateXmlReaderInputWithEncodingCodePage().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52953
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 18:55:52 +02:00
Alexandre Julliard
9afc20949a kernelbase: Reimplement GetCurrencyFormatW/Ex() using get_locale_info().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 12:26:28 +02:00
Alexandre Julliard
56099a3124 kernelbase: Reimplement GetNumberFormatW/Ex() using get_locale_info().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 12:26:28 +02:00
Alexandre Julliard
42afb693b1 kernel32: Reimplement GetCurrencyFormatA().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 12:26:28 +02:00
Alexandre Julliard
b6bf69ef80 kernel32: Reimplement GetNumberFormatA().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 12:26:28 +02:00
Alexandre Julliard
88a91169c5 shlwapi: Fix copy/paste typo in number format initialization.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 10:33:39 +02:00
Alexandre Julliard
c8fd783179 oleaut32: Use the locale leading zero flag instead of hardcoding it.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-03 10:33:21 +02:00
Anton Baskanov
f91f434835 winegstreamer: Commit allocator on pause in MPEG audio decoder.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov
1933981760 quartz/tests: Add tests for MPEG audio decoder source connection.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov
7c20724b0d quartz/tests: Add tests for MPEG audio decoder source allocator.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00
Anton Baskanov
aacf6bcd0f winegstreamer: Set allocator properties for MPEG audio decoder sink.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 22:43:53 +02:00