Commit Graph

3050 Commits

Author SHA1 Message Date
Alexandre Julliard 87e12632fa wrc: Fix the duplicate resource check for user-defined types. 2008-11-04 10:07:07 +01:00
Damjan Jovanovic 26fcfb4b24 winemenubuilder: Generate icons in winemenubuilder instead of wineshelllink. 2008-11-03 15:05:18 +01:00
Michael Stefaniuc 922a336063 winedump: Remove casts of void pointers to other pointer types. 2008-11-03 13:38:30 +01:00
Huw Davies 2e3e696a2c wrc: Include errno.h. 2008-10-20 22:33:43 +02:00
Huw Davies 81bab55a94 widl: Include errno.h. 2008-10-20 22:33:40 +02:00
Rob Shearman e3afab2691 wrc: Don't accept "0" as a valid codepage in "#pragma code_page" directives. 2008-10-20 11:37:27 +02:00
Austin English 7e4fc8cb35 wineinstall: Remove bashisms, make sh compatible. 2008-10-20 11:37:26 +02:00
Rob Shearman d1c1543893 wrc: Check for overflows when parsing integer constants. 2008-10-18 19:33:28 +02:00
Rob Shearman cb3ea6843c widl: Check for overflow when parsing integer constants. 2008-10-18 19:33:18 +02:00
Alexandre Julliard f80cd0db71 tools: Convert source files to utf-8. 2008-10-18 19:22:54 +02:00
Rob Shearman 9898d437ef msvcmaker: Generate rules for IDL_C_SRCS, IDL_S_SRCS, IDL_P_SRCS and IDL_TLB_SRCS. 2008-10-17 14:24:54 +02:00
Alexandre Julliard 0d9078a96c make_makefiles: Add support for .rh files. 2008-10-17 12:35:33 +02:00
Reece Dunn 23787fc7d9 msvcmaker: The Visual Studio project conversion tool requires a configuration type. 2008-10-15 14:02:27 +02:00
Dylan Smith a9b2ee2afb runtest: Fixed regression that prevented using just the -h option. 2008-10-14 13:41:56 +02:00
Alexandre Julliard d4f107f54b comcat: Moved dll registration to ole32. 2008-10-11 13:08:22 +02:00
Alexandre Julliard b4b8a342d7 widl: Add support for attributes on enum, struct and union definitions. 2008-10-10 12:54:05 +02:00
Rob Shearman a4e4e27f48 msvcmaker: Don't automatically add a define for the DLL name.
Use EXTRADEFS from the Makefile.in instead.
2008-10-09 14:20:48 +02:00
Rob Shearman 86ffc2b59f msvcmaker: Don't generate project files for DLLs that can't be compiled with MSVC. 2008-10-09 14:20:27 +02:00
Dylan Smith 443bfc99ad runtest: Let the test program handle the lack of a test name. 2008-10-08 13:40:38 +02:00
Dylan Smith 634052e4d8 runtest: Modified the default program so that it might find the test program. 2008-10-08 13:38:32 +02:00
Dylan Smith 8d88fe6d4d runtest: More helpful error when top of wine directory isn't found. 2008-10-08 13:23:15 +02:00
Andrew Nguyen f55a2a4eb5 wine.inf: Add entry for fake wintab32.dll. 2008-10-02 10:41:54 -05:00
Dmitry Timoshkov 47ecb4882f wine.inf: Correct the Pacific SA Standard Time entry. 2008-10-02 10:28:27 -05:00
Eric Pouech ac42ebb5dc winedump: First stab at dumping the "new" line information out of pdb files. 2008-10-01 09:50:59 -05:00
Eric Pouech f8380ba37a winedump: Now dumping codeview source line information. 2008-10-01 09:50:43 -05:00
Eric Pouech da6d5eaa8b winedump: Improved a bit the MS Tool V3 description. 2008-10-01 09:50:13 -05:00
Eric Pouech 81df3de0fc dbghelp,winedump: Added support for symbol symbol. 2008-10-01 09:50:02 -05:00
Eric Pouech 028956d1fe dbghelp,winedump: Added support for symbol 0x113c. 2008-10-01 09:49:54 -05:00
Eric Pouech 82d1845d85 dbghelp,winedump: Added support for 0x113d symbol. 2008-10-01 09:49:45 -05:00
Eric Pouech cff33cedf5 winedump: Add preliminary dumping of 0x1136 and 0x1137 symbols. 2008-10-01 09:49:24 -05:00
Eric Pouech ff1767863f winedump: Dump a bit more of information from procedures. 2008-10-01 09:49:10 -05:00
Eric Pouech 3333ea8dc6 winedump: Added support for dumping long long constants. 2008-10-01 09:48:56 -05:00
Eric Pouech 076dcc845f dbghelp,winedump: Added support for symbol 0x1012. 2008-10-01 09:48:32 -05:00
Eric Pouech ee4aaf7fcd dbghelp,winedump: Added support for symbol 0x113a. 2008-10-01 09:48:20 -05:00
Rob Shearman 8a6f1655d8 winebuild: Declare fatal_error and fatal_perror as non-returning functions. 2008-09-30 10:20:05 -05:00
Rob Shearman b1fccd9da9 msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined when including <math.h>. 2008-09-29 17:21:27 -05:00
Rob Shearman 07ca2b4527 msvcmaker: Fix detection of static libraries.
Also don't generate a custom build step for the .spec file for static
libraries, since they don't have a .spec file.
2008-09-29 17:21:22 -05:00
Rob Shearman f32ec6430b msvcmaker: Generate include project and make every wine module depend on it.
The include project generates .h files from .idl files so that they
can be used when compiling the modules.
2008-09-29 17:21:16 -05:00
Rob Shearman 0b334e04df msvcmaker: Generate .h files from .idl files specified in IDL_H_SRCS makefile rules. 2008-09-29 17:21:05 -05:00
Rob Shearman e842164cb8 msvcmaker: Fix invocation of winebuild to generate compatible .def files. 2008-09-29 17:20:59 -05:00
Rob Shearman 5376d37f55 msvcmaker: Add support for building wine.lib. 2008-09-29 17:19:57 -05:00
Rob Shearman e713f4bf4f msvcmaker: Update the function list for which HAVE_* defines are written into config.h.
Remove all functions for which the HAVE_ define is not used anywhere.

