reactos.git
3 years ago[BROWSEUI] Refactoring CAutoComplete Part 1 (#3472)
Katayama Hirofumi MZ [Mon, 22 Feb 2021 21:07:09 +0000 (06:07 +0900)]
[BROWSEUI] Refactoring CAutoComplete Part 1 (#3472)

- Expand tabs to spaces in CAutoComplete.h.
- Add m_ prefix to every member variable.
CORE-9281

3 years ago[FREELDR] DetectPnpBios(): Add 'i' to ERR() debug print (#3465)
Serge Gautherie [Mon, 22 Feb 2021 18:10:27 +0000 (19:10 +0100)]
[FREELDR] DetectPnpBios(): Add 'i' to ERR() debug print (#3465)

Addendum to 17990b2 (r73617). CORE-12623

3 years ago[OPENGL32] Fix Red and Green Color Swap (#3478)
Doug Lyons [Mon, 22 Feb 2021 16:45:33 +0000 (10:45 -0600)]
[OPENGL32] Fix Red and Green Color Swap (#3478)

CORE-16221

3 years ago[USETUP] Display the "check the FS" section as a MUI page (#3474)
George Bișoc [Mon, 22 Feb 2021 15:48:03 +0000 (16:48 +0100)]
[USETUP] Display the "check the FS" section as a MUI page (#3474)

3 years agoReplace my E-mail with the ReactOS org one (#3475)
George Bișoc [Mon, 22 Feb 2021 15:26:55 +0000 (16:26 +0100)]
Replace my E-mail with the ReactOS org one (#3475)

From now on for ReactOS related contributions only the organization e-mail shall be used and also reverse the order of my real full name.

3 years ago[FREELDR/x64] Fix MSVC x64 boot
Hervé Poussineau [Mon, 22 Feb 2021 14:15:18 +0000 (15:15 +0100)]
[FREELDR/x64] Fix MSVC x64 boot

3 years ago[RSYM/x64] Allow binaries without symbol table
Hervé Poussineau [Mon, 22 Feb 2021 13:30:22 +0000 (14:30 +0100)]
[RSYM/x64] Allow binaries without symbol table

3 years ago[RSYM/x64] Make command line compatible with x86 version
Hervé Poussineau [Mon, 22 Feb 2021 13:17:32 +0000 (14:17 +0100)]
[RSYM/x64] Make command line compatible with x86 version

x86 version needs input and output file names as arguments, even if is called with
input file name = output file name.
x86 version also accepts a -s argument to the root path of ReactOS sources

Make x64 version take the same arguments.

3 years ago[FREELDR/x64] Partly revert 5367ae576083f18c0fbdf0c1e6954c0bb1b47845
Hervé Poussineau [Mon, 22 Feb 2021 09:30:51 +0000 (10:30 +0100)]
[FREELDR/x64] Partly revert 5367ae576083f18c0fbdf0c1e6954c0bb1b47845

Using RealModeEntryPoint uses IMAGE_REL_I386_REL16, now supported by obj2bin

3 years ago[OBJ2BIN] Add support for IMAGE_REL_I386_REL16
Hervé Poussineau [Mon, 22 Feb 2021 09:06:20 +0000 (10:06 +0100)]
[OBJ2BIN] Add support for IMAGE_REL_I386_REL16

Also return error in case of unknown relocation type.

3 years ago[FREELDR] Fix check, as FreeLoader x64 compiled with GCC only have 2 sections (.text...
Hervé Poussineau [Sun, 21 Feb 2021 23:04:40 +0000 (00:04 +0100)]
[FREELDR] Fix check, as FreeLoader x64 compiled with GCC only have 2 sections (.text and .bss)

3 years ago[FREELDR/x64] Change syntax to be compatible with GAS x64
Hervé Poussineau [Sun, 21 Feb 2021 23:04:11 +0000 (00:04 +0100)]
[FREELDR/x64] Change syntax to be compatible with GAS x64

3 years ago[LSASRV] Improve the policy change registration code and notify registered events
Eric Kohl [Sun, 21 Feb 2021 17:05:11 +0000 (18:05 +0100)]
[LSASRV] Improve the policy change registration code and notify registered events

3 years ago[README] Trivial correction: replace "Seven" with "7" (#3469)
pivotman319 [Sun, 21 Feb 2021 15:48:20 +0000 (16:48 +0100)]
[README] Trivial correction: replace "Seven" with "7" (#3469)

3 years ago[NTOS:CM] Report key creation to the notify code
Eric Kohl [Sun, 21 Feb 2021 14:49:06 +0000 (15:49 +0100)]
[NTOS:CM] Report key creation to the notify code

3 years ago[SHIMGVW] Use _countof instead of ARRAYSIZE and use UINT (#3471)
Katayama Hirofumi MZ [Sun, 21 Feb 2021 01:28:08 +0000 (10:28 +0900)]
[SHIMGVW] Use _countof instead of ARRAYSIZE and use UINT (#3471)

- Use _countof macro instead of non-standard ARRAYSIZE macro.
- Use UINT type for array index instead of INT type, to erase signed/unsigned comparison warning.
JIRA issue: N/A

3 years ago[WIN32K] Add StretchBlt function ability to flip images (#3458)
Doug Lyons [Sat, 20 Feb 2021 23:28:36 +0000 (17:28 -0600)]
[WIN32K] Add StretchBlt function ability to flip images (#3458)

Modify dib\dibxxbpp.c programs to understand flipped images. See Videos at CORE-16642

1. Mirroring Horizontally works.
2. Mirroring Vertically works.
3. Rotation 180° works.

CORE-16642, CORE-14408, CORE-16634

3 years ago[GDI32_APITEST] Add more StretchBlt Regression Tests (#3455)
Doug Lyons [Sat, 20 Feb 2021 23:21:51 +0000 (17:21 -0600)]
[GDI32_APITEST] Add more StretchBlt Regression Tests (#3455)

Added tests for many more StretchBlt options.
Created StretchBlt regression tests for verifying most flip options.
This is preparation for my Pull Request #3458 which will implement the flip functionality for StretchBlt.

CORE-16642

3 years ago[KERNEL32] Align the PROCESS_PRIORITY_CLASS variable in GetPriorityClass on a 4-byte...
Colin Finck [Sat, 20 Feb 2021 16:13:38 +0000 (17:13 +0100)]
[KERNEL32] Align the PROCESS_PRIORITY_CLASS variable in GetPriorityClass on a 4-byte boundary.

Fixes CORE-16757.
This is required for NtQueryInformationProcess as proven by my test application in the bug report.

3 years ago[LSASRV] Add start code for the netlogon service
Eric Kohl [Fri, 19 Feb 2021 20:53:00 +0000 (21:53 +0100)]
[LSASRV] Add start code for the netlogon service

3 years ago[NTOS:CC] Keep a reference on the shared cache map of the file when we are in lazy...
Jérôme Gardou [Fri, 19 Feb 2021 14:47:05 +0000 (15:47 +0100)]
[NTOS:CC] Keep a reference on the shared cache map of the file when we are in lazy write

This should fix "Leaking VACB" debug prints

3 years ago[NTOS:WMI] Be consistent about potential NULL pointer use
Jérôme Gardou [Thu, 18 Feb 2021 09:24:53 +0000 (10:24 +0100)]
[NTOS:WMI] Be consistent about potential NULL pointer use

3 years ago[NTOS:WMI] IoWMIWriteEvent(): Add WNODE_FLAG_TRACED_GUID case
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[NTOS:WMI] IoWMIWriteEvent(): Add WNODE_FLAG_TRACED_GUID case

Addendum to d5f8964 (r23040).
CORE-17384

3 years ago[NTOS:WMI] IoWMIWriteEvent(): Fix annotation, Extend DPRINT1()
Serge Gautherie [Wed, 9 Sep 2020 01:46:56 +0000 (03:46 +0200)]
[NTOS:WMI] IoWMIWriteEvent(): Fix annotation, Extend DPRINT1()

CORE-17384

3 years ago[NTOS:MM] Handle demand zero PTEs with MM_EXECUTE_READWRITE and MM_READWRITE
Timo Kreuzer [Sun, 1 Nov 2020 14:13:36 +0000 (15:13 +0100)]
[NTOS:MM] Handle demand zero PTEs with MM_EXECUTE_READWRITE and MM_READWRITE

3 years ago[PSDK] winbase.h: Update LoadLibraryEx() dwFlags value defines (#3456)
Serge Gautherie [Tue, 16 Feb 2021 15:37:48 +0000 (16:37 +0100)]
[PSDK] winbase.h: Update LoadLibraryEx() dwFlags value defines (#3456)

Add another Vista check.
Addendum to 986cc5e.

3 years ago[SHIMGVW] Update Czech (cs-CZ) translation
Václav Zouzalík [Mon, 15 Feb 2021 21:07:41 +0000 (22:07 +0100)]
[SHIMGVW] Update Czech (cs-CZ) translation

3 years agoRevert "Disable some C++ code, which doesn't compile for me"
Hervé Poussineau [Mon, 15 Feb 2021 23:13:18 +0000 (00:13 +0100)]
Revert "Disable some C++ code, which doesn't compile for me"

This reverts commit 83d9920cb9a1ff0fb7dca07402b2aaba2f9cc644.

3 years agoDisable some C++ code, which doesn't compile for me
Hervé Poussineau [Wed, 3 Jun 2020 19:46:52 +0000 (21:46 +0200)]
Disable some C++ code, which doesn't compile for me

3 years ago[NTOS:KD] Merge initialization phases 1 and 2, and fix log file debugging
Hervé Poussineau [Mon, 15 Feb 2021 22:20:15 +0000 (23:20 +0100)]
[NTOS:KD] Merge initialization phases 1 and 2, and fix log file debugging

Phase 2 and 3 were not done anymore since 777a2d94da285f9ab612680ebb9f5d412b74fb68.

Fix that, by merging phases 1 and 2, and by calling phase 3 later
for log file debugging, when ExpInitializationPhase = 3

CORE-17470

3 years ago[SHIMGVW] Refactoring (#3461)
Katayama Hirofumi MZ [Mon, 15 Feb 2021 10:21:55 +0000 (19:21 +0900)]
[SHIMGVW] Refactoring (#3461)

- Make the calls of CallWindowProc and DefWindowProc Wide (Unicode).
- Delete needless type casts.
- Add const to function arguments.
- Improve ImageView_LoadSettings function.
- Insert OFN_EXPLORER flag.

3 years ago[MMSYS] Add the OFN_EXPLORER flag to the Browse for sound dialog. (#3460)
Jared Smudde [Sun, 14 Feb 2021 20:40:30 +0000 (14:40 -0600)]
[MMSYS] Add the OFN_EXPLORER flag to the Browse for sound dialog. (#3460)

3 years ago[SHIMGVW] Fix wrong text into the title bar. (#3459)
Carlo Bramini [Sun, 14 Feb 2021 17:38:36 +0000 (18:38 +0100)]
[SHIMGVW] Fix wrong text into the title bar. (#3459)

Unicode/ANSI conversion problem happened by some wrong ANSI function calls. This PR fixes them by modifying CMakeLists.txt.

3 years ago[NETAPI32] Use our implementation of NetWkstaUserEnum instead of the Wine stub
Eric Kohl [Sun, 14 Feb 2021 10:26:54 +0000 (11:26 +0100)]
[NETAPI32] Use our implementation of NetWkstaUserEnum instead of the Wine stub

3 years ago[WKSSVC][NETAPI32] Implement NetrWkstaGetInfo and get rid of the old NetWkstaGetInfo...
Eric Kohl [Sat, 13 Feb 2021 22:19:29 +0000 (23:19 +0100)]
[WKSSVC][NETAPI32] Implement NetrWkstaGetInfo and get rid of the old NetWkstaGetInfo implementation

3 years ago[SHIMGVW]Update German translation
Robert Naumann [Sat, 13 Feb 2021 19:59:38 +0000 (20:59 +0100)]
[SHIMGVW]Update German translation

3 years ago[SHELL32] Update German translation
Robert Naumann [Sat, 13 Feb 2021 19:14:05 +0000 (20:14 +0100)]
[SHELL32] Update German translation

-change "Meine Musik" to "Eigene Musik" to get a consistent naming. Same for "Meine Videos".

3 years ago[SHIMGVW] Fix CTRL-K to IDC_ROT_CLOCKW (#3457)
Carlo Bramini [Sat, 13 Feb 2021 18:32:19 +0000 (19:32 +0100)]
[SHIMGVW] Fix CTRL-K to IDC_ROT_CLOCKW (#3457)

As signaled in CORE-11044, the IDC_ROT_COUNCW was assigned to both CW and CCW rotation.

3 years ago[SHIMGVW] Add new features (CORE-11044) (#3113)
Carlo Bramini [Sat, 13 Feb 2021 14:22:21 +0000 (15:22 +0100)]
[SHIMGVW] Add new features (CORE-11044) (#3113)

Add these new features:

- Use accelerator table for keyboard hotkeys.
- Updated italian translation.
- Simplified creation of toolbar and tooltips.
- Added missing toolbar buttons.
- Initialize common controls for theming.

French translation by Kyle Katarn.
Polish translation by Adam Stachowicz.

3 years ago[PSDK] winbase.h: Update LoadLibraryEx() dwFlags value defines (#3153)
Serge Gautherie [Sat, 13 Feb 2021 14:16:49 +0000 (15:16 +0100)]
[PSDK] winbase.h: Update LoadLibraryEx() dwFlags value defines (#3153)

* Deci-to-Hexa.
* Add more values.
* Add a Vista check.

3 years ago[NOTEPAD] Implement File->New Window
Robert Naumann [Thu, 11 Feb 2021 21:04:36 +0000 (22:04 +0100)]
[NOTEPAD] Implement File->New Window

*Windows starts a new own's instance too, when clicking on "New Window" (Tested by @HBelusca)

3 years agorapps pl-PL lang update (#3454)
Piotr Hetnarowicz [Fri, 12 Feb 2021 10:42:52 +0000 (11:42 +0100)]
rapps pl-PL lang update (#3454)

rapps pl-PL lang update

3 years ago[CONSRV] SetConWndConsoleLeaderCID(): Check must be before dereferencing (#3451)
Serge Gautherie [Wed, 10 Feb 2021 17:55:19 +0000 (18:55 +0100)]
[CONSRV] SetConWndConsoleLeaderCID(): Check must be before dereferencing (#3451)

Addendum to f12e601.

3 years ago[VIDEOPRT] Mark low memory range as NOACCESS when we don't need to access it.
Jérôme Gardou [Wed, 10 Feb 2021 14:21:55 +0000 (15:21 +0100)]
[VIDEOPRT] Mark low memory range as NOACCESS when we don't need to access it.

This allows to accomplish great things, such as crashing when dereferencing NULL pointer.

3 years ago[NTOS:MM] Do not assert on a case we actually support
Jérôme Gardou [Wed, 10 Feb 2021 14:21:00 +0000 (15:21 +0100)]
[NTOS:MM] Do not assert on a case we actually support

3 years ago[CONSRV] Set 0 as a console leader PID/TID when unsetting it.
Jérôme Gardou [Wed, 10 Feb 2021 14:09:48 +0000 (15:09 +0100)]
[CONSRV] Set 0 as a console leader PID/TID when unsetting it.

Instead of whatever is behind the NULL pointer.

3 years ago[NTOS:MM] Flush dirty pages after closing the page files.
Jérôme Gardou [Wed, 10 Feb 2021 10:06:44 +0000 (11:06 +0100)]
[NTOS:MM] Flush dirty pages after closing the page files.

CORE-17462

3 years ago[SYSSETUP] Update German translation.
Robert Naumann [Tue, 9 Feb 2021 20:03:34 +0000 (21:03 +0100)]
[SYSSETUP] Update German translation.

3 years ago[NTOS:CC] Raise status, when CcMapData fails (#3348)
Timo Kreuzer [Tue, 9 Feb 2021 08:29:48 +0000 (09:29 +0100)]
[NTOS:CC] Raise status, when CcMapData fails (#3348)

Also add a check in fastfat, that asserts, when CcMapData returns FALSE.

3 years ago[LOAD][UNLOAD] Fix w*printf() format strings (#3319)
Serge Gautherie [Mon, 8 Feb 2021 15:47:13 +0000 (16:47 +0100)]
[LOAD][UNLOAD] Fix w*printf() format strings (#3319)

Also:
- Set ServiceName.MaximumLength.
- Fix MSVC warnings:
'...\load\load.c(19): warning C4267: '=': conversion from 'size_t' to 'USHORT', possible loss of data
'...\unload\unload.c(19): warning C4267: '=': conversion from 'size_t' to 'USHORT', possible loss of data'
'...\unload\unload.c(24): warning C4476: 'wprintf' : unknown type field character 'U' in format specifier'
'...\unload\unload.c(24): warning C4474: 'wprintf' : too many arguments passed for format string'

3 years ago[DOC][WS2_32][WS2HELP] Fix ws2* paths (#3425)
Serge Gautherie [Sun, 7 Feb 2021 21:17:01 +0000 (22:17 +0100)]
[DOC][WS2_32][WS2HELP] Fix ws2* paths (#3425)

3 years ago[TRANSLATION] Chinese Traditional (zh-TW) translation improvement (#3430)
Aobi Chan CL [Sun, 7 Feb 2021 21:14:19 +0000 (05:14 +0800)]
[TRANSLATION] Chinese Traditional (zh-TW) translation improvement (#3430)

- CACLS, FONTSUB, NOTEPAD, SOLITAIRE, VCDCONTROLTOOL, WORDPAD: Update Chinese Traditional translation.
- CALC, PING, SYSTEMINFO Add Chinese Traditional translation.
- PING, SYSTEMINFO: Update zh-TW.rc to make it less Windows like (maybe).
- WRITE, WINFILE: Translation sync to Wine.

+ Update media/doc/For_Chinese_Translation.txt

3 years ago[INF] Add Czech (cs-CZ), Slovak (sk-SK) and Esperanto (eo-AA) translations (#3446) 3446/head
Václav Zouzalík [Thu, 4 Feb 2021 19:46:21 +0000 (20:46 +0100)]
[INF] Add Czech (cs-CZ), Slovak (sk-SK) and Esperanto (eo-AA) translations (#3446)

3 years ago[SYSSETUP] Make status dialog look like msgina status dialog (#2825)
Yaroslav Kibysh [Sun, 7 Feb 2021 19:36:55 +0000 (21:36 +0200)]
[SYSSETUP] Make status dialog look like msgina status dialog (#2825)

* [SYSSETUP] Add msgina-like resources

* [SYSSETUP] Add bitmaps functionality, remove progress bar

* [SYSSETUP] Update resources

* [SYSSETUP] Use DPRINT1

* [SYSSETUP:INSTALL] %d - %lu for GetLastError in DPRINT1

* [SYSSETUP:INSTALL] Check pDlgData for NULL value

+ add some comments

3 years ago[CMAKE] Fix empty dependencies.graphml being created
Mark Jansen [Sun, 7 Feb 2021 13:02:01 +0000 (14:02 +0100)]
[CMAKE] Fix empty dependencies.graphml being created

3 years ago[WININET] Fix usage of uninitialized variable
Mark Jansen [Sun, 7 Feb 2021 13:00:12 +0000 (14:00 +0100)]
[WININET] Fix usage of uninitialized variable

3 years ago[NET] Remove the NAME, PRINT and SEND options because we will most likely never have...
Eric Kohl [Sun, 7 Feb 2021 12:45:25 +0000 (13:45 +0100)]
[NET] Remove the NAME, PRINT and SEND options because we will most likely never have a messenger service

3 years ago[SHELL32] Fixing COpenWithMenu.cpp for handling path strings with spaces (#3449)
Siavosh Kasravi [Sat, 6 Feb 2021 13:35:11 +0000 (17:35 +0400)]
[SHELL32] Fixing COpenWithMenu.cpp for handling path strings with spaces (#3449)

CORE-17445

Fixing the bug where open with menu where OpenWithMenu does not handle handler's path when there are spaces in the path string, by adding the missing quote marks around %1 when recording the registry entry for file handler.

3 years ago[SETUPLIB] Fix 'unlock' copypasta in debug print (#3448)
Serge Gautherie [Fri, 5 Feb 2021 13:10:15 +0000 (14:10 +0100)]
[SETUPLIB] Fix 'unlock' copypasta in debug print (#3448)

Addendum to 76ac898.

3 years ago[GITHUB] Fix labeler rules, attempt 2
Victor Perevertkin [Fri, 5 Feb 2021 11:58:14 +0000 (14:58 +0300)]
[GITHUB] Fix labeler rules, attempt 2

3 years ago[GITHUB] Fix labeler rules
Victor Perevertkin [Fri, 5 Feb 2021 11:39:25 +0000 (14:39 +0300)]
[GITHUB] Fix labeler rules

3 years ago[GITHUB] Fix YAML parsing in labeler.yml
Victor Perevertkin [Fri, 5 Feb 2021 11:00:51 +0000 (14:00 +0300)]
[GITHUB] Fix YAML parsing in labeler.yml

3 years ago[GITHUB] Add Labeler action for labelling PRs automatically
Victor Perevertkin [Fri, 5 Feb 2021 10:41:03 +0000 (13:41 +0300)]
[GITHUB] Add Labeler action for labelling PRs automatically

3 years ago[NTOS:SE] Do not use a global lock for tokens (#3445)
George Bișoc [Fri, 5 Feb 2021 09:10:19 +0000 (10:10 +0100)]
[NTOS:SE] Do not use a global lock for tokens (#3445)

In Windows Server 2003 the lock is initialised on a per-token basis, that is, the lock resource is created in SepDuplicateToken() and SepCreateToken() functions. This ensures that the lock initialisation is done locally for the specific token thus avoiding the need of a global lock.

3 years ago[NTOS:MM][FASTFAT_NEW] Fix DBG usage, fixes Release build
Victor Perevertkin [Fri, 5 Feb 2021 08:54:10 +0000 (11:54 +0300)]
[NTOS:MM][FASTFAT_NEW] Fix DBG usage, fixes Release build

3 years ago[MEDIA] Update WINESYNC.txt for d3dx9 DLLs 3415/head
Jérôme Gardou [Tue, 5 Jan 2021 12:45:12 +0000 (13:45 +0100)]
[MEDIA] Update WINESYNC.txt for d3dx9 DLLs

3 years ago[WINESYNC]: d3dx9 is now in sync with wine-staging wine-6.0-rc5
Jérôme Gardou [Tue, 5 Jan 2021 12:22:42 +0000 (13:22 +0100)]
[WINESYNC]: d3dx9 is now in sync with wine-staging wine-6.0-rc5

3 years ago[WINESYNC] d3dx9_36: Implement ID3DXSkinInfoImpl_UpdateSkinnedMesh.
winesync [Tue, 5 Jan 2021 12:22:41 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_36: Implement ID3DXSkinInfoImpl_UpdateSkinnedMesh.

This patch fixes last problem of bug 32572.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9_36: Filter out D3DCompile warning messages that are not present...
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_36: Filter out D3DCompile warning messages that are not present with D3DCompileShader. (try 4)

This patch fixes vertex processing issue of bug 33770.

The problem comes from the fact that even if the call succeeds,
the game interprets a non null error_messages pointer as an error.

By calling D3DCompile we use a newer version of the compiler which is more
strict and generates the following warning.
  - warning X3206: 'dot': implicit truncation of vector type
  - warning X3206: implicit truncation of vector type
  - warning X3206: 'mul': implicit truncation of vector type
D3DCompileShader does not generate such warnings.

These is confirmed in the DX SDK release note:
New Warning X3206: Implicit Truncation of Vector Type
Beginning in the August 2009 release of the DirectX SDK, the compiler will warn
when an implicit truncation of a vector type occurs.

The warnings cannot be disable so this patch filters out these strings in D3DCompileShader
and reset the error messages pointer if the resulting buffer is empty.

Try 2:
  - only filter out lines containing "X3206:" in case d3dcompiler_43 has localization

Try 3:
  - use move in place instead of copying the buffer

Try 4:
  - filter simplification by Sebastian and remove 'mul' testing left-out in search string

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9_36: Improve D3DXSaveTextureToFile to save simple texture to dds...
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_36: Improve D3DXSaveTextureToFile to save simple texture to dds file.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9_36: Add support for FOURCC surface to save_dds_surface_to_memory.
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_36: Add support for FOURCC surface to save_dds_surface_to_memory.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9: Implement D3DXComputeTangent
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9: Implement D3DXComputeTangent

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
wine-staging patch by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>

3 years ago[WINESYNC] d3dx9_*: Add D3DXSHProjectCubeMap stub
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_*: Add D3DXSHProjectCubeMap stub

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46284

wine-staging patch by Andrey Gusev <andrey.goosev@gmail.com>

3 years ago[WINESYNC] d3dx9_36: Add semi-stub for D3DXOptimizeVertices.
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_36: Add semi-stub for D3DXOptimizeVertices.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9_36/tests: Add additional tests for special cases.
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_36/tests: Add additional tests for special cases.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9_36/tests: Add initial tests for D3DXDisassembleShader.
winesync [Tue, 5 Jan 2021 12:22:40 +0000 (13:22 +0100)]
[WINESYNC] d3dx9_36/tests: Add initial tests for D3DXDisassembleShader.

wine-staging patch by Sebastian Lackner <sebastian@fds-team.de>

3 years ago[WINESYNC] d3dx9_36: Implement D3DXDisassembleShader. (v2)
winesync [Tue, 5 Jan 2021 12:16:41 +0000 (13:16 +0100)]
[WINESYNC] d3dx9_36: Implement D3DXDisassembleShader. (v2)

Changes in v2 (by Christian Costa):
  * More generic code for D3DXDisassembleShader.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9_36: Improve stub for ID3DXEffectImpl_CloneEffect.
winesync [Tue, 5 Jan 2021 12:16:41 +0000 (13:16 +0100)]
[WINESYNC] d3dx9_36: Improve stub for ID3DXEffectImpl_CloneEffect.

wine-staging patch by Sebastian Lackner <sebastian@fds-team.de>

3 years ago[WINESYNC] d3dx9_36: Add format description for X8L8V8U8 for format conversions.
winesync [Tue, 5 Jan 2021 12:16:40 +0000 (13:16 +0100)]
[WINESYNC] d3dx9_36: Add format description for X8L8V8U8 for format conversions.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9: Return D3DFMT_A8R8G8B8 in D3DXGetImageInfoFromFileInMemory for...
winesync [Tue, 5 Jan 2021 12:16:40 +0000 (13:16 +0100)]
[WINESYNC] d3dx9: Return D3DFMT_A8R8G8B8 in D3DXGetImageInfoFromFileInMemory for 32 bpp BMP with alpha.

wine-staging patch by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9: Avoid closing invalid handles.
winesync [Tue, 5 Jan 2021 12:16:40 +0000 (13:16 +0100)]
[WINESYNC] d3dx9: Avoid closing invalid handles.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50373
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id e27a95e92097a601baa9b0e9dd6fcc5013c863fa by Akihiro Sagawa <sagawa.aki@gmail.com>

3 years ago[WINESYNC] d3dx9: Correctly handle sprites array reallocation.
winesync [Tue, 5 Jan 2021 12:16:39 +0000 (13:16 +0100)]
[WINESYNC] d3dx9: Correctly handle sprites array reallocation.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 34c0055cfcb84e32d13556b7ec841d01acf5fe96 by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Remove unreachable DT_SINGLELINE handling from ID3DXFont_DrawText.
winesync [Tue, 5 Jan 2021 12:16:38 +0000 (13:16 +0100)]
[WINESYNC] d3dx9: Remove unreachable DT_SINGLELINE handling from ID3DXFont_DrawText.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a097f54ea1e7e75b78842ceb835f5db5f08fea06 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Implement clipping of glyphs in ID3DXFont_DrawText.
winesync [Tue, 5 Jan 2021 12:16:38 +0000 (13:16 +0100)]
[WINESYNC] d3dx9: Implement clipping of glyphs in ID3DXFont_DrawText.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49546
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 84cbf6a49dfe75b9fd497b2c3ef7e922857bb618 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Fully initialize the glyph position.
winesync [Tue, 5 Jan 2021 12:16:38 +0000 (13:16 +0100)]
[WINESYNC] d3dx9: Fully initialize the glyph position.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49376
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 2481e617bbd529a297266ad53b1afe1d96e9af89 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Don't release textures when D3DXSPRITE_DO_NOT_ADDREF_TEXTURE is...
winesync [Tue, 5 Jan 2021 12:16:38 +0000 (13:16 +0100)]
[WINESYNC] d3dx9: Don't release textures when D3DXSPRITE_DO_NOT_ADDREF_TEXTURE is specified.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 9eda5c043047fd117441473651b2089b80a4ed80 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Use wide-char string literals.
winesync [Tue, 5 Jan 2021 12:16:35 +0000 (13:16 +0100)]
[WINESYNC] d3dx9/tests: Use wide-char string literals.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id bffe111672972cb26c319c029ca469520742c720 by Michael Stefaniuc <mstefani@winehq.org>

3 years ago[WINESYNC] d3dx9: Simplify D3DXSphereBoundProbe() a bit.
winesync [Mon, 21 Sep 2020 21:07:40 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Simplify D3DXSphereBoundProbe() a bit.

Spurred by a patch by Alex Henrie.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 18ae539c914a9b5a89f63d8cf9c2a21273eccc6c by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Add a few D3DXLoadSurfaceFromSurface() tests with different...
winesync [Mon, 21 Sep 2020 21:07:40 +0000 (23:07 +0200)]
[WINESYNC] d3dx9/tests: Add a few D3DXLoadSurfaceFromSurface() tests with different rects.

Signed-off-by: Robin Kertels <robin.kertels@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id ea7cf679150f790d2e375d99ee226ea4881b490a by Robin Kertels <robin.kertels@gmail.com>

3 years ago[WINESYNC] d3dx9: Ignore filter in D3DXLoadSurfaceFromSurface() when rects match.
winesync [Mon, 21 Sep 2020 21:07:40 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Ignore filter in D3DXLoadSurfaceFromSurface() when rects match.

This allows us to use IDirect3DDevice9_StretchRect
and avoid GPU synchronization.
It massively improves performance in Dead Space 1 which
calls LoadSurfaceFromSurface every frame before presenting.

Signed-off-by: Robin Kertels <robin.kertels@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 625622ad4182061ee3111032ab0ae4a494b74e73 by Robin Kertels <robin.kertels@gmail.com>

3 years ago[WINESYNC] d3dx9: Implement ID3DXSkinInfo_Clone().
winesync [Mon, 21 Sep 2020 21:07:38 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Implement ID3DXSkinInfo_Clone().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48779
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 35a4093eff75e5bf7fee0dc8d2a708d960b03768 by Gijs Vermeulen <gijsvrm@gmail.com>

3 years ago[WINESYNC] d3dx9: Use BitScanReverse in make_pow2.
winesync [Mon, 21 Sep 2020 21:07:38 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Use BitScanReverse in make_pow2.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 22970932d014f024fcf7f0f98b1a5384b1b1eb99 by Jacek Caban <jacek@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Remove useless '\n' within some ok() messages.
winesync [Mon, 21 Sep 2020 21:07:35 +0000 (23:07 +0200)]
[WINESYNC] d3dx9/tests: Remove useless '\n' within some ok() messages.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id c1cf13a7512387885616684130b605a7640f5187 by Christian Costa <titan.costa@gmail.com>

3 years ago[WINESYNC] d3dx9: Add support for D3DFMT_P8 in DDS files.
winesync [Mon, 21 Sep 2020 21:07:34 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Add support for D3DFMT_P8 in DDS files.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48731
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id bb222133a81581622c88c0d34534bc88a556f1f2 by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>

3 years ago[WINESYNC] d3dx9: Handle horizontal alignment in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Handle horizontal alignment in ID3DXFont_DrawText.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id d511853d45bc3302b2a4501b1aa0097a4e78b3d9 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Handle vertical alignment in ID3DXFont_DrawText.
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Handle vertical alignment in ID3DXFont_DrawText.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id fd9808b45af4bf4c6771fe2932e3169cb193bf44 by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Add a helper for computing the bounding rectangle in ID3DXFont_Draw...
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Add a helper for computing the bounding rectangle in ID3DXFont_DrawText.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 53769e7bde9cfb808e26cf67057314c2ca03345a by Sven Baars <sbaars@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Switch character count to unsigned int in the DrawText implementation.
winesync [Mon, 21 Sep 2020 21:07:33 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Switch character count to unsigned int in the DrawText implementation.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id b5df43b9118074485a1f4a917b16d37bc068839d by Matteo Bruni <mbruni@codeweavers.com>

3 years ago[WINESYNC] d3dx9/tests: Introduce compare_uint().
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] d3dx9/tests: Introduce compare_uint().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 9bcb1f5195d1e65e0e7afb288d36fee716fe3a60 by Henri Verbeet <hverbeet@codeweavers.com>

3 years ago[WINESYNC] d3dx9: Use stricmp() instead of _strnicmp(..., -1).
winesync [Mon, 21 Sep 2020 21:07:32 +0000 (23:07 +0200)]
[WINESYNC] d3dx9: Use stricmp() instead of _strnicmp(..., -1).

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id aab980a16253ff6bb6286572576899bfc0f83945 by Paul Gofman <gofmanp@gmail.com>