124 Commits

Author SHA1 Message Date
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
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
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
Andrey Gusev
e7f0a8a081 Assorted spelling and typos fixes. 2014-01-27 17:00:11 +01:00
Christian Costa
c6106428f6 d3dxof: Add support for case sensitive legacy type indexColor. 2013-06-24 11:57:52 +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
2152526165 d3dxof: Fix IDirectXFileDataImpl_GetName and IDirectXFileDataReferenceImpl_GetName + tests. 2013-05-16 12:11:02 +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
a4d3dbf6a1 d3dxof: Return correct error code in case of parsing failure. 2013-04-29 20:30:54 +02:00
Andrew Talbot
1af3862186 d3dxof: Avoid signed-unsigned integer comparisons. 2013-01-04 11:59:23 +01: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
Christian Costa
bf71205b48 d3dxof: Make sure the returned object pointer is null when there are no more children. 2012-03-08 19:22:47 +01:00
Christian Costa
2f75ed48ff d3dxof: Make SaveTemplates stub return DXFILE_OK. 2012-03-08 19:22:47 +01:00
Christian Costa
40b15a380d d3dxof: Make sure the returned object pointer is null when there is no more object. 2012-02-21 11:29:49 +01:00
Christian Costa
d581f1bf7d d3dxof: Enable retrieving a particular member in GetData + tests. 2012-02-15 16:27:11 +01:00
Christian Costa
8bbf1344c9 d3dxof: Enable dumping of input x files and templates. 2012-02-14 17:59:30 +01:00
Christian Costa
096e306300 d3dxof: Fix object leak in error path by calling Release method which does all the work and simplify some inits for better readability. 2012-01-25 20:39:48 +01:00
Christian Costa
0eb9740e79 d3dxof: Prevent accessing pobj when it is null. This can happend on error. 2012-01-23 11:08:04 +01:00
Christian Costa
310c174eee d3dxof: Make sure This->buf.pdata is set to NULL before being used in case of error. 2012-01-23 11:07:50 +01:00
Francois Gouget
cb6a8125a9 d3dxof: Fix printing NULL strings. 2011-09-19 17:56:05 +02:00
Francois Gouget
8ca8267cab d3dxof: Fix the spelling of the children structure fields and constants. 2011-08-03 14:15:48 +02:00
Dylan Smith
80705f5a91 d3dxof: Factor out parse template loops into a function. 2011-06-09 13:27:24 +02:00
Dylan Smith
18740e8623 d3dxof: Factor out duplicated code for parsing X file header. 2011-06-09 13:27:21 +02:00
Dylan Smith
5819cc5c01 d3dxof: Remove unnecessary fields from IDirectXFileEnumObjectImpl. 2011-06-09 13:26:51 +02:00
Dylan Smith
ac65f31ae6 d3dxof: COM cleanup in d3dxof.c. 2011-05-27 12:41:07 +02:00
Dylan Smith
8cae5c2312 d3dxof: GetName can be used to just get the name length. 2011-04-21 16:53:43 +02:00
Francois Gouget
537d93326e d3dxof: Make debugstr_fourcc() static. 2010-08-26 13:40:39 +02:00
Christian Costa
72d9aaa6e5 d3dxof: Add support for mszip compressed files. 2010-04-12 15:42:02 +02:00
Christian Costa
f2fe2f7e84 d3dxof: Increase MAX_SUBOBJECTS and do the corresponding checks at the right place. 2010-03-23 12:19:49 +01:00
Christian Costa
cafb20bb5c d3dxof: Turn some TRACEs into WARNs in case of parsing error. 2010-03-03 11:52:32 +01:00
Christian Costa
feaf2904bf d3dxof: Use proper macro for AddRef. 2010-03-01 12:05:52 +01:00
Christian Costa
b30509fc0c d3dxof: Remove wrong description. 2010-03-01 12:05:52 +01:00
Christian Costa
aed6a4a4f8 d3dxof: Fix file types checks + tests. 2010-03-01 12:05:52 +01:00
Christian Costa
074465b675 d3dxof: Allow templates to be defined anywhere in objects file. 2010-03-01 12:05:52 +01:00
Christian Costa
497be4f83c d3dxof: Fix data buffer deallocation on error. 2010-02-08 17:14:44 +01:00
Christian Costa
ff6eccdabf d3dxof: Fix typo in comment. 2010-02-08 17:14:43 +01:00
Christian Costa
9dba650921 d3dxof: Simplify declaration of VTable members. 2010-01-14 09:09:11 -06:00
Christian Costa
24d6c0a90d d3dxof: Get rid of cur_subobject. 2009-12-31 12:12:17 +01:00
Christian Costa
c94763b420 d3dxof: Only consider 4 lowest bits in DXFILELOADOPTIONS + tests. 2009-10-23 12:23:35 +02:00
Michael Stefaniuc
289dca2e0e d3dxof: Remove redundant NULL check before HeapFree (Smatch). 2009-03-26 11:51:11 +01:00
Christian Costa
30140d0186 d3dxof: Remove limitation on data buffer size. 2009-03-25 11:09:05 +01:00
Christian Costa
df48d6f578 d3dxof: Use offsets to reference data instead of pointers so data buffer can be resized. 2009-03-12 13:09:53 +01:00
Christian Costa
3e6d9558b8 d3dxof: Add support for DXFILELOAD_FROMRESOURCE source. 2009-02-10 14:41:57 +01:00
Christian Costa
279e49030a d3dxof: Cleanup IDirectXFileImpl_CreateEnumObject a bit. 2009-02-10 14:41:48 +01:00
Christian Costa
5bc9da3411 d3dxof: Fix object files size limitation by mapping them into memory. 2009-02-04 12:25:59 +01:00
Michael Stefaniuc
fa6e7c262e d3dxof: Remove superfluous pointer casts. 2009-01-29 14:06:09 +01:00