Commit Graph

452 Commits

Author SHA1 Message Date
Francois Gouget 467691d3a0 winapi_test: Improve the usage message. 2009-02-11 15:56:02 +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
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Francois Gouget 5e3e05e043 winapi_check: Extend support for '-arch=xxx' in spec files. 2008-12-17 15:29:03 +01:00
Francois Gouget ea79b297f5 winapi_check: Add support for '-arch=xxx' in spec files. 2008-12-15 12:25:12 +01: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
Reece Dunn 23787fc7d9 msvcmaker: The Visual Studio project conversion tool requires a configuration type. 2008-10-15 14:02:27 +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
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
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
Rob Shearman 52911fc66c include: Update the MIDL_STUB_MESSAGE structure.
Reduce the size of the IsClient field, as is done in the latest SDKs
to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
2008-06-19 11:54:49 +02:00
Paul Vriens b79f37f8fd tools/winapi: Fix typo in the generated header. 2008-06-18 15:21:48 +02:00
Reece Dunn d03f4d2a49 tools/msvcmaker: Suppress deprecation warnings on VC8 and above. 2008-04-07 20:35:49 +02:00
Reece Dunn 45d248f1e0 tools: Target the version defines to Vista in msvcmaker. 2008-03-24 21:05:07 +01:00
Francois Gouget de928a09ec msvcmaker: We don't use .dbg.c files anymore. 2008-03-05 13:05:11 +01:00
Francois Gouget 19a85f3433 msvcmaker: We don't build wine.lib so don't try to copy it. 2008-03-05 13:05:02 +01:00
Francois Gouget 9a17f38d6c msvcmaker: winebuild needs getopt*.c and mkstemps.c when compiled with MSVC. 2008-03-05 13:04:53 +01:00
Francois Gouget e52dad1eb7 winapi_check: Update win32.api for d3dx8.dll. 2008-02-05 12:19:38 +01:00
Francois Gouget 511aca5244 winapi_check: Assorted win32.api updates. 2008-02-05 12:19:38 +01:00
Francois Gouget 566b10a330 winapi_check: Update win32.api for acledit.dll, ctapi32.dll and inetcomm.dll. 2008-02-05 12:19:38 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Peter Oberndorfer 66960ba4bf dwmapi: Add stub implementation for DwmSetWindowAttribute and DwmUnregisterThumbnail. 2008-01-07 18:19:37 +01:00
Francois Gouget 80911c12f4 crypt32: Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-29 12:04:48 +01:00
Francois Gouget b1335db353 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-23 18:19:42 +02:00
Francois Gouget d16a634c38 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:48 +02:00
Francois Gouget 1a75b5d49c user32: Fix the HRAWINPUT definition and the GetRawInputData() prototype. Update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:35 +02:00
Francois Gouget d223716b7b msdmo: Fix the DMOGetName() prototype. 2007-10-15 14:06:30 +02:00
Francois Gouget c8fbeae6c9 winapi: Assorted win32.api updates. 2007-09-27 20:12:22 +02:00
Francois Gouget 4040ecee2b dnsapi: Fix the DnsQueryConfig() prototype. 2007-09-18 11:21:17 +02:00
Francois Gouget af183df608 advapi32: Add and use LSTATUS. 2007-09-18 11:20:53 +02:00
Francois Gouget 547b0f3417 faultrep: Update win32.api to fix the winapi_check warnings. 2007-09-13 11:00:57 +02:00
Francois Gouget 4ce6a5fa3d url: Update win32.api to fix the winapi_check warnings. 2007-09-12 11:33:10 +02:00
Francois Gouget 2cd698aff0 winapi_check: 'char*' is a string, not a pointer. 2007-09-12 11:33:10 +02:00
Francois Gouget ec6e307b92 quartz: Better match the PSDK types and fix the winapi_check warnings. 2007-09-10 12:15:06 +02:00
Francois Gouget b306d15084 query: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:15:00 +02:00
Francois Gouget 4aed59ef5b crypt32: Better match the PSDK types and fix the winapi_check warnings. 2007-09-10 12:14:03 +02:00
Francois Gouget 878c6f4f5e winex11.drv: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:13:51 +02:00
Francois Gouget ee6a962532 winapi_check: Assorted win16.api and win32.api updates. 2007-09-10 12:13:47 +02:00
Francois Gouget 015dc79cd4 version: Fix some Ver*() prototypes (especially wrt constness).
Better match the PSDK types and fix the winapi_check warnings.
2007-09-10 12:13:41 +02:00
Francois Gouget 6927c9ca61 secur32: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:13:27 +02:00
Francois Gouget 823f386914 vdmdbg: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:32 +02:00
Francois Gouget 48ae1a47bc schannel: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:30 +02:00
Francois Gouget e32fa84bb2 rpcrt4: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:27 +02:00
Francois Gouget 225ff43076 spoolss: Update win32.api to fix the winapi_check warnings. 2007-09-10 12:12:24 +02:00
Francois Gouget 6dbf9c1932 shlwapi: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:49 +02:00
Francois Gouget 566330691d winscard: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:49 +02:00
Francois Gouget cba68f4cd5 mmsystem: Better stick the the PSDK types. 2007-08-30 17:02:49 +02:00
Francois Gouget 93f7444d96 winhttp: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:48 +02:00
Francois Gouget 043fd9b9fe winapi_check: Assorted win32.api updates. 2007-08-30 17:02:48 +02:00
Francois Gouget 20a7ab48d1 gdiplus: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:48 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Francois Gouget ce26e78c23 printui: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:48 +02:00
Francois Gouget ee3b2632ef ntprint: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:45 +02:00
Francois Gouget f20cd498e0 ntoskrnel.exe: Better match the PSDK types and fix the winapi_check warnings. 2007-08-16 11:09:41 +02:00
Francois Gouget cd1c07b4d8 ntdll: Better match the PSDK types and fix the winapi_check warnings. 2007-08-16 11:09:38 +02:00
Francois Gouget 66b7134a04 nddeapi: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:34 +02:00
Francois Gouget df3437b825 mshtml: Update win32.api to fix the winapi_check warnings. 2007-08-16 11:09:22 +02:00
Francois Gouget 64de86dce7 pdh: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:34 +02:00
Francois Gouget 910d1b01e8 wing32: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:31 +02:00
Francois Gouget 31c8f3e02b mprapi: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:28 +02:00
Francois Gouget a72b53ee62 mapi32: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:25 +02:00
Francois Gouget 9c17c4ccfe userenv: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:13 +02:00
Francois Gouget f992b6360b kernel32: Update win32.api to fix the winapi_check warnings. 2007-08-10 11:56:01 +02:00
Francois Gouget ce9672367a gdi32: Update win32.api to fix the winapi_check warnings. 2007-08-09 14:12:53 +02:00
Francois Gouget b4209a7bb8 mscoree: Update win32.api to fix the winapi_check warnings. 2007-08-09 14:12:48 +02:00
Francois Gouget 5771700019 msi: Better match the PSDK types, remove some now unused types from win32.api, and update it to fix the winapi_check warnings. 2007-08-09 14:12:44 +02:00
Francois Gouget f6848fb682 imm32: Add a couple of missing prototypes and update win32.api to fix the winapi_check warnings. 2007-08-09 14:12:33 +02:00
Francois Gouget ca99deba39 d3drm: Update win32.api to fix the winapi_check warnings. 2007-08-09 14:12:23 +02:00
Francois Gouget b449a8ba31 netapi32: Update win32.api to fix the winapi_check warnings. 2007-08-09 14:12:19 +02:00
Francois Gouget f33abb6d96 wininet: Add a skeleton winineti.h header with fixed prototypes for [GS]etUrlCacheConfigInfo*(), DeleteIE3Cache() and IsUrlCacheEntryExpired*().
Remove SetUrlCacheConfigInfo*() from wininet.h, it's supposed to be declared in winineti.h.
Update win32.api to fix the winapi_check warnings.
2007-08-09 14:11:56 +02:00
Francois Gouget 7a94a171a5 hlink: Add a missing prototype and update win32.api to fix the winapi_check warnings. 2007-08-08 15:32:04 +02:00
Francois Gouget 9dab7ad474 localui: Update win32.api to fix the winapi_check warnings. 2007-08-08 15:32:04 +02:00
Francois Gouget a0e92f1674 wined3d: Update win32.api to fix the winapi_check warnings. 2007-08-08 15:32:03 +02:00
Francois Gouget f59ad1e31a hhctrl.ocx: Update win32.api to fix the winapi_check warnings. 2007-08-08 15:32:03 +02:00
Francois Gouget c9b9826786 wintrust: Fix the CryptCATAdminReleaseCatalogContext() prototype and better match the PSDK types.
Add some missing prototypes to mscat.h.
Update win32.api to fix the winapi_check warnings.
2007-08-08 15:32:03 +02:00
Francois Gouget 92f297485c winapi_check: Fix a couple of dll names. 2007-08-08 15:32:03 +02:00
Francois Gouget ca3a241889 dnsapi: Better match the PSDK types, especially with regards to constness.
Add some missing A/W prototype macros.
Update win32.api to fix the winapi_check warnings.
2007-08-08 15:32:03 +02:00
Francois Gouget 5b375aec71 ddraw: Better match the PSDK types and fix the winapi_check warnings. 2007-08-08 15:32:03 +02:00
Francois Gouget b86570d136 imagehlp: Better match the PSDK types, especially with regards to constness.
Add many missing prototypes which we already had in dbghelp.h, and their related structures.
Update win32.api to fix the winapi_check warnings.
2007-08-06 12:31:45 +02:00
Francois Gouget 5e565a76b4 dwmapi: Add dwmapi.h and update win32.api to fix the winapi_check warnings. 2007-08-06 12:31:10 +02:00
Francois Gouget f67fd2cfa4 crypt32: Better match the PSDK types and fix the winapi_check warnings. 2007-08-06 12:30:48 +02:00
Francois Gouget cace3f9e8c dnsapi: The DNS APIs don't take PIP4_ARRAYs anymore (for IPv6 compatibility). 2007-08-06 12:30:25 +02:00