Commit graph

158823 commits

Author SHA1 Message Date
Stefan Dösinger 8bddb9808e ddraw: Don't account video memory for sysmem surfaces' draw textures.
Star Trek Starfleet Academy does not like it when available video memory
goes down after creating a system memory resource. It destroys all its
textures and recreates them, and in some sitations forgets to recreate
one or another texture, resulting in rendering bugs.

I suspect the game is trying to detect focus loss by monitoring for
unexpected video memory changes.
2022-08-02 11:58:59 +02:00
Rémi Bernon d7457fd32e winex11.drv: Constify set_current_mode DEVMODEW parameter. 2022-08-02 11:56:37 +02:00
Rémi Bernon 395273d6e1 winex11.drv: Iterate display settings using dmDriverExtra. 2022-08-02 11:56:36 +02:00
Rémi Bernon 581b30d318 winex11.drv: Use DEVMODEW instead of x11drv_display_setting.
Keeping the id in the dmDriverExtra bytes.
2022-08-02 11:56:35 +02:00
Rémi Bernon cd0b4393e5 winex11.drv: Update devmode dmPosition instead of new_rect. 2022-08-02 11:56:34 +02:00
Rémi Bernon d621a7a3e3 winex11.drv: Use DM_POSITION field bit to mark placed displays. 2022-08-02 11:56:33 +02:00
Rémi Bernon 65b71e858e winex11.drv: Use a local desired_rect variable when placing displays. 2022-08-02 11:56:31 +02:00
Gabriel Ivăncescu b9f22f6078 mshtml: Implement MediaQueryList's matches prop.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-02 11:55:11 +02:00
Gabriel Ivăncescu 09b73c89c4 mshtml: Implement MediaQueryList's media prop.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-02 11:55:11 +02:00
Gabriel Ivăncescu b918a532bc mshtml: Implement window.matchMedia() with MediaQueryList stub.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-02 11:55:11 +02:00
Jacek Caban 7e2beeec91 user32: Forward more scroll bar messages to win32u.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53364
2022-08-01 16:07:32 +02:00
Rémi Bernon b48fc2c2d6 winegstreamer: Use the correct name for WMADecMediaObject DMO. 2022-08-01 15:26:24 +02:00
Rémi Bernon 6d64e40776 mf: Increase min_buffer_size to MF_MT_AUDIO_AVG_BYTES_PER_SECOND.
When it is specified. The Resampler transform exposes the block
alignment in its output stream info cbSize, and the session then
otherwise reads data one audio frame at a time.
2022-08-01 15:26:22 +02:00
Rémi Bernon c806c4eed5 mf: Implement SAR media type required attributes checks. 2022-08-01 15:26:22 +02:00
Rémi Bernon e5a512eb93 winegstreamer: Set the MF_MT_AUDIO_AVG_BYTES_PER_SECOND attribute.
This is required by the Resampler transform, and will be used in next
patch as well as for session buffer size heuristic.
2022-08-01 15:26:20 +02:00
Rémi Bernon 180572129f mf: Return MF_E_NO_MORE_TYPE from AudioRenderer GetMediaTypeByIndex. 2022-08-01 15:26:20 +02:00
Rémi Bernon 3dbb6c7470 mf/tests: Add required SAR media type attributes tests. 2022-08-01 15:26:18 +02:00
Alexandre Julliard c86955d380 Release 7.14.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-29 22:03:04 +02:00
Paul Gofman b46917a481 opengl32/tests: Remove depth 32 / stencil 0 test in test_choosepixelformat().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53429
2022-07-29 21:34:32 +02:00
Gabriel Ivăncescu f48709cfe4 mshtml: Handle lack of window in methods for detached documents.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:04 +02:00
Gabriel Ivăncescu 144b30d941 mshtml: Implement DocumentType node's name prop.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:04 +02:00
Gabriel Ivăncescu d07c81158f mshtml: Implement document.doctype.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:04 +02:00
Gabriel Ivăncescu 434f9f1404 include: Add DOMDocumentType dispinterface and coclass.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:04 +02:00
Gabriel Ivăncescu fbefdd6753 include: Add IHTMLDOMNode3 to the HTMLDOMNode dispinterfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:03 +02:00
Nikolay Sivov f6f2a1a3e5 dwrite: Fix fallback config ranges text parsing.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-29 18:55:38 +02:00
Eric Pouech 16bcc3bc29 winedbg: Synthetize pointer to type when not available.
This ensures that we always have a type as pointer to a known <type>
(either because it exists in <type>'s module, or it's synthetized inside
debugger).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-29 18:55:32 +02:00
Eric Pouech dd977e4a85 winedbg: Store result of types_get_info(TI_GET_TYPE) in dbg_type.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-29 18:55:30 +02:00
Nikolay Sivov d909f27590 win32u: Fix typo in font handle creation in NtUserDrawCaptionTemp().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-28 21:36:00 +02:00
Rémi Bernon 4304a677c1 maintainers: Assume maintainership of input sections. 2022-07-28 20:08:58 +02:00
Rémi Bernon a2395ecf96 server: Use the client provided rawinput registered device array. 2022-07-28 20:08:58 +02:00
Rémi Bernon 1587e9db88 win32u: Implement NtUserGetRegisteredRawInputDevices on the client side. 2022-07-28 20:08:58 +02:00
Rémi Bernon c484e4b87e win32u: Use a struct list to keep rawinput devices. 2022-07-28 20:08:31 +02:00
Rémi Bernon 37a3c916b4 win32u: Use a static size array for rawinput device path. 2022-07-28 20:08:31 +02:00
Alexandre Julliard e31276e9a2 makefiles: Look for source files in the makefile before trying to open them.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-28 17:46:51 +02:00
Alexandre Julliard 56fea67c53 makefiles: Work directly with Makefile.in names in make_makefiles. 2022-07-28 17:46:51 +02:00
Alexandre Julliard 6f4d1766a7 makefiles: Avoid adding the same source multiple times. 2022-07-28 17:46:50 +02:00
Alexandre Julliard 872dc83e81 makefiles: List all headers in the makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-28 17:46:50 +02:00
Gabriel Ivăncescu c82900e207 mshtml: Implement "text" type response for XMLHttpRequest.
Also basic implementation of arraybuffer/blob with invalid state, mostly
to show how the tests will look.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-28 17:34:03 +02:00
Gabriel Ivăncescu 6537c36df4 mshtml: Implement responseType prop for XMLHttpRequest.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-28 17:34:03 +02:00
Gabriel Ivăncescu fab55e22b7 mshtml: Fix string leak on NamespaceError.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-28 17:34:03 +02:00
Hugh McMaster b8b87e55a6 regedit: Limit REG_DWORD/REG_QWORD input length by value type and format. 2022-07-28 17:34:03 +02:00
Hugh McMaster e604f3e2ef regedit: Use zero as a REG_DWORD/REG_QWORD default if edit control is empty. 2022-07-28 17:34:03 +02:00
Jacek Caban cf9e6b3b22 user32: Inline DEFWND_ControlColor implementation. 2022-07-28 17:34:03 +02:00
Jacek Caban fa7aaca9f1 win32u: Remove no longer needed exports. 2022-07-28 17:34:03 +02:00
Jacek Caban 3dc3709f4c win32u: Introduce NtUserGetDialogProc.
And use it in user32 instead of DEFDLG_GetDlgProc.
2022-07-28 17:34:03 +02:00
Jacek Caban 1cd5702d9f win32u: Introduce NtUserGetDialogInfo and NtUserSetDialogInfo.
And use it instead of accessing window object from user32.
2022-07-28 17:34:03 +02:00
Jacek Caban fcf4d07161 user32: Use GetWindowLongPtr for GetWindowModuleFileName implementation. 2022-07-28 17:34:03 +02:00
Jacek Caban 11657aab27 user32: Avoid using WIN_GetPtr for window handle validation.
We will eventually want to make GetWindowThreadProcessId fast (probably based on shared handle table) instead of calling win32u.
2022-07-28 17:34:03 +02:00
Santino Mazza 059c70d736 riched20/test: Add scrolling test for richole.
Signed-off-by: Santino Mazza <mazzasantino1206@gmail.com>
2022-07-28 17:34:02 +02:00
Santino Mazza 25209c162f riched20: Ensure that cursor is visible when selecting text.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40444
Signed-off-by: Santino Mazza <mazzasantino1206@gmail.com>
2022-07-28 17:34:02 +02:00