Commit Graph

2938 Commits

Author SHA1 Message Date
Rob Shearman 39978c68f9 widl: Fix the writing typedefs to dispinterfaces and pointers to interfaces.
Currently, stdole2.tlb isn't generated correctly and causes "<failed>"
to appear instead of "FontEvents" in the IFontEventsDisp typedef when
viewed with oleview.

The problem is that the typedef should just generate a VT_USERDEFINED
record, but ends up generating a VT_PTR -> VT_USERDEFINED. So remove
the extra writing of VT_PTR entries.

Fix the skipped pointers checks in encode_type and encode_type to
specifically detect VT_UNKNOWN and VT_DISPATCH types which don't need
one level of pointers, whereas interfaces encoded as VT_USERDEFINED
do.
2008-09-10 10:55:34 +02:00
Austin English bfc34a3c9c widl: Remove unreached code (Smatch). 2008-09-10 10:55:11 +02:00
Steven Edwards 6bdfc2fa2c widl: Open files in binary mode to avoid corruption from text mode on Windows. 2008-09-10 10:40:18 +02:00
Alexandre Julliard 1abf809099 winebuild: Generate MS-style imports using the OriginalFirstThunk field. 2008-09-04 21:52:58 +02:00
Louis Lenders 9c2ca354c2 wine.inf: Add default Directx registry key for InstalledVersion. 2008-09-04 11:17:30 +02:00
Dan Hipschman a41de877da widl: Output NULL for inherited methods in the vtbl. 2008-09-02 18:01:53 +02:00
Eric Pouech f3c071660d winedump, dbghelp: Correctly name the age field in PDB headers. 2008-09-02 11:57:04 +02:00
Alexandre Julliard 5ce606e834 widl: Add support for finally function in proxy methods. 2008-08-30 11:25:22 +02:00
Alexandre Julliard 29e20b869c widl: Replace write_name() by get_name() to make the code more readable. 2008-08-30 11:15:04 +02:00
Alexandre Julliard deccfeec9a winetest: Build the test list from the makefile instead of make_makefiles. 2008-08-28 12:17:42 +02:00
Alexandre Julliard 67828b60e0 configure: Build the winetest dependencies in configure instead of make_makefiles. 2008-08-28 12:09:46 +02:00
Rob Shearman 6f2687a389 widl: Raise RPC_X_SS_IN_NULL_CONTEXT exception for NULL in-only context handles instead of RPC_X_NULL_REF_PTR.
Based on a patch by Michael Martin.
2008-08-27 13:21:21 +02:00
Alexandre Julliard 6de0af1eac configure: Generate the list of top-level directories to install. 2008-08-25 14:41:03 +02:00
Alexandre Julliard b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
Alexandre Julliard 4051eaf7c9 configure: Allow multiple variables in makefile output, and generate the programs directory lists. 2008-08-25 12:14:54 +02:00
Alexandre Julliard dbb535e4e9 configure: Use the generic directory enabling mechanism to turn off dlls that depend on external libraries. 2008-08-25 12:12:28 +02:00
Alexandre Julliard 49163da1d1 configure: Generate the dlls directory lists in configure instead of make_makefiles. 2008-08-25 12:02:27 +02:00
Alexandre Julliard a360e93430 configure: Generate the makefiles list in configure instead of make_makefiles. 2008-08-21 11:13:57 +02:00
Hongbo Ni e0df1b9e57 msvcmaker: Fix msvc project file generation under MinGW32.
When converting a makefile to a msvc .dsp file, if a line is ended with
a back slash, it will be joined with next line. This patch changes the
joining character from '\n' to a space in order to fix the bug of 
running MinGW32 on Windows.
2008-08-20 11:45:59 +02:00
Dan Hipschman 790e6dcd29 widl: Honor typedef pointer attributes. 2008-08-18 14:34:10 +02:00
Juan Lang 1eb0d92780 tools/wine.inf: Register msisip.dll. 2008-08-01 11:38:01 +02:00
Roy Shea 6e5bfbfe17 mstask: Implemented DllRegisterServer. 2008-07-29 12:50:35 +02:00
Alexandre Julliard 3ae17fa003 wine.inf; Don't overwrite path and temp dir environment variables on upgrades. 2008-07-28 12:05:09 +02:00
Owen Rudge f4e6489edb appwiz.cpl: Add skeleton Add/Remove Programs control panel. 2008-07-25 12:29:22 +02:00
Alexandre Julliard d96e3964b7 make_makefiles: Explicitly list the Wine headers that should be exported. 2008-07-23 11:40:43 +02:00
Alexandre Julliard e468ab3585 winegcc: Add support for specifying section alignment on Solaris. 2008-07-22 13:27:07 +02:00
Alexandre Julliard b24b2d584e winebuild: Don't put the PE header in the .init section on Solaris. 2008-07-22 13:26:45 +02:00
Alexandre Julliard a3f42116da winebuild: Add Solaris as a separate platform. 2008-07-22 13:26:30 +02:00
Dan Kegel d18cd89567 tools: Allow running tests with valgrind. 2008-07-21 14:37:02 +02:00
Maarten Lankhorst 61ba32c036 includes: Add video mixing renderer header. 2008-07-11 14:50:44 +02:00
Alexandre Julliard 26c930b32d make_makefiles: Add rules for cross-compiling all import libs from the dlls directory. 2008-07-09 11:55:00 +02:00
Alexandre Julliard e9a34e919e make_makefiles: Add more wildcard patterns in .gitignore. 2008-07-09 11:53:03 +02:00
Alexandre Julliard 28a2179dd6 Add noinput directive to all lex files to avoid a compiler warning. 2008-07-07 12:31:33 +02:00
Alexandre Julliard c0ebae42f1 widl: Fix a couple of uninitialized variable compiler warnings. 2008-07-07 12:16:51 +02:00
Rob Shearman 90d633cdd1 widl: Remove some unnecessary calls to duptype. 2008-07-07 12:11:23 +02:00
Rob Shearman ed0c013849 widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively. 2008-07-07 12:11:23 +02:00
Rob Shearman 666b57d62f include: Remove unused file wine/rpcss_shared.h. 2008-07-07 11:11:02 +02:00
Jon Griffiths dcabc064fc c2man: Don't mangle 'dll' when its part of another word. 2008-07-04 19:35:33 +02:00
Alexandre Julliard d8202087c7 makedep: Add dependencies on wine/exception.h for widl-generated files. 2008-07-03 13:08:19 +02:00
Alexandre Julliard d6e76274d9 widl: Add support for exception handling in the generated proxy code. 2008-07-03 13:08:19 +02:00
Alexandre Julliard 900bc5697e widl: Add support for exception handling in the generated server code. 2008-07-03 13:08:19 +02:00
Rob Shearman d60dc3f88b widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.
Descend through as many pointer types as necessary to find the
fundamental type and determine whether it needs a top-level parameter
conformance/variance expression to be written.

