Commit Graph

244 Commits

Author SHA1 Message Date
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
Christian Costa 2df8998dbd d3dxof: Add some syntax tests and remove some useless ref count checks. 2013-05-20 21:15:36 +02:00
Christian Costa 83f49b9855 d3dxof: Group and simplify templates and objects in a cleaner manner. 2013-05-20 19:22:56 +02:00
Christian Costa 2152526165 d3dxof: Fix IDirectXFileDataImpl_GetName and IDirectXFileDataReferenceImpl_GetName + tests. 2013-05-16 12:11:02 +02:00
Christian Costa a180e5ed00 d3dxof: Get rid of go_to_next_definition. 2013-04-30 12:32:47 +02:00
Christian Costa 1bd5bfebae d3dxof: Only parse templates for object files, but with RegisterTemplates parse the whole file. 2013-04-30 12:32:41 +02:00
Christian Costa 37d037749d d3dxof: Avoid dealing with remaining byte until next token or eof, check_TOKEN handles them fine. 2013-04-30 12:29:33 +02:00
Christian Costa 6668a64145 d3dxof: Get rid of is_template_available. 2013-04-29 20:30:54 +02:00
Christian Costa 1b8b629445 d3dxof: Introduce TOKEN_NONE and TOKEN_ERROR to differentiate end of file from error. 2013-04-29 20:30:54 +02:00
Christian Costa a4d3dbf6a1 d3dxof: Return correct error code in case of parsing failure. 2013-04-29 20:30:54 +02:00
Christian Costa 692783a934 d3dxof: Add some template tests. 2013-04-29 20:30:53 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Andrew Talbot 1af3862186 d3dxof: Avoid signed-unsigned integer comparisons. 2013-01-04 11:59:23 +01:00
Christian Costa 6be32ec80c d3dxof/tests: Pass level by value in process_data rather than a pointer. 2012-11-05 11:30:35 +01:00
Christian Costa 82dd739064 d3dxof: Fix remaining 'objects.txt' filename. 2012-10-24 11:25:24 +02:00
Christian Costa 834512f186 d3dxof/tests: Document dump function and rename X files with .x extension. 2012-10-23 13:28:39 +02:00
Christian Costa 079cf1c24c d3dxof: Display new ref count in AddRef & Release. 2012-10-22 12:01:33 +02:00
Christian Costa 87d7fe68e2 d3dxof: Checkout output pointer and set returned interface to NULL at the beginning. 2012-09-17 12:06:47 +02:00
Charles Davis b8243b01b5 d3dxof: Don't release a garbage object pointer (Clang). 2012-09-14 11:32:54 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Christian Costa 67488dec09 d3dxof: Do not allow separator to terminate the string. Only the double quote can do that. 2012-03-13 10:54:02 +01:00
Christian Costa b9353b73ae d3dxof: Check the right offset before dereferencing next byte. 2012-03-08 19:22:49 +01:00