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
Christian Costa
dd5908224e
d3dxof: Add text format support to RegisterTemplates and fix corresponding test.
2008-08-19 15:30:32 +02:00
Christian Costa
04d72cdd6f
d3dxof: Add basic tests.
2008-08-19 15:30:32 +02:00
Christian Costa
c6b2529fd2
d3dxof: Create FileData object using its constructor. Fix return value of CreateEnumObject.
2008-08-19 15:30:32 +02:00
Christian Costa
1b1f8aa891
d3dxof: Create FileEnumObject using its constructor.
2008-08-19 15:30:32 +02:00
Christian Costa
2bc401ef89
d3dxof: Implement some parsing in RegisterTemplates.
2008-08-19 15:30:32 +02:00
Andrew Talbot
d835bc333d
d3dxof: Sign-compare warning fix.
2008-07-31 13:43:03 +02:00
Alexandre Julliard
dad21bbcbf
makefiles: List the static libraries as normal imports instead of extra libs.
2008-04-30 14:23:55 +02:00
Rob Shearman
48000893f9
makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
...
Only specify the root to keep platform-specifics out of the individual
DLL makefiles.
2008-03-04 20:55:01 +01:00
EA Durbin
0bfba69c15
d3dxof: Fix some return values.
2007-11-08 13:56:37 +01:00
Stefan Leichter
4677e50a06
d3dxof: Remove 'recursive registry key delete' function.
2007-09-26 11:32:26 +02:00
Francois Gouget
9fe4673347
Don't include windows.h & co in the Wine sources.
...
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Michael Stefaniuc
51ca8e8ef8
d3dxof: Win64 printf format warning fixes.
2006-10-09 12:55:47 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens
8f143f190c
Use the return value of register_key_guid.
2006-06-30 21:08:07 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Shearman
74407105d2
Check the return value from register_key_guid in all the DLL registering code.
2006-05-10 19:38:04 +02:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Francois Gouget
9cedc1a390
Export the Dll(Un)RegisterServer() functions to make d3dxof.dll a
...
self-registering dll.
2005-09-26 16:41:43 +00:00
Alexandre Julliard
d37f0abf07
Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
...
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Francois Gouget
65f2082108
Add missing WINAPI to MSXML_DllGetClassObject().
...
Standardize the DllGetClassObject() prototypes so they match the MSDN
definition.
2005-08-08 15:04:53 +00:00
Alexandre Julliard
76ed2835cd
Make CONST_VTABLE the default in the Wine source.
2005-07-26 20:10:51 +00:00
Mike McCormack
c447939033
Interlocked LONG* gcc warning fixes.
2005-07-12 17:03:19 +00:00
Dmitry Timoshkov
4625628e67
Make some of the OLE interface vtables const.
2005-05-27 20:17:35 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Paul Vriens
7f07b00697
- Use Interlocked* functions in AddRef and Release.
...
- Store the result of the Interlocked functions and use only this.
2005-01-20 10:53:56 +00:00
Jon Griffiths
c50d8743fa
Ensure DllCanUnloadNow is a truly void function, and give it a unique
...
name so it can be documented per-dll.
2004-11-30 17:40:51 +00:00
Tom Wickline
5c38e1b561
Version resources cleanup.
2004-11-23 13:59:34 +00:00
Francois Gouget
486d020c1b
Don't define COBJMACROS in objbase.h.
...
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Huw Davies
e8d89cd0f5
Fix a reference leak on failure (spotted by Rob Shearman).
...
Move some code over to the Interlocked* functions.
2004-09-28 19:19:27 +00:00
Alexandre Julliard
39a696a166
Removed some uses of the non-standard ICOM_THIS macro.
2004-09-06 20:34:29 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Christian Costa
92c62e23f4
Removed compilation warnings + some fixes.
2004-06-04 19:36:56 +00:00
Christian Costa
7590fe58f4
Added d3dxof dll, part of Direct3D.
2004-06-03 00:03:23 +00:00