Katayama Hirofumi MZ [Fri, 28 Feb 2020 23:08:26 +0000 (08:08 +0900)]
[SHELL32][BOOTDATA] Unselect filename extension upon renaming (#2398)
You can disable unselecting by setting TRUE to SelectExtOnRename value of HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer. CORE-15242
Serge Gautherie [Tue, 25 Feb 2020 02:12:35 +0000 (03:12 +0100)]
[DOC] 3rd Party Files.txt: Add 'Schily Tools, mkisofs' entry
Bișoc George [Thu, 27 Feb 2020 17:45:21 +0000 (18:45 +0100)]
[UTILMAN] Small refactor on process management code (#2375)
Implement a small helper, GetProcessID(), that will be used to return the process ID which we are interested in. This largely removes some duplicated code. The following patch addresses the Jansen's comment on #1608 PR.
Katayama Hirofumi MZ [Thu, 27 Feb 2020 14:12:20 +0000 (23:12 +0900)]
[CMD] Fix 'if' command for root directories (#2394)
CORE-14797
Jérôme Gardou [Wed, 5 Feb 2020 21:14:09 +0000 (22:14 +0100)]
[WINESYNC]: d3dx9 is now in sync with wine-staging wine-4.2
winesync [Wed, 5 Feb 2020 21:14:01 +0000 (22:14 +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>
winesync [Wed, 5 Feb 2020 21:13:59 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36: Align texture dimensions to block size for compressed textures in D3DXCheckTextureRequirements.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Wed, 5 Feb 2020 21:13:58 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36: No need to fail if we don't support vertices reordering in D3DXMESHOPT_ATTRSORT
A non optimized mesh does not prevent rendering as long as we return valid data to the application.
In our case we provided an identity remapping array when no vertices reordering is done.
Avencast demo works perfectly well (using native effects functions).
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Wed, 5 Feb 2020 21:13:57 +0000 (22:13 +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>
winesync [Wed, 5 Feb 2020 21:13:56 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36/tests: Add initial tests for dummy skininfo interface.
wine-staging patch by Michael Müller <michael@fds-team.de>
winesync [Wed, 5 Feb 2020 21:13:55 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36: Return dummy skininfo interface in D3DXLoadSkinMeshFromXof when skin information is unavailable.
wine-staging patch by Michael Müller <michael@fds-team.de>
winesync [Wed, 5 Feb 2020 21:13:54 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36: ID3DXFont_DrawText calc_rect can be null
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
wine-staging patch by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
winesync [Wed, 5 Feb 2020 21:13:53 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36: Support NULL terminated strings in ID3DXFont_DrawText
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
wine-staging patch by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
winesync [Wed, 5 Feb 2020 21:13:52 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36: Fix horizontal centering in ID3DXFont_DrawText.
Fix remaining text issues in Air Strike.
Should fix text placement in Stronghold Kingdoms.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Wed, 5 Feb 2020 21:13:51 +0000 (22:13 +0100)]
[WINESYNC] d3dx9_36: Implement ID3DXFontImpl_DrawText.
Changes by Sebastian Lackner <sebastian@fds-team.de>:
* Use pitch value for locked buffer instead of assuming that pitch = width * bytesperpixel
* Avoid one for loop to simplify code
* Ensure that DrawText doesn't dereference a NULL pointer when count != 0.
Changes by Christian Costa <titan.costa@gmail.com>
* Use dedicated variables for text width & height instead of reusing rect.right and rect.bottom
* Remove useless test in pixel conversion
* Remove left over 'partial stub' in fixme
Changes by Sebastian Lackner <sebastian@fds-team.de>:
* Replace code to convert text from ascii to widechar
* Strip terminating NULL chars before drawing text
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Wed, 5 Feb 2020 21:11:40 +0000 (22:11 +0100)]
[WINESYNC] d3dx9_36: add DXTn support
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Wed, 5 Feb 2020 21:11:39 +0000 (22:11 +0100)]
[WINESYNC] d3dx9_36: Improve D3DXSaveTextureToFile to save simple texture to dds file.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Wed, 5 Feb 2020 21:11:38 +0000 (22:11 +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>
winesync [Wed, 5 Feb 2020 20:51:59 +0000 (21:51 +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>
winesync [Sat, 1 Feb 2020 17:09:04 +0000 (18:09 +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>
winesync [Sat, 1 Feb 2020 17:02:30 +0000 (18:02 +0100)]
[WINESYNC] d3dx9_36: Add semi-stub for D3DXOptimizeVertices.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 1 Feb 2020 17:02:28 +0000 (18:02 +0100)]
[WINESYNC] d3dx9_36/tests: Remove useless \n within some ok messages.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 1 Feb 2020 17:02:27 +0000 (18:02 +0100)]
[WINESYNC] d3dx9_36/tests: Add additional tests for special cases.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 1 Feb 2020 17:02:27 +0000 (18:02 +0100)]
[WINESYNC] d3dx9_36/tests: Add initial tests for D3DXDisassembleShader.
wine-staging patch by Sebastian Lackner <sebastian@fds-team.de>
winesync [Sat, 1 Feb 2020 17:02:26 +0000 (18:02 +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>
winesync [Sat, 1 Feb 2020 17:02:25 +0000 (18:02 +0100)]
[WINESYNC] d3dx9_36: Improve stub for ID3DXEffectImpl_CloneEffect.
wine-staging patch by Sebastian Lackner <sebastian@fds-team.de>
winesync [Sat, 1 Feb 2020 17:02:25 +0000 (18:02 +0100)]
[WINESYNC] d3dx9_36: Add format description for X8L8V8U8 for format conversions.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 1 Feb 2020 17:02:24 +0000 (18:02 +0100)]
[WINESYNC] d3dx9_36: Recognize bump luminance X8L8V8U8 when loading dds file.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 1 Feb 2020 17:02:24 +0000 (18:02 +0100)]
[WINESYNC] d3dx9: Return D3DFMT_A8R8G8B8 in D3DXGetImageInfoFromFileInMemory for 32 bpp BMP with alpha.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 1 Feb 2020 17:00:27 +0000 (18:00 +0100)]
[WINESYNC] d3dx9: Use parameter data for the first constant only in d3dx_set_shader_const_state().
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
f72204abd6037e59ba1bf500a3a9d0316e65a024 by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 1 Feb 2020 16:57:28 +0000 (17:57 +0100)]
[WINESYNC] d3dx9: Handle short parameter in d3dx_set_shader_const_state().
The issue is spotted in https://bugs.winehq.org/show_bug.cgi?id=46553,
while fixing it alone is reported not to affect the bug.
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
b3e91c3408797da72fdd5066e983d8861d9271ea by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 1 Feb 2020 16:57:28 +0000 (17:57 +0100)]
[WINESYNC] d3dx9/tests: Add more tests for VertexShaderConstant state.
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
6fe2728b215fcc22940c556f195fe223c5ac2cff by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 1 Feb 2020 16:57:27 +0000 (17:57 +0100)]
[WINESYNC] d3dx9/tests: Clear vertex shader constants in test_effect_states().
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
cf992bebb056814a05fe3a82011c4de701c144c4 by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 1 Feb 2020 16:57:25 +0000 (17:57 +0100)]
[WINESYNC] d3dx9/tests: Actually test the return of the effect SetInt() call.
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
7e01ec6018c062d11b29ba2b9a2056d98e8bc406 by Michael Stefaniuc <mstefani@winehq.org>
Jérôme Gardou [Sat, 1 Feb 2020 16:57:23 +0000 (17:57 +0100)]
[WINESYNC]: revert wine-staging patchset for d3dx9
Jérôme Gardou [Sat, 4 Jan 2020 09:43:45 +0000 (10:43 +0100)]
[REACTOS] Exclude some wine modules from clang-format
Jérôme Gardou [Sat, 4 Jan 2020 01:14:02 +0000 (02:14 +0100)]
[TOOLS] Add a python script for syncing wine patches
This requires the pygit2 module
usage : ./winesync.py module <wine-tag> <winestaging-tag>
for instance ./winesync.py d3dx9 wine-4.1 v4.1
This requires to have a wine git checkout and a wine-staging checkout
configuration is done through yaml file named <module>.cfg specifying
the following:
- file mappings
- directory mappings
- latest wine version the module is synced with
it then creates a local branch in the wine checkout, based on the given
tag, and then the staging script is ran on top of it.
Thanks to the mappings defined in the module configuration file, it then
create individual commits in the reactos git checkout with reworked
path.
In case of problem, it stops and lets you amend the latest commit and go
along with the process once this is done. (Makefile.in modified, new or
removed files, patches not cleanly applied)
Staging patches are added into the <module>_staging directory for the
ease of reverting them later. (TODO)
See previous [WINESYNC] commits to have an overview of the result
Jérôme Gardou [Sat, 4 Jan 2020 01:11:44 +0000 (02:11 +0100)]
[WINESYNC]: d3dx9 is now in sync with wine-staging wine-4.1
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +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>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36: Align texture dimensions to block size for compressed textures in D3DXCheckTextureRequirements.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36: No need to fail if we don't support vertices reordering in D3DXMESHOPT_ATTRSORT
A non optimized mesh does not prevent rendering as long as we return valid data to the application.
In our case we provided an identity remapping array when no vertices reordering is done.
Avencast demo works perfectly well (using native effects functions).
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +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>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36/tests: Add initial tests for dummy skininfo interface.
wine-staging patch by Michael Müller <michael@fds-team.de>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36: Return dummy skininfo interface in D3DXLoadSkinMeshFromXof when skin information is unavailable.
wine-staging patch by Michael Müller <michael@fds-team.de>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36: ID3DXFont_DrawText calc_rect can be null
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
wine-staging patch by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36: Support NULL terminated strings in ID3DXFont_DrawText
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
wine-staging patch by Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36: Fix horizontal centering in ID3DXFont_DrawText.
Fix remaining text issues in Air Strike.
Should fix text placement in Stronghold Kingdoms.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 01:11:30 +0000 (02:11 +0100)]
[WINESYNC]d3dx9_36: Implement ID3DXFontImpl_DrawText.
Changes by Sebastian Lackner <sebastian@fds-team.de>:
* Use pitch value for locked buffer instead of assuming that pitch = width * bytesperpixel
* Avoid one for loop to simplify code
* Ensure that DrawText doesn't dereference a NULL pointer when count != 0.
Changes by Christian Costa <titan.costa@gmail.com>
* Use dedicated variables for text width & height instead of reusing rect.right and rect.bottom
* Remove useless test in pixel conversion
* Remove left over 'partial stub' in fixme
Changes by Sebastian Lackner <sebastian@fds-team.de>:
* Replace code to convert text from ascii to widechar
* Strip terminating NULL chars before drawing text
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 01:09:33 +0000 (02:09 +0100)]
[WINESYNC]d3dx9_36: add DXTn support
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 01:09:33 +0000 (02:09 +0100)]
[WINESYNC]d3dx9_36: Improve D3DXSaveTextureToFile to save simple texture to dds file.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 01:09:33 +0000 (02:09 +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>
winesync [Sat, 4 Jan 2020 01:07:11 +0000 (02:07 +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>
winesync [Sat, 4 Jan 2020 00:56:18 +0000 (01:56 +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>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9_36: Add semi-stub for D3DXOptimizeVertices.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9_36/tests: Remove useless \n within some ok messages.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9_36/tests: Add additional tests for special cases.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9_36/tests: Add initial tests for D3DXDisassembleShader.
wine-staging patch by Sebastian Lackner <sebastian@fds-team.de>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +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>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9_36: Improve stub for ID3DXEffectImpl_CloneEffect.
wine-staging patch by Sebastian Lackner <sebastian@fds-team.de>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9_36: Add format description for X8L8V8U8 for format conversions.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9_36: Recognize bump luminance X8L8V8U8 when loading dds file.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9: Return D3DFMT_A8R8G8B8 in D3DXGetImageInfoFromFileInMemory for 32 bpp BMP with alpha.
wine-staging patch by Christian Costa <titan.costa@gmail.com>
winesync [Sat, 4 Jan 2020 00:49:33 +0000 (01:49 +0100)]
[WINESYNC]d3dx9/tests: Add more tests for D3DXMatrixTransformation().
Most of those new tests were written by Rico Schüller.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33456
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id
956d7356e0559a07aac68bcaf73a5005e0600fad by David Adam <david.adam.cnrs@gmail.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Use wincodecs directly without initializing COM system.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id
77c3761ad4e557f9fa311299e77746bf225a575a by Nikolay Sivov <nsivov@codeweavers.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9/tests: Avoid some 64-bit test failures.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id
699eb8cdba8fe236f038550e2bd68a4cd2cab055 by Matteo Bruni <mbruni@codeweavers.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Improve D3DXMatrixTransformation2D().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id
dba1304bdde9639b01fa7b1e93cce1a298999b72 by Matteo Bruni <mbruni@codeweavers.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Improve D3DXMatrixTransformation() implementation.
Inspired by a patch from David Adam.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33456
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id
f54260a789387ab40de3d80291ad9000176dabe1 by Matteo Bruni <mbruni@codeweavers.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9/tests: Fix a couple of ok() messages.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id
5a5beba6c4e3bc53790e3a31916d0aaf57dc19b8 by Matteo Bruni <mbruni@codeweavers.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9/tests: Expect plain render target creation to work.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id
64b6bb4d4a54642434594f0df2afcd2e90b2a0a8 by Matteo Bruni <mbruni@codeweavers.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Use {lock|unlock}_surface() in D3DXLoadSurfaceFromMemory().
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
65956ae50a136fe8467a0332c7495f36617a16dc by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Use temporary surface in D3DXSaveSurfaceToFileInMemory() for unmappable textures.
Fixes a regression triggered by commit
949dbbd31f450178c90ea8267097a975b77c3219.
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
092c14b9d86ee1e96e465908cc524ec85988d0ff by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Do not ignore surface map failure in D3DXSaveSurfaceToFileInMemory().
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
ce090114340fe6ce9314f543a1389de9bdc6df14 by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9/tests: Add test for D3DXFillVolumeTexture() with default pool texture.
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
61e7e6ec1bf5d13d4cafa883ac74fe987c339740 by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Use temporary surface in D3DXFillTexture() for unmappable textures.
Fixes a regression triggered by commit
949dbbd31f450178c90ea8267097a975b77c3219.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46453
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
4e44d74afb12b40f673e3be0a91cd523013544cd by Paul Gofman <gofmanp@gmail.com>
winesync [Sat, 4 Jan 2020 00:48:04 +0000 (01:48 +0100)]
[WINESYNC]d3dx9: Factor out {lock|unlock}_surface() functions.
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
33be8439fc95ca8f005bd3a2b6790c101842c02e by Paul Gofman <gofmanp@gmail.com>
Jérôme Gardou [Tue, 24 Dec 2019 08:31:48 +0000 (09:31 +0100)]
[D3DX9_36_WINETEST] Import from wine 4.0
Jérôme Gardou [Fri, 20 Dec 2019 10:53:44 +0000 (11:53 +0100)]
[D3DX9_36] Revert wine staged patches
Jérôme Gardou [Thu, 19 Dec 2019 23:39:44 +0000 (00:39 +0100)]
[D3DX9_XX] Share source files
Just like wine does
Katayama Hirofumi MZ [Wed, 26 Feb 2020 13:28:02 +0000 (22:28 +0900)]
[CMD] Correctly parse drive-decorated pathname (#2382)
Correctly interpret the drive-decorated pathnames (C: or D:dir1 etc). CORE-15871
Serge Gautherie [Wed, 26 Feb 2020 08:45:27 +0000 (09:45 +0100)]
[REACTOS] Fix trailing spaces and other typos in string resources (#2387)
Katayama Hirofumi MZ [Wed, 26 Feb 2020 01:59:28 +0000 (10:59 +0900)]
[SHELL32] Fix SHChangeNotify for one item events (#2386)
Windows sends notification even if two parameters are provided for notification of one parameter. CORE-13950
Doug Lyons [Tue, 25 Feb 2020 07:02:46 +0000 (01:02 -0600)]
[WINSPOOL] Implement DocumentPropertiesA including DEVMODE conversions (#2339)
Co-authored-by: Doug Lyons <douglyons@douglyons.com>
Co-authored-by: Colin Finck <colin@reactos.org>
Katayama Hirofumi MZ [Tue, 25 Feb 2020 01:27:49 +0000 (10:27 +0900)]
[SYSDM][MSGINA][NETID][SHELL32] Japanese translation (retrial) (#2369)
Improve Japanese resources. This PR is based on @Midi730's work (#2361).
Katayama Hirofumi MZ [Tue, 25 Feb 2020 01:07:58 +0000 (10:07 +0900)]
[SHELL32] Set read-only for some shell folders and delete Desktop.ini of Desktop and Program Files (#2385)
Set read-only attribute instead of system attribute for some shell folders that has a folder icon.
Delete desktop.ini files in Desktop and Program Files. CORE-16711
Thomas Faber [Mon, 24 Feb 2020 11:36:05 +0000 (12:36 +0100)]
[CMAKE] When disabling C4101, explicitly remove the error flag.
Fixes VC2010 build.
Addendum to
11ecf5c969b.
Colin Finck [Mon, 24 Feb 2020 18:17:56 +0000 (19:17 +0100)]
[GDI32] GdiConvertToDevmodeW: Import WINE commit
32393796bb534e9cf11dd988dce88722c67f7906 ("gdi32: GdiConvertToDevmodeW should not refer to unintialized name bytes.")
This makes our GdiConvertToDevmodeW equivalent to the WINE counterpart again.
Bișoc George [Mon, 24 Feb 2020 15:59:11 +0000 (16:59 +0100)]
[TIMEDATE] Remove lpszSyncStatus member entirely (#2383)
And directly pass the formatted string to SetDlgItemTextW(). Addendum to
5a81a5b.
Katayama Hirofumi MZ [Mon, 24 Feb 2020 15:45:44 +0000 (00:45 +0900)]
[SHELL32_APITEST] Add SHChangeNotify testcase (#2378)
Add a testcase for shell32!SHChangeNotify function to investigate the shell notification mechanism. CORE-13950
Bișoc George [Mon, 24 Feb 2020 10:56:02 +0000 (11:56 +0100)]
[TIMEDATE] Implement the dynamic NTP status notification (#2352)
Time/Date control panel applet displays the status of the NTP server synchronization with the system informing the user the actual condition of the said sync, if it has failed or suceeded. The commit also implements IDS_INETTIMEWELCOME which serves as a placeholder as Time/Date loads the last successful attempt of NTP synchronization which I don't know how the CPL remembers it. With that said, IDS_INETTIMEWELCOME will stay for a while until someone figures out how timedate.cpl works internally.
CORE-16684
Thomas Faber [Mon, 24 Feb 2020 09:48:24 +0000 (10:48 +0100)]
[CMAKE] Enable C4101 (unreferenced local variable) for MSVC builds.
This is already an error in GCC builds, so will make it harder for the
MSVC crowd to accidentally break GCC build.
Thomas Faber [Mon, 24 Feb 2020 09:12:30 +0000 (10:12 +0100)]
[TRAVIS] Disable code format checker in CI.
The configuration is not final yet and we have a lot of files that don't
follow the suggested style. At this point, having it active in CI means
builds are essentially always red, and we miss actual compilation errors.
Katayama Hirofumi MZ [Mon, 24 Feb 2020 00:43:58 +0000 (09:43 +0900)]
[MSVCRT_WINETEST] Fix build by adding '-Wno-format'
ed909ba broke build.
Stanislav Motylkov [Sun, 23 Feb 2020 22:02:40 +0000 (01:02 +0300)]
[HAL] Fix debug prints in ShowSize() and its caller (#2377)
Mark Jansen [Sun, 23 Feb 2020 21:41:13 +0000 (22:41 +0100)]
More very serious issue pointed out by gcc
Hermès Bélusca-Maïto [Sun, 23 Feb 2020 20:45:55 +0000 (21:45 +0100)]
[CONSRV] Fix setting the default screenbuffer and console view sizes when creating a new screenbuffer.
For more information, see:
https://docs.microsoft.com/en-us/windows/console/createconsolescreenbuffer#remarks
Mark Jansen [Sun, 23 Feb 2020 21:36:03 +0000 (22:36 +0100)]
gcc is crying again
Eric Kohl [Sun, 23 Feb 2020 20:35:57 +0000 (21:35 +0100)]
[NTOS:CONFIG] Fix NtSetValueKey data probing
Probe the data before allocating a copy buffer. Otherwise NtSetValueKey returns an unexpected status code in case of too large data size.
This fixes the NtSetValueKey ntdll api tests.
Mark Jansen [Sun, 9 Feb 2020 16:54:18 +0000 (17:54 +0100)]
[RAPPS] Allow tabbing trough controls in the main window
Serge Gautherie [Mon, 27 Jan 2020 17:02:11 +0000 (18:02 +0100)]
[OLEACC_WINETEST] Re-enable MSVC warning C4477
Follow-up to
3ee20de95fddd0502cafcf2ef279cb16052cbe91.
Serge Gautherie [Mon, 27 Jan 2020 17:02:11 +0000 (18:02 +0100)]
[MSVCRT_WINETEST] Re-enable MSVC warning C4477
Follow-up to
ce2df64a06314c95713b48b90f59f023d51b89d5.
Also, remove '-Wno-format' for other compilers.