1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00
Commit Graph

159916 Commits

Author SHA1 Message Date
Alexandre Julliard
4172c04826 nls: Allow specifying a locale's native digits.
Inspired by a patch from Nikolay Sivov.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53770
2022-10-19 18:48:30 +02:00
Alistair Leslie-Hughes
42bd5ea4c4 crypt32: Only report Unimplemented decoder when not found in external dll.
Some applications spam this fixme.
fixme:cryptasn:CRYPT_GetBuiltinDecoder Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4

This OID is supported in wintrust.dll which crypt32 uses, so this console fixme doesn't make sense.
The fixme will only appear if no support for the requested decoder is available.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53800
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2022-10-19 18:48:30 +02:00
Rémi Bernon
9062314aed winex11.drv: Use session BaseNamedObjects for display_device_init mutex.
The mutex is also used in user32, gdi32, and winevulkan, where it is
opened through kernel32, which opens it from the session directory.

Note that this was also not even using the global BaseNamedObjects and
was silently failing to open the mutex.
2022-10-19 18:48:30 +02:00
Rémi Bernon
94ece19f8e win32u: Use session BaseNamedObjects for display_device_init mutex.
The mutex is also used in user32, gdi32, and winevulkan, where it is
opened through kernel32, which opens it from the session directory.
2022-10-19 18:48:30 +02:00
Gabriel Ivăncescu
da4a45cdaf mshtml: Move the OleObj interfaces out of basedoc.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-19 12:39:48 +02:00
Gabriel Ivăncescu
6c706e02ae mshtml: Move the IOleCommandTarget interface out of basedoc.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-19 12:39:48 +02:00
Gabriel Ivăncescu
07bf1d7304 mshtml: Move the Persist interfaces out of basedoc.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-19 12:39:48 +02:00
Gabriel Ivăncescu
ac56d24e36 mshtml: Move the IServiceProvider interface out of basedoc.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-19 12:39:47 +02:00
Gabriel Ivăncescu
5e062a9948 mshtml: Move the ConnectionPointContainer out of basedoc.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-19 12:39:47 +02:00
Gabriel Ivăncescu
01fb4b5e7a netprofm: Handle non-internet connectivity.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-19 12:38:41 +02:00
Gabriel Ivăncescu
0ad36ed3e7 wininet: Handle offline state in InternetGetConnectedStateExW.
Some applications (e.g. Deus Ex Human Revolution: Director's Cut) use the
output from this function to determine whether they should connect.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-19 12:38:39 +02:00
Piotr Caban
6c161f3359 comctl32: Add helper for getting icon from HPROPSHEETPAGE. 2022-10-18 23:53:39 +02:00
Piotr Caban
f6fcb16765 comctl32: Add helper for getting title from HPROPSHEETPAGE. 2022-10-18 23:53:39 +02:00
Piotr Caban
91baf79a6c comctl32: Add helper for loading dialog template from HPROPSHEETPAGE. 2022-10-18 23:53:39 +02:00
Piotr Caban
cf6de3e099 comctl32: Add helper for getting flags from HPROPSHEETPAGE. 2022-10-18 23:53:39 +02:00
Piotr Caban
e05f6451bc comctl32: Add helper for calling PROPERTYSHEETPAGE callback. 2022-10-18 23:53:38 +02:00
Nikolay Sivov
e5bfd522d2 dwrite/tests: Use existing to create factory instance. 2022-10-18 23:52:30 +02:00
Connor McAdams
f36e1b9138 uiautomationcore: Add support for getting HWND providers to uia_node_from_lresult().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-18 17:57:54 +02:00
Connor McAdams
750d11a49a uiautomationcore: Add support for getting HWND providers to UiaNodeFromProvider().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-18 17:57:54 +02:00
Connor McAdams
59a629810a uiautomationcore: Determine provider type for nested node providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-18 17:57:54 +02:00
Connor McAdams
edcd55bae2 uiautomationcore: Add support for multiple providers on a single HUIANODE.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-10-18 17:57:54 +02:00
Alex Henrie
e9ff761d51 include: Add WSANO_ADDRESS to winsock2.h.
Needed to compile Tera Term.
2022-10-18 17:57:28 +02:00
Stanislav Motylkov
4f4b342ad4 hhctrl.ocx: Fix toolbar icons order.
In `hhtoolbar.bmp` the "Expand" icon comes first, then "Collapse".
2022-10-18 17:56:45 +02:00
Zhiyi Zhang
a8396d8b1e comctl32/listview: Don't repaint when handling WM_STYLECHANGED.
Some applications subclass listview and change style multiple times when painting. Invalidating
control when handling WM_STYLECHANGED causes infinite WM_PAINT messages in this case and end up
stalling the message queue.
2022-10-18 17:56:32 +02:00
Zhiyi Zhang
44cfa3ec1a comctl32/treeview: Don't repaint when handling WM_STYLECHANGED.
Some applications subclass treeview and change style multiple times when painting. Invalidating
control when handling WM_STYLECHANGED causes infinite WM_PAINT messages in this case and end up
stalling the message queue.
2022-10-18 17:56:27 +02:00
Zhiyi Zhang
c8ec431fd4 comctl32/tests: Test if WM_STYLECHANGED repaints controls. 2022-10-18 17:56:27 +02:00
Zhiyi Zhang
d7c27e19f9 comctl32/tests: Ignore WM_NCPAINT when testing WM_THEMECHANGED for updown control.
Fix a possible test failure.
2022-10-18 17:56:23 +02:00
Jacek Caban
8aa5b99627 user.exe: Pass resource ID as a string in DIALOG_CreateControls16.
Based on commit 0739aa610c.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53646
2022-10-18 17:55:19 +02:00
Hugh McMaster
03f5f72c13 kernel32/tests: Add tests for GetConsoleOriginalTitleA/W(). 2022-10-17 18:14:01 +02:00
Hugh McMaster
4951ab6436 kernelbase: Add stubs for GetConsoleOriginalTitleA/W(). 2022-10-17 18:13:54 +02:00
Fabian Maurer
173ffe5011 ntdll: Prevent double free (Coverity).
The fd gets overwritten, therefore we need to close it before doing so.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-10-17 17:51:02 +02:00
Hugh McMaster
c7b8da649d kernel32/tests: Remove tests comparing expected output in certain functions.
The Windows versions of [Read|Write]ConsoleOutput[Attribute|Character]
appear to assign an uninitialized internal DWORD to the given pointer
address before returning.

As the functions fail (intentionally) in these tests, the value of the
DWORD is never set, so the tests end up comparing the expected value of
zero with random values.

This value of this test is very limited and is best removed.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53686
2022-10-17 17:51:02 +02:00
Ziqing Hui
a32782d28b win32u: Add more linked fonts for Tahoma. 2022-10-17 17:51:02 +02:00
Ziqing Hui
71b1e636ec win32u: Add font link for MS UI Gothic.
Win10 has font link for most of the system default fonts,
including MS UI Gothic. This fixes Korean text display issue
for Romance of the There Kindoms XIII.
2022-10-17 17:51:02 +02:00
Ziqing Hui
a9cc68336c win32u: Add mechanism for font specific system links. 2022-10-17 17:51:02 +02:00
Alexandre Julliard
b591b3167c nls: Update locales that have been added in recent Windows versions. 2022-10-17 12:56:47 +02:00
Alex Henrie
52ffd611de shell32: Sanitize Program Manager icon and group names.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52506
2022-10-17 11:40:12 +02:00
Alex Henrie
6004f5b0da shell32: Introduce combine_path helper for DDE. 2022-10-17 11:40:12 +02:00
Alex Henrie
0d90fa6348 shell32: Use standard C functions for memory allocation in dde.c. 2022-10-17 11:40:12 +02:00
Alex Henrie
6664991f24 shell32: Move strndupW to dde.c. 2022-10-17 11:40:12 +02:00
Gabriel Ivăncescu
2dcc5a7026 jscript: Implement reviver argument for JSON.parse.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-17 11:27:04 +02:00
Gabriel Ivăncescu
a4697901cc jscript/tests: Fix copy paste mistake in JSON test.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-17 11:27:04 +02:00
Gabriel Ivăncescu
35a6555929 jscript: Implement Function.prototype.bind's thisArg properly.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-17 11:27:04 +02:00
Piotr Caban
0e49547c7a winedump: Add support for EMRI_METAFILE_EXT records. 2022-10-17 11:26:51 +02:00
Piotr Caban
893ac00873 winedump: Add prefix when dumping EMF files. 2022-10-17 11:26:51 +02:00
Piotr Caban
4d649c6232 winedump: Dump metafiles in EMF spool files. 2022-10-17 11:26:51 +02:00
Piotr Caban
d745c8d4a0 winedump: Don't use static offset in dump_emfrecord. 2022-10-17 11:26:51 +02:00
Piotr Caban
cf78df3612 winedump: Fix buffer overflow in debugstr_wn helper. 2022-10-17 11:26:51 +02:00
Piotr Caban
cfbe32d557 winedump: Add initial EMF spool files support. 2022-10-17 11:26:50 +02:00
Rémi Bernon
60f1436e68 opengl32: Use has_extension in filter_extensions_index. 2022-10-17 11:24:44 +02:00