Add _strdup, _strtoi64 _strtoui64, chsize, strdup and vsnprintf which
are all present in MSVC headers.
2008-09-29 17:19:52 -05:00
Rob Shearman 1ab076626d msvcmaker: Remove the defining of __ASM_SHORT and __ASM_STRING in the generated config.h file.
These defines aren't needed. Move the X_DISPLAY_MISSING and __ASM_*
defines to after the PACKAGE_* defines to match config.h.in.
2008-09-29 17:19:46 -05:00
Rob Shearman efe81dd8ed msvcmaker: Update the HAVE_* defines for headers in the generated config.h file.
Update list of headers present in the MSVC build environment. fcntl.h
isn't detected by configure and so isn't needed.
2008-09-29 17:19:33 -05:00
Rob Shearman c71d16c3e9 msvcmaker: Add HAVE_* defines for some types present in the MSVC build environment. 2008-09-29 17:19:22 -05:00
Rob Shearman fb4355cb5b msvcmaker: Factor out some common settings.
Factor out writing of common compiler settings and setting of common defines.

Factor out the writing of HAVE_* defines in include/config.h and sort
the resulting defines before writing.
2008-09-29 17:19:15 -05:00
Rob Shearman d7a5ff025e msvcmaker: Fix generated imports for Wine modules and link with delayed imports. 2008-09-29 17:19:04 -05:00
Rob Shearman 6d11ecfff4 msvcmaker: Fix the generated filename for the spec file for modules with extensions other than .dll. 2008-09-29 17:18:58 -05:00
Rob Shearman 1b2cead10b msvcmaker: Fix the arguments passed to winebuild to generate the .def file. 2008-09-29 17:18:51 -05:00
Rob Shearman 6b3b7eb6a2 msvcmaker: Define USE_COMPILER_EXCEPTIONS and HAVE_SPAWNVP. 2008-09-29 17:18:39 -05:00
Juan Lang f5bdc72c49 tools/wine.inf: Register cryptdlg. 2008-09-19 12:09:23 +02:00
Rob Shearman 2e8dec4115 widl: Don't automatically add DUMMYUNIONNAME and DUMMYSTRUCTNAME names to anonymous unions and structs.
It doesn't match what MIDL does.
2008-09-18 14:18:28 +02:00
Alexandre Julliard f203263528 widl: Remove unnecessary casts in the generated code. 2008-09-15 19:40:51 +02:00
Alexandre Julliard cdfec4da31 widl: Implemented RpcAbnormalTermination in the generic exception handling code. 2008-09-15 18:18:16 +02:00
Alexandre Julliard 654e78aa38 widl: Implemented __finally support in client functions. 2008-09-15 18:03:56 +02:00
Alexandre Julliard 0f12f358cd widl: Implemented __finally support in server functions. 2008-09-15 18:03:49 +02:00
Alexandre Julliard 3bab54cf04 widl: Implemented __finally support in stub functions. 2008-09-15 18:03:44 +02:00
Alexandre Julliard b8fb66c71a widl: Separate declaration and initialisation for indirect arguments. 2008-09-15 16:46:33 +02:00
Alexandre Julliard bf011b0f53 widl: Infrastructure for adding a prefix to local variable references. 2008-09-15 16:46:01 +02:00
Alexandre Julliard 3bdaba2a93 widl: Make the exception handling macros more general and use the same code everywhere. 2008-09-15 14:05:26 +02:00
Alexandre Julliard 1218aff94d widl: Create an explicit structure for the function frame of all generated functions.
Store _StubMsg in the frame structure since it's needed for exception handling.
2008-09-15 14:02:26 +02:00
Rob Shearman e0dd72162a widl: Remove redundant code.
dispinterfaces now have a type of RPC_FC_IP instead of 0, so this code
will never be reached.
2008-09-11 11:45:33 +02:00
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