Commit graph

190 commits

Author SHA1 Message Date
Christian Costa
6ee15adf4d d3dxof: Empty arrays can have the semicolon at the end or not so handle both cases and add tests for them.
This fixes a regression introduced by commit 07931f73f0.
2012-02-27 14:15:25 +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
36d4e1ea59 d3dxof: Fix leaking of IDirectXFileObject object in tests. 2012-02-21 11:29:45 +01:00
Christian Costa
67c6234a26 d3dxof: Accept bigger names for objects. 2012-02-21 11:29:41 +01:00
Christian Costa
07931f73f0 d3dxof: Fix parsing of empty array + tests. 2012-02-20 11:44:51 +01:00
Christian Costa
ddecb6aae5 d3dxof: Add tests for IDirectXFileData_GetName. 2012-02-20 11:44:46 +01:00
Christian Costa
a91097ed33 d3dxof: Increase limit of number of children. 2012-02-17 18:06:47 +01:00
Christian Costa
46d4bec269 d3dxof: Decompress all MSZIP chunks of the compressed file and update file format description. 2012-02-17 18:06:46 +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
bb4c210888 d3dxof: Use buffer start followed by offset when accessing data. 2012-01-25 20:39:48 +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
André Hentschel
b5ba054ce8 Assorted header comment cleanup. 2012-01-04 19:35:13 +01:00
Francois Gouget
3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02: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
Alexandre Julliard
b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Frédéric Delanoy
f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Marcus Meissner
5ba1f867a1 d3dxof: Check returns of read_bytes (Coverity). 2011-06-16 21:04:44 +02:00
Francois Gouget
bb658848c0 d3dxof: Make read_bytes() static. 2011-06-13 11:32:54 +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
Michael Stefaniuc
2317815da5 d3dxof/tests: Fix an ok() comment to match the tested value. 2011-05-30 17:22:04 +02:00
Dylan Smith
ac65f31ae6 d3dxof: COM cleanup in d3dxof.c. 2011-05-27 12:41:07 +02:00
Dylan Smith
7a1d910566 d3dxof: COM cleanup in main.c. 2011-05-27 12:40:49 +02:00
Dylan Smith
cbc78b61e8 d3dxof: Removed function declarations with no definitions. 2011-05-27 12:40:40 +02:00
Dylan Smith
0857d2b26b d3dxof: Remove assumption of 4 bytes pointers for LPSTR value. 2011-05-20 10:34:52 +02:00
Marcus Meissner
0bbba71c64 d3dxof: Mark internal symbols as hidden. 2011-04-28 18:13:54 +02:00
Dylan Smith
183d03871d d3dxof/tests: Make expected value in string and comparison match. 2011-04-21 16:53:43 +02:00
Dylan Smith
7cf7421e7a d3dxof: Initialize binary member variable of xobjects. 2011-04-21 16:53:43 +02:00
Dylan Smith
8cae5c2312 d3dxof: GetName can be used to just get the name length. 2011-04-21 16:53:43 +02:00
Dylan Smith
10fbf5f542 d3dxof: Avoid overflowing temp buffers for large tokens. 2011-04-21 16:53:43 +02:00
Dylan Smith
555fe78766 d3dxof: Add missing checks for remaining bytes during parsing. 2011-04-21 16:53:43 +02:00
Michael Curran
7d5099e4fc d3dxof: Changed is_string function to accept spaces. 2011-04-11 19:31:39 +02:00
Michael Curran
3d9ea480a0 d3dxof: Adjusted to allow for parsing of optional template elements. 2011-04-11 19:31:39 +02:00
Alexandre Julliard
5940d37d11 d3dxof: Convert dll registration to the IRegistrar mechanism. 2010-12-07 12:30:05 +01:00
Alexandre Julliard
05e24f39c3 d3dxof/tests: Make some variables static. 2010-10-01 13:39:31 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Francois Gouget
537d93326e d3dxof: Make debugstr_fourcc() static. 2010-08-26 13:40:39 +02:00
Alexandre Julliard
b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Francois Gouget
e6b907b7b3 d3dxof: Make fdi_{alloc,free}() static. 2010-06-24 10:34:35 +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
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Christian Costa
c37ada25bb d3dxof: Avoid using strlen for specifying templates or objects size. 2010-03-15 13:18:29 +01:00
Christian Costa
41fdff866d d3dxof: Fix tzip and bzip files tests on all windows platform. 2010-03-15 13:18:17 +01:00
Christian Costa
cafb20bb5c d3dxof: Turn some TRACEs into WARNs in case of parsing error. 2010-03-03 11:52:32 +01:00