Commit graph

22 commits

Author SHA1 Message Date
Thomas Csovcsity cfaeaaa993
[WINDOWSCODECS] Add converter for WICPixelFormat32bppRGBA (#4239)
This fixes CORE-15708 "PdfSam 3.3.5 setup can not decode bmp"
https://jira.reactos.org/browse/CORE-15708

Wine does not have this issue, but it did not have it back when last sync to
WineStaging-4.18 was done. This commit is as near as possible to actual
wine-7.0-rc3 version. This wine code uses reverse_bgr8 instead of own
convert_rgba_to_bgra, but it leads to wrong colors.
2022-01-06 03:56:45 +03:00
Timo Kreuzer 41bc57ddf0 [REACTOS] Silence warnings in 3r-party code 2021-07-23 22:03:48 +02:00
Hermès Bélusca-Maïto d829bcc629
[WINDOWSCODECS] It turns out that /wd4133 is not enough to demote the error; we need to use remove_target_compile_option() to completely remove the /we4133 flag.
Addendum to commits 7e116f0e and 00ed72d7.

This removes the "error C4133: 'function': incompatible types - from
'WICPixelFormatNumericRepresentation *' to 'DWORD *'"
message that still remains even when using /wd4133 .
2020-11-06 01:06:13 +01:00
Jérôme Gardou 00ed72d7e8 [CMAKE] Get rid of add_compile_flags
Use add_compile_options and the like instead
2020-10-20 21:44:54 +02:00
Jérôme Gardou 7e116f0ef3 [CMAKE] Get rid of replace_compile_flags
Introduce a finer-grained remove_target_compile_option instead
2020-10-20 21:44:54 +02:00
Amine Khaldi 139a3d6661
[CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
Thomas Faber 3e9c4dad66
[WINDOWSCODECS] Use upstream Wine fix for 4bps BGRA TIFF. CORE-16796
Import Wine commits by Dmitry Timoshkov:
* 0cd8502b49 windowscodecs: Add support for 4bps RGBA format to TIFF decoder.
* 962bb99352 windowscodecs/tests: Add a separate test for 4bps BGRA TIFF format.
2020-04-24 14:56:26 +02:00
Thomas Faber f4a8d3d704
[WINDOWSCODECS] Avoid buffer underflow in TiffFrameDecode_ReadTile. CORE-16796 2020-04-13 18:18:35 +02:00
Hervé Poussineau 5ed1867632 [CMAKE] Add some -D__ROS_LONG64__ to please gcc x64
We can now pass a UINT* to a function wanting a DWORD*
2020-03-26 16:39:16 +01:00
Amine Khaldi f6a1733daf [WINDOWSCODECS] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:04:33 +01:00
Timo Kreuzer 146096cd2e [3RDPARTY] Make some warnings non-fatal 2019-04-13 14:07:50 +02:00
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00
Timo Kreuzer f5f6ea2965 [REACTOS] Fix 64 bit issues 2019-03-04 21:58:42 +01:00
Amine Khaldi e98ef4992e [WINDOWSCODECS] Sync with Wine Staging 4.0. CORE-15682 2019-02-04 13:12:26 +01:00
Serge Gautherie 246005c625 [WINDOWSCODECS] Fix an MSVC warning about get_decoder_info() (#684)
"...\info.c(2163) : warning C4028: formal parameter 1 different from declaration"

Cherry-pick 90518ebd2c
CORE-7538
2018-07-14 02:50:23 +02:00
Amine Khaldi 324214f998 [WINDOWSCODECS] Sync with Wine Staging 3.9. CORE-14656 2018-06-04 03:55:39 +01:00
Amine Khaldi 4a93fbcd97 [WINDOWSCODECS] Forgot to commit this file. Addendum to ae80686. CORE-14434 2018-03-05 23:56:28 +01:00
Thomas Faber 1f7cb06c22
[WINDOWSCODECS] Fix stack pointer corruption when handling PNGs.
Without PNG_API_RULE defined, these functions (like all others) aren't stdcall.
2018-03-05 18:51:48 +01:00
Amine Khaldi ae80686d81 [WINDOWSCODECS] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:19:05 +01:00
Amine Khaldi c3715ca58f [WINDOWSCODECS] Sync with Wine 3.0. CORE-14225 2018-01-20 13:50:46 +01:00
Amine Khaldi 9b349f958c [ADVAPI32_APITEST][NTDLL_APITEST][WINDOWSCODECS] Comment out some unused functions and types. Silences some clang-cl warnings. 2017-12-08 00:22:05 +01:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00