Commit Graph

265 Commits

Author SHA1 Message Date
Matteo Bruni 07f22e20d7 d3dxof/tests: Remove redundant skips after ok() calls.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:58:18 +02:00
Nikolay Sivov 24ccf11739 d3dxof/tests: Simplify refcount helper.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:57:51 +02:00
Nikolay Sivov 360e989d44 d3dxof/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:57:47 +02:00
Eric Pouech ae9266992a d3dxof: Don't cast ptrdiff_t to ULONG in traces, use %I instead.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:49 +02:00
Nikolay Sivov 08c6560e74 d3dxof: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:34 +02:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard ae2693e2c4 include: Use long type by default in GUID definition.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 17:56:07 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard bd6b53740c winecrt0: Add a default implementation for DllCanUnloadNow().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Paul Gofman 4f2f95195d d3dxof: 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>
2020-03-27 21:16:12 +01:00
Alexandre Julliard 4def57920c d3dxof: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Alexandre Julliard 776fae4c60 d3dxof: Avoid using DPRINTF().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 19:33:30 +02:00
Piotr Caban 718b07b343 d3dxof: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 17:21:59 +02:00
Józef Kucia 360df6a520 d3dxof: Change "value" size to 512.
is_name() may write up to 512 bytes to the "value".

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Michael Stefaniuc 9781b5433c d3dxof: Remove useless casts.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-12 23:02:28 +01:00
Michael Stefaniuc 84d4887f50 d3dxof: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:39:42 +02:00
Michael Stefaniuc 1956eefa0f d3dxof: Avoid casts from COM objects to interfaces.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:12 +09:00
Francois Gouget 99a5afc09b d3dxof: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 11:58:05 +09:00
Francois Gouget 7035236fa9 d3dxof/tests: A spelling fix in a d3dxof ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:48:17 +09:00
Francois Gouget 50215415f1 d3dxof/tests: Fix an unknown spelling error in the shader tests.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:06:42 +09:00
Thomas Faber 73eff6652a d3dxof: Avoid undefined behavior in parse_object_parts.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:13 +09:00
Michael Stefaniuc c954d50b16 d3dxof: Don't ERR on alloc failures for small compile time known sizes. 2015-04-22 23:25:41 +09:00
Christian Costa beff432354 d3dxof: Use assignment for GUID instead of memcpy with hardcoded size. 2015-03-11 12:47:53 +09:00
Sebastian Lackner fc2d81464d d3dxof: Do not allow unloading while library is still in use. 2015-03-02 13:53:08 +09:00
Amine Khaldi e67beed64d d3dxof: Remove unused IDirectXFileObject_Vtbl (Clang). 2014-10-24 19:58:04 +09:00
Thomas Faber 21b8216773 d3dxof: Do not omit mandatory argument to WriteFile. 2014-07-14 17:22:37 +02:00
Stefan Dösinger 244e3d01db d3dxof: Include wine/port.h in parsing.c. 2014-04-01 20:58:22 +02:00
Stefan Dösinger 49c7cba040 d3dxof: Make the get_primitive_string parameter a DWORD. 2014-04-01 20:58:17 +02:00
Frédéric Delanoy 82889a6950 d3dxof/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:44:43 +01:00
André Hentschel 81ea0cd86f d3dxof/tests: Avoid preprocessor check to ensure it compiles. 2014-01-27 17:39:46 +01:00
Andrey Gusev e7f0a8a081 Assorted spelling and typos fixes. 2014-01-27 17:00:11 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Frédéric Delanoy 497f088715 d3dxof: Use BOOL type where appropriate. 2013-10-18 14:39:37 +02:00
Frédéric Delanoy eea901782c d3dxof: Use BOOL type where appropriate. 2013-10-07 13:32:06 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Christian Costa c6106428f6 d3dxof: Add support for case sensitive legacy type indexColor. 2013-06-24 11:57:52 +02:00
Christian Costa 66414c46c9 d3dxof/tests: Add test for case sensitive 'indexColor' type. 2013-06-12 12:12:10 +02:00
Christian Costa 71986eb109 d3dxof: Fix string handling in binary mode + tests. 2013-06-12 12:11:56 +02:00
Christian Costa f054431c63 d3dxof: Add test for standard templates. 2013-06-11 11:52:34 +02:00
Christian Costa 65d7a8b3d1 d3dxof: Add test for more complex object. 2013-06-07 12:28:20 +02:00
Christian Costa c5d01aa6ae d3dxof: Turn a fixme into warn. 2013-06-03 11:56:24 +02:00
Christian Costa 4102d8a0dc d3dxof: Fix list of float and integer in binary mode. 2013-06-03 11:56:18 +02:00
Christian Costa 7325b798b4 d3dxof: Move list type and list nb elements into the parse context. 2013-06-03 11:56:09 +02:00
Christian Costa f39547f5a8 d3dxof: Uncomment some traces and use better name for some variables. 2013-06-03 11:56:00 +02:00
Christian Costa e7c3b03531 d3dxof: Cleanup separators handling and allow multi-semicolons + single comma separator. 2013-05-22 11:25:44 +02:00
Christian Costa f63da07505 d3dxof: Add object separators tests for binary format. 2013-05-20 21:15:37 +02:00