Alexandre Julliard
cf63bb880e
wrc: Print better error messages for functions that set errno.
2009-02-16 15:35:15 +01:00
Rob Shearman
04484a4013
widl: Call Pointer function for freeing non-conformant strings and for all phases for returned non-conformant strings, as is done for conformant strings.
...
Also call Pointer functions for any string that isn't a reference pointer.
2009-02-16 15:35:14 +01:00
Rob Shearman
8f87eddd39
widl: Only duplicate a type if absolutely necessary.
...
Document how much of hack duplicating a type in order to change its
pointer type is.
2009-02-16 15:35:14 +01:00
Rob Shearman
e054c52cd1
widl: Call Struct and Union phase functions for reference pointers to structures and unions.
...
It's slightly quicker than calling pointer phase functions and does
the same job.
2009-02-16 15:35:14 +01:00
Rob Shearman
47c82ac472
widl: Fix marshalling/unmarshalling of enum arguments.
...
The generated code should use NdrSimpleType{Marshall,Unmarshall} instead
of direct buffer access, since the memory size isn't always equal to
the size on the wire and extra checks.
2009-02-16 15:35:14 +01:00
Michael Stefaniuc
2b066327ec
tools: Remove unused alloca.h include.
2009-02-13 13:00:02 +01:00
Alexandre Julliard
b58ef6bff6
winegcc: Hardcode the various gcc tool names when cross-compiling.
2009-02-12 11:41:56 +01:00
Francois Gouget
467691d3a0
winapi_test: Improve the usage message.
2009-02-11 15:56:02 +01:00
Marcus Meissner
fbcc18754d
winegcc: Added some strarray_free() (Coverity).
2009-02-11 15:56:02 +01:00
Alexandre Julliard
20e4cb98a7
widl: Change write_type_def_or_decl and write_type_decl to take an argument name instead of a printf format.
2009-02-10 12:32:36 +01:00
Alexandre Julliard
a5947ffcd1
winegcc: Don't pass the as/ld/nm commands to winebuild.
...
winebuild should be able to find them on its own.
2009-02-06 20:35:56 +01:00
Alexandre Julliard
25624b677d
widl: Print all NdrFcShort parameters as shorts to avoid warnings for negative values.
2009-02-06 14:54:03 +01:00
Alexandre Julliard
fcc096083f
widl: Add printf format attribute on all printf-like functions and fix resulting warnings.
2009-02-06 14:54:03 +01:00
Alexandre Julliard
ef6971da40
widl: Replace unsigned long and size_t by unsigned int where appropriate.
2009-02-06 14:54:03 +01:00
Alexandre Julliard
844c8a1804
widl: Add a dummy reference to the filter function to avoid a warning.
2009-02-06 14:54:02 +01:00
Alexandre Julliard
a0fb6246c0
widl: Avoid using GetExceptionCode outside of an exception handler.
2009-02-06 14:54:02 +01:00
André Hentschel
8052c1a230
winemaker: Add odbccp32 to default link list.
2009-02-06 13:03:27 +01:00
Alexandre Julliard
64e43b6192
winegcc: Pass the -m32/-m64 options to winebuild too.
2009-02-04 20:10:49 +01:00
Alexandre Julliard
dca163290d
winebuild: Search for the as/ld/nm tools in the PATH under various names.
2009-02-04 19:37:13 +01:00
Alexandre Julliard
0e954b14eb
winebuild: Append the correct options for as and ld when forcing a 32/64-bit build.
2009-02-04 19:33:49 +01:00
Alexandre Julliard
d07f67acbc
winebuild: Determine the appropriate as/ld/nm commands at the time they are needed.
2009-02-04 19:31:54 +01:00
Marcus Meissner
fc3b99b90a
wrc: Free type to avoid leaks (Coverity).
2009-02-02 15:21:44 +01:00
Alexandre Julliard
3472939255
winegcc: Support -b option for cross-compiling.
2009-02-02 15:21:36 +01:00
Alexandre Julliard
9e04ecd9de
winegcc: Make platform-specific behaviors depend on variables instead of #ifdefs.
2009-02-02 12:19:11 +01:00
Rob Shearman
d3085abc08
Change parameter type from size_t to SIZE_T for MIDL_user_allocate.
2009-02-02 11:55:21 +01:00
Aric Stewart
648094f119
wine.inf: Add reg.exe as a stub to system32 now that it does something.
2009-01-29 12:18:12 +01:00
Austin English
f49a8a6242
tools/wine.inf: Add a placeholder for stdole2.tlb.
2009-01-27 11:18:38 +01:00
Alexandre Julliard
d02f9d1804
widl: We need an offset after the correlation descriptor for unencapsulated unions.
2009-01-23 16:47:51 +01:00
Austin English
e5418e194a
widl: Fix a compiler warning.
2009-01-20 12:30:50 +01:00
Alexandre Julliard
913e792b57
server: Store process/thread affinity as a 64-bit value.
2009-01-19 14:15:51 +01:00
Alexandre Julliard
7f1dc355ec
server: Generate padding in request structures from make_requests.
...
Add compile-time asserts to check that the structures have the expected layout.
2009-01-19 14:01:39 +01:00
Rob Shearman
28ee1ee90f
widl: Add new type_get_type and type_get_real_type_type functions.
...
Use these to implement a few helper functions. Change the type
verification in type accessor functions to use these new functions.
2009-01-19 13:36:26 +01:00
Rob Shearman
bdb1321544
widl: Add a new function, type_alias_get_aliasee to wrap the retrieval of the type that the alias aliases.
2009-01-19 13:36:26 +01:00
Henri Verbeet
43f469ec6a
d3d10core: Implement device_parent_CreateSurface().
2009-01-19 13:36:25 +01:00
Alexandre Julliard
07f77c4148
winebuild: Add -m32/-m64 options to allow 32/64-bit cross-compiles.
2009-01-15 21:17:51 +01:00
Francois Gouget
a17f48219a
widl: Add a trailing '\n' to an error() message.
2009-01-14 14:52:21 +01:00
Alexandre Julliard
034a7f8849
winebuild: Add -b as a short option for --target for gcc compatibility.
2009-01-14 12:52:53 +01:00
Dmitry Timoshkov
c34b64d6d9
wrc: Warn for duplicate dialog ids.
2009-01-14 12:22:40 +01:00
Michael Karcher
1c56d293f0
widl: Dereference operator in expr works on any declared pointer.
2009-01-12 16:53:18 +01:00
Michael Karcher
f80e4aa9d2
widl: Don't forget conformance info on [iid_is] void pointers.
2009-01-12 16:53:18 +01:00
Michael Karcher
8092e85ece
widl: Fix handling of [local] functions without [call_as].
2009-01-12 16:53:18 +01:00
Alexandre Julliard
c31a36412c
makedep: Copy the makefile to append dependencies instead of truncating in place.
2009-01-12 14:43:15 +01:00
Andrey Turkin
a0f681ad4c
ntoskrnl: Add version resource.
2009-01-12 14:37:40 +01:00
Michael Stefaniuc
9192297345
widl: Move "inline" right after the storage class specifier.
2009-01-10 17:43:11 +01:00
Michael Karcher
656de48e4e
widl: Write struct fields as signed fields.
2009-01-08 14:11:35 +01:00
Michael Karcher
5f7886925d
widl: Make write_base_type take a format char instead of a type desc ptr.
2009-01-08 14:05:00 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00
Francois Gouget
43c18c1321
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.
2009-01-08 12:43:15 +01:00