Commit Graph

59 Commits

Author SHA1 Message Date
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
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
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
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
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 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
Christian Costa c6106428f6 d3dxof: Add support for case sensitive legacy type indexColor. 2013-06-24 11:57:52 +02:00
Christian Costa 71986eb109 d3dxof: Fix string handling in binary mode + tests. 2013-06-12 12:11:56 +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 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
Andrew Talbot 1af3862186 d3dxof: Avoid signed-unsigned integer comparisons. 2013-01-04 11:59:23 +01: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
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 07931f73f0 d3dxof: Fix parsing of empty array + tests. 2012-02-20 11:44:51 +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 bb4c210888 d3dxof: Use buffer start followed by offset when accessing data. 2012-01-25 20:39:48 +01:00
André Hentschel b5ba054ce8 Assorted header comment cleanup. 2012-01-04 19:35:13 +01:00
Francois Gouget 8ca8267cab d3dxof: Fix the spelling of the children structure fields and constants. 2011-08-03 14:15:48 +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 0857d2b26b d3dxof: Remove assumption of 4 bytes pointers for LPSTR value. 2011-05-20 10:34:52 +02:00
Dylan Smith 7cf7421e7a d3dxof: Initialize binary member variable of xobjects. 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
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 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 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
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