Add support for writing top-level parameter conformance/variance
expressions for non-encapsulated unions.
2008-07-03 11:50:52 +02:00
Dan Hipschman d87bc0520f widl: Factor a small part of the grammar. 2008-07-02 11:41:31 +02:00
Dan Hipschman 6725c5d756 widl: Implement type redefinition checks.
This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location
of the originial definition, like GCC.
2008-07-02 11:40:50 +02:00
Rob Shearman 037fa861ab widl: Check that the structure has been defined in check_remoting_args. 2008-07-02 11:38:50 +02:00
Rob Shearman fb224429f7 widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.
The 8 bytes are for the variance and offset and are added just before
the array, as seen in the marshalling code in rpcrt4. No offset needs
to be added for non-varying structures since the buffer mark is set
after the conformance in marshalled or unmarshalled.
2008-07-02 11:38:47 +02:00
Alexandre Julliard e213ac9aca widl: Add some support for unencapsulated unions that need a conformance descriptor. 2008-07-01 12:25:44 +02:00
Jon Griffiths 3ef22e56f2 c2man: Correct extension for non-dlls (based on a patch by Vijay Kamuju). 2008-06-26 21:30:15 +02:00
Alexandre Julliard 6e9a6577c3 widl: [default] is an allowed attribute for union fields. 2008-06-26 21:10:32 +02:00
Francois Gouget 86bd0461a5 configure: Detect and use gld/gnm/gar as alternatives to ld/nm/ar, especially for winegcc. 2008-06-26 21:08:12 +02:00