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
Christian Costa
86d7f9f58c
d3dxof: Prepare support for objects binary format.
2008-11-11 15:15:26 +01:00
Christian Costa
641200dc1e
d3dxof: Add support for DXFILELOAD_FROMMEMORY.
2008-11-11 15:15:18 +01:00
Christian Costa
3b30fd9d3a
d3dxof: Increase max objects and check limit.
2008-11-11 15:15:11 +01:00
Christian Costa
ba11e60e8b
d3dxof: Support also xfile version 3.03.
2008-11-11 15:15:04 +01:00
Christian Costa
be0afe9569
d3dxof: Fix buffer overflow.
2008-11-10 14:29:27 +01:00
Christian Costa
48c4248d3a
d3dxof: Finish strings support.
2008-11-10 11:07:13 +01:00
Christian Costa
e4748c3ca3
d3dxof: Increase max childs/subobjects and check the limit is not overcome.
2008-11-10 11:07:03 +01:00
Christian Costa
b46b75170e
d3dxof: Close source file when releasing EnumObject.
2008-11-10 11:06:59 +01:00
Christian Costa
35cc5504eb
d3dxof: Allow template definitions in objects file.
2008-11-10 11:06:53 +01:00
Christian Costa
f32511cf27
d3dxof: Add support for string parsing.
2008-10-17 12:23:16 +02:00
Christian Costa
94ae7ab42e
d3dxof: Reference the right objects.
2008-10-17 12:23:13 +02:00
Christian Costa
7a20c1dc6c
d3dxof: Move template dumping code in a separate function.
2008-10-17 12:23:09 +02:00
Francois Gouget
0f38a60dd3
Assorted spelling fixes.
2008-10-10 14:14:05 +02:00
Michael Stefaniuc
9d0a8b34a8
d3dxof: Use FAILED instead of !SUCCEEDED.
2008-10-08 13:42:55 +02:00
Christian Costa
06c8d49e3e
d3dxof: Enable referencing of named subobjects too.
2008-10-08 12:19:54 +02:00
Christian Costa
9d64f82554
d3dxof: Store number of subojects for all top level objects.
2008-10-08 12:19:46 +02:00
Christian Costa
ded68e8a4f
d3dxof: Enumerate only 2 levels of objects obtained from a reference.
2008-10-08 12:19:41 +02:00
Christian Costa
b12be1ce78
d3dxof: Allow omission of comma which separates array elements.
2008-10-08 12:19:36 +02:00
Christian Costa
8597d42cf5
d3dxof: Implement IDirectXFileDataReference.
2008-09-25 11:15:10 +02:00
Christian Costa
ab3bf16e1d
d3dxof: Do not print an error for interfaces that can be queried to retrieve the type of the object.
2008-09-24 12:52:40 +02:00
Christian Costa
8002b79087
d3dxof: Implement IDirectXFileDataImpl_GetNextObject.
2008-09-23 13:09:55 +02:00
Christian Costa
055e6bfb63
d3dxof: Rewrite check_TOKEN and parse_TOKEN_* to work properly and be more logical.
2008-09-22 11:51:45 +02:00
Christian Costa
5c518d91e0
d3dxof: Fix IDirectXFileDataImpl_GetType.
2008-09-19 12:07:41 +02:00
Christian Costa
364d69d78d
d3dxof: Implement object parsing in text mode.
2008-09-17 10:53:45 +02:00
Christian Costa
0025ef6090
d3dxof: Simplify parsing.
2008-09-15 11:49:55 +02:00
Francois Gouget
b0f52410e9
d3dxof: Add a '\n' to a Wine trace.
2008-09-05 13:39:16 +02:00
Christian Costa
e79b747352
d3dxof: Handle comments in templates text format.
2008-09-03 13:14:51 +02:00
Christian Costa
675327c031
d3dxof: Start implementing IDirectXFile_CreateEnumObject.
2008-09-03 13:14:51 +02:00
Francois Gouget
360c164e54
d3dxof: Remove spaces before '\n', add '\n' in Wine traces.
2008-09-02 13:59:22 +02:00
Francois Gouget
4823b2c7bf
Assorted spelling fixes.
2008-09-02 13:58:21 +02:00
Christian Costa
23166f900e
d3dxof: Some fixes for template parsing in text mode.
...
Fix lockup when going to next template in text mode.
Keyword corresponding to TOKEN_LPSTR is STRING and not LPSTR.
Accept numerical characters in name.
2008-09-02 11:59:03 +02:00
Christian Costa
ce313a5b0e
d3dxof: Fix guid syntax.
2008-08-29 13:17:56 +02:00
Paul Vriens
d9f37dd022
d3dxof/tests: Run tests again on win9x.
2008-08-26 12:07:43 +02:00
Alexandre Julliard
9ce31cf80b
d3dxof: Don't make local variables static.
2008-08-25 12:37:48 +02:00
Christian Costa
2f98206111
d3dxof: Implement storage of parsed information.
2008-08-25 12:36:30 +02:00
Michael Stefaniuc
5ff42c55f7
d3dxof: Remove unreachable break after return (Smatch).
2008-08-20 11:44:54 +02:00