Commit Graph

482 Commits

Author SHA1 Message Date
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
Francois Gouget 3c1c89eb6e d3d9: Update win32.api to fix the winapi_check warnings. 2007-08-03 12:45:37 +02:00
Francois Gouget 04a0483273 winapi_check: FLOAT is a float. 2007-08-03 12:44:59 +02:00
Francois Gouget e434a3ff95 advapi32: Update win32.api to fix the winapi_check warnings. 2007-08-03 12:44:30 +02:00
Francois Gouget 623969b76e comctl32: Update win32.api to fix the winapi_check warnings. 2007-08-03 12:44:27 +02:00
Francois Gouget 69958262eb d3d8: Better match the PSDK types and fix the winapi_check warnings. 2007-08-03 12:44:22 +02:00
Francois Gouget 9d2f48dc0f dbghelp: Better match the PSDK types, especially with regards to constness.
Also add a number of missing prototypes, especially 64bit or Unicode
versions of existing prototypes, and the related structures.  Update
win32.api to fix the winapi_check warnings.
2007-08-03 12:43:40 +02:00
Francois Gouget 4eebfa5da9 atl: Update win32.api to fix the winapi_check warnings. 2007-07-31 21:37:27 +02:00
Francois Gouget 088c30c79a winapi: Remove some dead code. 2007-07-31 21:37:23 +02:00
Francois Gouget 8304759634 winapi: Add support for GDIPCONST. 2007-06-21 13:11:15 +02:00
Francois Gouget 56c841ced0 shlwapi: Update win32.api to fix the winapi_check warnings. 2007-06-18 12:14:30 +02:00
Francois Gouget 8b35421bf9 winapi_check: ULONG_PTR is a 'long --pointer', not a 'long'. 2007-06-18 12:14:24 +02:00
Francois Gouget ffc4a4f301 secur32: Update win32.api to fix the winapi_check warnings. 2007-06-13 11:18:19 +02:00
Francois Gouget e84562a15a msdmo: Improve the prototypes Win64 compatibility by replacing long with LONG. 2007-06-13 11:18:15 +02:00
Francois Gouget 8f3187bdf1 winapi_check: .exe and .ocx files can also export APIs. 2007-06-13 11:09:52 +02:00
Francois Gouget 393c227145 advapi32: Update win32.api to fix the winapi_check warnings. 2007-06-11 20:18:36 +02:00
Francois Gouget 4e07863184 winapi_check: Also warn about 'unsigned long's Win64 compatibility problems. 2007-06-11 20:18:31 +02:00
Francois Gouget 6936bb100f ntdll: Improve the prototypes Win64 compatibility by replacing long with LONG. 2007-06-11 20:18:28 +02:00
Francois Gouget cfbd3384e2 ws2_32: Improve the prototypes Win64 compatibility by replacing long with LONG. 2007-06-04 12:49:22 +02:00
Maarten Lankhorst e97a5e7879 winearts.drv: Kill off winearts. 2007-04-04 22:09:16 +02:00
Francois Gouget 93494f2ac0 Assorted spelling fixes. 2007-02-20 20:30:51 +01:00
Francois Gouget 2138bab79f winapi_check: gdi32.dll and gdi.exe have some extra sources in subdirectories. 2007-02-20 20:29:36 +01:00
Francois Gouget c5f193038c winapi_check: We no longer have dlls in nested sub-directories. 2007-02-20 20:29:32 +01:00
Francois Gouget 53914087aa winapi_check: Clarify a pair of error messages.
Don't use a regular expression if not necessary.
2007-02-20 20:29:26 +01:00
Francois Gouget 03bcef1d94 winapi: Update and simplify file_skip() to match the current sources. 2007-02-20 20:29:23 +01:00
Francois Gouget ba517e57d2 winapi: Remove useless 'if (0)' statements. 2007-02-20 20:29:20 +01:00
Francois Gouget 88619a80d8 winapi_check: Fix handling of the 'longlong' arguments. 2007-02-20 20:29:17 +01:00
Francois Gouget f032dcbda2 winapi_check: Update win32.api to fix the winapi_check warnings. 2007-02-20 20:29:14 +01:00
Francois Gouget f5c6a71a65 ole32: Better match the PSDK types and fix the winapi_check warnings. 2007-02-20 20:29:10 +01:00
Francois Gouget c4a4c5435c advapi32: Update win32.api to fix the winapi_check warnings. 2007-02-20 20:27:20 +01:00
Francois Gouget f3899c2651 ntdll: Better match the PSDK types and fix the winapi_check warnings. 2007-02-09 14:32:57 +01:00
Francois Gouget fe78739128 winapi_check: Fix handling of the -register functions.
Unless specified otherwise they are implemented by a '__regs_' function.
Keep track of the '-i386' flag so we can detect CONTEXT* vs. CONTEXT86* mismatches.
Remove an unneeded and broken hack meant to fudge the number of parameters.
2007-02-09 14:32:57 +01:00
Francois Gouget 30131979cc winapi_check: '-register' is compatible with stdcall. So remove this obsolete warning. 2007-02-09 14:32:57 +01:00
Francois Gouget 65563fd0d0 ntdsapi: Update win32.api to fix the winapi_check warnings. 2007-02-09 14:32:56 +01:00
Francois Gouget 71d64d09ac advpack: Make the header more consistent with the implementation and fix the winapi_check warnings. 2007-02-07 21:42:40 +01:00
Francois Gouget 4485b4506b credui: Better match the PSDK types and fix the winapi_check warnings. 2007-02-07 21:42:35 +01:00
Francois Gouget 08734d5ba1 winsock & ws2_32: Update win32.api to fix the winapi_check warnings. 2007-02-07 21:42:28 +01:00
Francois Gouget 1fbd417ce9 atl: Better match the PSDK types and fix the winapi_check warnings. 2007-02-07 21:42:21 +01:00
Francois Gouget ba0d490b1c clusapi: Better match the PSDK types and fix the winapi_check warnings.
This also makes the headers and implementation more consistent.
2007-02-07 21:42:16 +01:00
Francois Gouget 45d5ff01a6 rpcrt4: Better match the PSDK types and fix the winapi_check warnings. 2007-02-07 21:42:02 +01:00
Francois Gouget 62662d21dd rpcrt4: Improve the prototypes Win64 compatibility by replacing long with LONG. 2007-02-06 13:23:53 +01:00
Francois Gouget e6979d56b1 inseng.dll: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:22:14 +01:00
Francois Gouget a51cce7a5c localspl: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:22:11 +01:00
Francois Gouget 788b9d3ed5 pstorec: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:22:08 +01:00
Francois Gouget 8abfd531df gphoto2.ds: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:22:05 +01:00
Francois Gouget 4f20b9c401 wtsapi: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:22:02 +01:00
Francois Gouget cb86c3ec9c comctl32: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:21:59 +01:00
Francois Gouget 76c5f597a2 hid: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:21:56 +01:00
Francois Gouget e4466d5c17 compstui: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:21:47 +01:00
Francois Gouget 3641ede83c oleaut32: Update win32.api to fix the winapi_check warnings. 2007-02-06 13:21:43 +01:00
Francois Gouget dffe626a9c winapi_check: Print a warning when 'long' is used in an API file as this type is not Win64 compatible. 2007-02-05 12:23:52 +01:00
Francois Gouget 9b28bd0a3d winapi_check: Print the line number when an error or warning is found in the API files. 2007-01-26 13:54:06 +01:00
Francois Gouget 923c95a6da wintrust: Better match the PSDK types and fix the winapi_check warnings. 2007-01-26 13:54:06 +01:00
Francois Gouget aa94c6850b usp10: Update win32.api to fix the winapi_check warnings. 2007-01-26 13:54:06 +01:00
Francois Gouget d98dcb310e winecoreaudio.drv: Update win32.api to fix the winapi_check warnings. 2007-01-26 13:54:06 +01:00
Francois Gouget 6f734ac7b9 snmpapi: Fix the winapi_check warnings. 2007-01-26 12:55:56 +01:00
Francois Gouget d96cfd0734 sfc_os: Update win32.api to fix the winapi_check warnings. 2007-01-25 11:05:40 +01:00
Francois Gouget b0bde6b87c Assorted spelling fixes. 2007-01-18 12:56:52 +01:00
Alexandre Julliard f231a70f4c joystick.drv: Renamed the dlls/winmm/joystick directory to dlls/winejoystick.drv. 2006-12-29 14:29:20 +01:00
Francois Gouget d60b99bd12 msvcmaker: Remove references to wine_unicode and to .spec.c files. 2006-12-07 11:53:52 +01:00
Francois Gouget baf85ad931 msvcmaker: Link with msvcrt(d).dll rather than with the static C library. 2006-12-06 12:14:35 +01:00
Francois Gouget f1698c4b0c msvcmaker: Tweak the .dsp formatting to better match Visual Studio. 2006-12-06 12:13:52 +01:00
Francois Gouget 72d5c0ddca msvcmaker: Remove unneeded -I.. for the msvcrt tests. 2006-12-06 12:13:47 +01:00
Francois Gouget bcf4a22a5e msvcmaker: Fix the code that sets __WINETEST_OUTPUT_DIR so it does not pollute $output_dir. 2006-12-06 12:13:41 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Francois Gouget 38520a819c Assorted spelling fixes. 2006-10-03 15:56:21 +02:00
Francois Gouget 77fd5aa23b msvcmaker: The msvcrt tests need '..' in the include path. 2006-09-29 17:53:06 +02:00
James Hawkins bedcdee714 msvcmaker: Remove a reference to libs/unicode in msvcmaker. 2006-09-07 13:58:48 +02:00
Alexandre Julliard 6ba5d2e105 tools: Get rid of the winapi makefile, it's not used anyway. 2006-08-28 17:29:38 +02:00