Commit Graph

226 Commits

Author SHA1 Message Date
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
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
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +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 4d79c26306 d3dxof: Do not expect a separator when there is no element. 2010-02-01 12:48:55 +01:00
Christian Costa 65b7bdcef9 d3dxof: Add other debug channel for parsing. 2010-02-01 12:48:50 +01:00
Christian Costa 9dba650921 d3dxof: Simplify declaration of VTable members. 2010-01-14 09:09:11 -06:00
Christian Costa 39772f9749 d3dxof: Enable referencing objects defined in current top-level object. 2009-12-31 12:12:17 +01:00
Christian Costa 24d6c0a90d d3dxof: Get rid of cur_subobject. 2009-12-31 12:12:17 +01:00
Francois Gouget 5fb3985fa5 Assorted spelling fixes. 2009-11-09 19:42:31 +01:00
Christian Costa c94763b420 d3dxof: Only consider 4 lowest bits in DXFILELOADOPTIONS + tests. 2009-10-23 12:23:35 +02:00
Christian Costa b9561c9cf9 d3dxof: Properly initialize nb_childs. 2009-10-23 12:23:28 +02:00
Jeff Zaroyko 8846f8ac30 d3dxof: Remove unused variable. 2009-10-16 13:36:48 +02:00
Alexandre Julliard 56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Austin English 454c8ff3ca d3dxof/tests: Sign compare fix. 2009-05-11 12:47:52 +02:00
Christian Costa 8dc455bc63 d3dxof: Accept longer string size. 2009-04-22 12:56:05 +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
Michael Stefaniuc b8e1b138bc d3dxof/tests: Use ULONG instead of unsigned long. 2009-03-23 12:41: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 db30aa149e d3dxof: Make is_keyword handle end of file correctly. 2009-02-10 14:41:40 +01:00
Christian Costa 5bc9da3411 d3dxof: Fix object files size limitation by mapping them into memory. 2009-02-04 12:25:59 +01:00
Christian Costa 868f63935c d3dxof: Fix dead code. 2009-01-30 11:43:48 +01:00
Michael Stefaniuc fa6e7c262e d3dxof: Remove superfluous pointer casts. 2009-01-29 14:06:09 +01:00
Christian Costa 75ac489ea4 d3dxof: Avoid accessing template/object buffer directly. 2009-01-12 13:19:03 +01:00
Andrew Talbot 7a326f9405 d3dxof: Declare a function static. 2009-01-09 14:21:26 +01:00
Francois Gouget e30bb829b3 d3dxof: Reorder some functions to avoid forward declarations. 2009-01-07 14:40:38 +01:00
Christian Costa eb4eda2757 d3dxof: Move X files parsing into a separate file. 2008-12-31 14:07:23 +01:00
Christian Costa 0fea04afbf d3dxof: Template names are case insensitive. 2008-12-29 11:46:06 +01:00
Francois Gouget 2166afceb7 Assorted spelling fixes. 2008-12-29 11:36:49 +01:00
Christian Costa 00c574d117 d3dxof: Initialize object member names correctly. 2008-12-27 20:22:58 +01:00
Christian Costa 50ace397ee d3dxof: Small cleanup. 2008-12-24 19:57:51 +01:00
Christian Costa d0e37532ca d3dxof: Release allocated xobjects. 2008-12-24 19:57:51 +01:00
Christian Costa ce578075bc d3dxof: Make FileEnumObject keep references to top level objects. Add corresponding test. 2008-12-23 20:16:43 +01:00
Christian Costa 29d4ab1316 d3dxof: Release properly all allocated resources. 2008-12-23 20:16:23 +01:00
Christian Costa 23a3552d0d d3dxof: Allocate subobjects at object creation time. 2008-12-23 20:16:13 +01:00
Christian Costa 4c68fdbf40 d3dxof: Simplify error handling in IDirectXFileEnumObjectImpl_GetNextDataObject. 2008-12-23 20:15:31 +01:00
Alexandre Julliard 7b2f7ed3e7 d3dxof/tests: Avoid size_t in a trace. 2008-12-20 13:32:39 +01:00
Christian Costa c66a9cd418 d3dxof: Remove IDirectXFileObjectImpl stuff. That's not needed. 2008-12-17 13:52:40 +01:00
Christian Costa 76d52393e8 d3dxof: Add some preliminary support for binary objects. 2008-12-17 13:52:40 +01:00
Christian Costa 40c5c8ad7c d3dxof: Improve IDirectXFileImpl_CreateSaveObject stub. 2008-12-17 13:52:40 +01:00
Hans Leidekker 63aff890d7 janitorial: Remove unneeded user32 imports. 2008-12-17 11:38:36 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Michael Stefaniuc 1825e371b7 d3dxof/tests: Remove redundant NULL check before HeapFree (Smatch). 2008-12-16 14:08:40 +01:00
Christian Costa 0f840ba98b d3dxof: Increase string buffer size. 2008-12-15 12:31:07 +01:00
Christian Costa 0447013572 d3dxof: Improve error handling. 2008-12-15 12:30:38 +01:00
Christian Costa 32ab7d298f d3dxof: Add a test to dump an X object data (enabled when objects.txt and templates.txt are present). 2008-12-15 12:30:20 +01:00
Christian Costa 4d557bccc1 d3dxof: Increase strings buffer size. 2008-12-08 12:02:46 +01:00
Alexandre Julliard c360ca841e d3dxof: Make some functions static. 2008-12-04 12:47:20 +01:00
Christian Costa b5158497a6 d3dxof: Handle comments when going to next template or object. 2008-12-01 14:05:44 +01:00
Christian Costa 3310c72d29 d3dxof: Increase some buffer and array sizes. 2008-12-01 14:05:40 +01:00
Christian Costa d535205864 d3dxof: Make parsing more permissive about semicolon and comma in objects. 2008-12-01 14:05:35 +01:00
Christian Costa 0409ff6269 d3dxof: Keywords are case insensitive. 2008-11-28 13:38:04 +01:00
Christian Costa 40fff317ea d3dxof: Finish support for multi-dimensional array. 2008-11-24 14:18:41 +01:00
Christian Costa eaaced6cc5 d3dxof: Small clean-up. 2008-11-24 14:18:41 +01:00
Christian Costa 607062f3c3 d3dxof: Support multi-dimentional array in templates. 2008-11-24 14:18:41 +01:00
Christian Costa 6ec11ac3f3 d3dxof: Finish support for objects binary format. 2008-11-17 13:55:57 +01:00
Christian Costa b67bbc92ef d3dxof: Fix data buffer limit check. Increase size of input and data buffers. 2008-11-17 13:55:49 +01:00
Christian Costa 630e2fff91 d3dxof: Allow '-' in names. 2008-11-17 13:55:32 +01:00