Commit Graph

485 Commits

Author SHA1 Message Date
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
Colin Pitrat ab2cdead77 tools: Check for open return code in Perl scripts. 2006-08-10 11:30:37 +02:00
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Mike McCormack 1cf527c3a3 winapi: IMAGE_OPTIONAL_HEADER has different members on x86-64. 2006-05-26 11:56:04 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 9139fd140c winapi: Add support for APIENTRY.
Factorize a couple of call convention matching regular expressions.
2006-05-15 11:09:13 +02:00
Francois Gouget 964cbcbf80 winapi_check: Fix 'long int' parsing.
Fix parsing of 'long int'.
Simplify handling of spaces in a couple of regular expressions.
2006-05-10 19:41:23 +02:00
Hans Leidekker 60e017de99 dnsapi: Teach winapi_check about dnsapi.dll. 2006-04-10 19:42:24 +02:00
Francois Gouget 0c02e4671e Update win32.api to match the current sources. 2006-03-21 20:03:10 +01:00
Francois Gouget be6d891f0d advpack: Prepare the unicodification of advpack.dll.
All functions that manipulate strings should have an Ansi and a
Unicode variant.
Forward the unqualified dll entry points to the Ansi variant for
backward compatibility.
We're not allowed to use unqualified entry points in Wine, so change
RegInstall() calls to RegInstallA().
Update win32.api.
2006-02-27 15:57:33 +01:00
Francois Gouget 8851c4fc4e crypt32: Add CryptQueryObject() prototype.
Update win32.api.
2006-02-24 21:09:36 +01:00
Francois Gouget dcb90635f8 winsock: Tweak getnameinfo() prototype.
Tweak the getnameinfo() prototype to better match the Windows PSDK and
the GetNameInfoW() prototype.
Update win32.api.
2006-02-24 21:09:19 +01:00
Francois Gouget 4c2f22f7c6 sfc: Updates.
Add a missing sfc.dll prototype.
Add an sfc.dll section to win32.api for winapi_check.
2006-02-24 21:08:42 +01:00
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Francois Gouget 8ff21ff88f winapi: Update win32.api to match the current sources. 2006-02-07 21:17:32 +01:00
Robert Millan 55b74483de configure: For sys/mount.h, sys/statfs.h and sys/vfs.h, always include
them if present.
2006-02-06 21:53:27 +01:00
Rolf Kalbermatter b7142fbb86 winapi: msvcmaker adaption to new directory structure.
Fix some issues with MSVC project file generation after recent
directory restructuring.
2006-01-06 12:19:11 +01:00
Rolf Kalbermatter 8d5db3ee04 winapi: Add the loader directory to the paths to exclude.
There is nothing in there anymore that would need to be done for
winapi tools.
2006-01-06 12:18:10 +01:00
Rolf Kalbermatter 2db7d11dc2 winapi: Cleanup some unused use clauses. 2006-01-06 12:17:46 +01:00
Hans Leidekker 578e86a683 winapi: Remove some exceptions now that DLL separation is complete. 2006-01-04 14:49:22 +01:00
Francois Gouget 19d8a272d3 winapi: Update win32.api to match the current sources. 2006-01-03 12:10:23 +01:00
Vincent Béron 648cc6f435 Update win16.api and win32.api. 2005-12-09 11:22:32 +01:00
Vincent Béron e78997a7f9 Sort entries in win16.api and win32.api 2005-12-06 11:33:42 +01:00
Vincent Béron 1f9fd44c3a Update win32.api to current git. 2005-12-06 10:58:07 +01:00
Francois Gouget 5193c8565f Update win32.api to match the current sources. 2005-12-05 12:49:30 +01:00
Vincent Béron 18c5a0a2a0 winapi_check: fully descend in included files to check for prototype. 2005-12-03 18:03:50 +01:00
Francois Gouget 5127dc9f49 Assorted spelling fixes. 2005-12-02 16:15:09 +01:00
Francois Gouget 5cbd312bb2 Update win32.api to match the current sources. 2005-12-02 13:32:17 +01:00
Francois Gouget 250c80b1ed Better stick to the PSDK types and to the dsrole.h prototype.
Update win32.api.
2005-12-02 13:27:42 +01:00
Francois Gouget 972b6ccc2e Fix __RPC_USER handling. 2005-12-02 13:01:16 +01:00
Francois Gouget 4a4ab52d76 Better stick to the PSDK types.
Update win32.api.
2005-12-02 13:01:07 +01:00
Vincent Béron 2f8f459516 Make winapi_check understand the interface keyword. 2005-12-02 11:27:13 +01:00
Vincent Béron 74ce0d363a Update win32.api to current cvs.
Add __RPC_USER as a calling convention in winapi.
2005-11-30 12:03:03 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget f667584aac winldap.h should include windeh.f and schnlsp.h.
Enclose the API definitions in an extern "C" section and define
LDAPAPI.
Better stick to the types defined by the PSDK.
Fix the ldap_create_vlv_control*() prototypes.
Update win32.api.
2005-11-23 20:12:07 +01:00
Francois Gouget 482df927ca Add LPADDRINFO, missing IP_* defines and missing APIs.
Enclose the API definitions in an extern "C" section.
Define function pointer types if INCL_WINSOCK_API_TYPEDEFS is defined.
Better stick to the types defined by the PSDK.
Update win32.api.
2005-11-23 19:43:50 +01:00
Vincent Béron f41abbd07a Add/correct prototypes for some already defined functions in
advapi32. Correct spec file entry for GetSecurityInfoExW.
2005-11-21 12:06:00 +00:00
Vincent Béron 483f3bac53 Update win32.api to cvs. 2005-11-17 11:03:14 +00:00
Vincent Béron 2d2e7f8432 Update win16.api and win32.api. 2005-11-04 11:44:01 +00:00
Vincent Béron 78039be7dd volatile is legal (and used now!) in a typedef struct {}. 2005-11-04 11:39:58 +00:00
Vincent Béron 297ef3af20 Fix typo: PSYM_ENUMSOURCEFILES_CALLBACK instead of
PSYM_ENUMSOURCFILES_CALLBACK.
2005-11-04 11:16:48 +00:00
Vincent Béron eb3fec1b87 __RPC_STUB is a calling convention as well (#defined as __stdcall). 2005-11-04 11:14:41 +00:00
Vincent Béron 0be88a04a8 Correct AtlModuleAddTermFunc prototype. 2005-10-18 10:34:21 +00:00
Francois Gouget b01d6a9081 Move all Unicode and Ansi string types to the %str and %wstr
sections.
2005-10-08 10:33:54 +00:00
Francois Gouget 247cd64c0c winapi_check does not use the '--extension' flag so remove it. 2005-10-06 11:34:47 +00:00
Vincent Béron eeea14a81e Update winapi_check for "false" HAVE_* macros. 2005-09-29 10:33:00 +00:00
Vincent Béron 8ee9f5052b Update win32.api to current CVS. 2005-09-29 10:32:50 +00:00
Vincent Béron ba09692406 Don't treat absence of conditional as config.h being useless if
wine/port.h is included, as it's necessary in that case.
2005-09-28 10:15:44 +00:00
Francois Gouget 2f9678727f Add iads.idl to define the IADsContainer interface.
Add adshlp.h to declare the ADs* functions.
Fix the ADsOpenObject() prototype.
Update win32.api to match.
2005-09-26 16:43:20 +00:00
Francois Gouget f0f179dd0d volatile is valid everywhere const is valid. 2005-09-26 13:25:35 +00:00
Francois Gouget 3f079bfb54 HOLEMENU is a 'long' as far as winapi_check is concerned. 2005-09-26 09:54:22 +00:00
Francois Gouget 5d42588c1c Update win32.api to match the current sources.
Fix the usp10.dll name.
Fix PBERVAL alphabetical order.
2005-09-26 09:53:06 +00:00
Francois Gouget 9714802b25 Update winapi_check so it considers 'longlong' (win*.api files) as
compatible with 'double' (spec files).
2005-09-26 09:52:09 +00:00
Vincent Béron ac3ac35f41 Update the win32.api file to current CVS. 2005-09-09 09:11:23 +00:00
Francois Gouget 09108edded 'volatile' is valid everywhere where 'const' is valid. This fixes
parsing of the new InterlockedExchange() prototype.
2005-09-06 09:23:46 +00:00
Rémi Assailly 2e689c6c66 Removed mcianim. 2005-08-19 11:22:25 +00:00
Rémi Assailly 5df5e40164 Moved mciseq to the top-level dlls directory. 2005-08-17 12:15:35 +00:00
Francois Gouget 71af595499 Use LPSTORAGE to better match the PSDK.
Document the real SEGPTR type using the standard documentation
mechanisms. Fixes winapi_check warnings.
2005-08-16 16:01:15 +00:00
Francois Gouget bcd56fe0e5 Assorted spelling fixes. 2005-08-12 18:22:06 +00:00
Vincent Béron be3837e95b Correct a typo in winapi_local.pm. 2005-08-11 10:32:10 +00:00
Vincent Béron 85c8a9ef8e Another update to win*.api. 2005-08-11 10:32:02 +00:00
Vincent Béron a25f8c49b6 Another update to the win*.api files. 2005-08-10 09:48:43 +00:00
Vincent Béron 49f3c2aeec Since windows/ is gone, headers for user are only in
dlls/user/. Remove kludge from winapi_check.
2005-08-10 09:48:31 +00:00
Vincent Béron 7257b70718 Remove WINE_PACKED recognition.
Update various winapi parser regular expressions to let it understand
some Wine constructs.
2005-08-08 11:06:24 +00:00
Vincent Béron eca5bd48bb Update win16.api/win32.api to current CVS. 2005-08-08 11:06:14 +00:00
Vincent Béron 52dbbafaaa Remove WINE_UNUSED checks. 2005-08-08 11:06:02 +00:00
Rémi Assailly dbbd0d5115 Moved mcicda to the top-level dlls directory. 2005-07-27 15:42:40 +00:00
Vincent Béron 06153098b8 Make winapi_check learn to parse some constructs with some rarely used
keywords.
2005-07-24 17:09:37 +00:00
Vincent Béron a9038b5584 Remove old stuff from winapi_check. 2005-07-24 16:14:49 +00:00
Francois Gouget 96a31515c6 Update win32.api to match the current sources. 2005-07-22 19:48:33 +00:00
Rémi Assailly f9f5eaab6e Moved midimap to the top-level dlls directory. 2005-07-21 11:31:56 +00:00
Francois Gouget 50f7733059 Add missing types to win32.api. 2005-07-11 10:56:41 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Francois Gouget 355f01275e Update win32.api to match current sources. 2005-06-30 18:08:25 +00:00
James Hawkins 996bcc5c40 Add some missing types to win32.api. 2005-06-28 10:54:18 +00:00
Saulius Krasuckas e76d25f68c Sync msvcmaker with make_ctests to generate valid code. 2005-06-20 10:30:31 +00:00
Francois Gouget 162adc4254 Update the win(16|32).api files to match the current sources. 2005-06-17 21:31:17 +00:00
Francois Gouget fd73829593 Fix the prototypes of SQLCreateDataSource*(), SQLGetPrivateProfileString*().
Fix the return type of SQLInstallerError*() and
SQLPostInstallerError*().
Fix the SQLInstallDriver() and SQLInstallDriverEx() prototypes in the
spec file.
Add an odbccp32 section to win32.api for winapi_check.
2005-06-17 21:26:31 +00:00
Francois Gouget 483bce1dae Fix the FreeADsMem() prototype.
Add an activeds section to win32.api for winapi_check.
Fix a documentation warning.
2005-06-17 20:56:21 +00:00
Francois Gouget ba0b5a8ca1 Remove a check for obsolete directory and file special cases. 2005-06-17 20:55:07 +00:00
Francois Gouget d7d68dba23 We should set the global $all_modules variable otherwise there's no
point.
2005-06-17 20:54:55 +00:00
Alexandre Julliard dae2b44263 Fixed a number of references to removed directories. 2005-06-09 10:24:51 +00:00
Vincent Béron 187790948e Update win16.api and win32.api to keep up with current Wine
development.
2005-05-16 08:46:00 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Francois Gouget a96f8ac203 HAVE_V4L2 is not an autoconf define so tell winapi_check not to
complain complain about it.
2005-05-06 14:33:34 +00:00
Francois Gouget 8054f6c5ad Update win32.api to match the current sources.
Declare CoGetClassObjectFromURL() in urlmon.h.
2005-05-06 14:32:48 +00:00
Alexandre Julliard 1492028a96 Get rid of the winapi_check_dir config parameter. 2005-05-04 10:43:00 +00:00
Hans Leidekker a764450631 Move all files from winapi_check/ to winapi/, and remove references to
winapi_check directory.  Merge winapi_check programs.
2005-05-04 09:55:17 +00:00
Francois Gouget 580a333dee Add a powrprof section.
Update win32.api to match the current source.
2005-04-22 21:17:57 +00:00
Francois Gouget 00f72a32fd Add a definition for _ATL_REGMAP_ENTRY in atlbase.h.
Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses
the right pointer types.
2005-04-22 19:04:18 +00:00
Francois Gouget 30a07e9046 Fix the DCICreatePrimary() prototype. It's supposed to return an int
so have it return DCI_FAIL_UNSUPPORTED.
Add the needed error codes and the DCISURFACEINFO definition to
dciddi.h.
Add dciman.h and put the function prototypes there.
dciddi.h and dciman.h should be installed with the other Windows
headers.
2005-04-20 18:42:04 +00:00
Francois Gouget 3a868e0690 Try to clarify the 'no translation defined' error.
Remove an unused variable.
2005-04-20 14:24:52 +00:00
Francois Gouget 133cd70068 Update win32.api to match the current source. 2005-04-20 12:51:51 +00:00
Vincent Béron f4db2e3ad7 rsabase doesn't use any types now, so remove it. 2005-03-29 11:31:39 +00:00
Vincent Béron f455ebf92b Teach winapi about types newly used in various dlls. 2005-03-21 10:53:13 +00:00
Francois Gouget da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +00:00
Steven Edwards fa9b9f5fea Define "WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600" for all
the targets.
2004-11-22 19:46:22 +00:00
Francois Gouget 5c033dad79 MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so
ignore it.
2004-10-30 02:10:22 +00:00
Francois Gouget a8b09d11ca Add function prototypes.
Change the way functions are called and either alter their declaration
order or predeclare them so perl can check the prototypes.
2004-10-26 00:12:21 +00:00
Francois Gouget 1d691d5d70 Fix the usage for non-boolean options, always print the
description. This fixes the output of 'make_filter --help'.
2004-10-25 21:50:36 +00:00
Francois Gouget b4df2417c4 Review and fix regular expressions of the form /^foo|bar$/.
Replace regular expressions with simple string comparisons where
possible.
Use '(?:subregexp)' instead of '(subregexp)' wherever possible.
'dlls/gdi' does not have a win16drv subdirectory anymore so simplify
regular expressions accordingly.
2004-10-22 19:55:42 +00:00
Francois Gouget aabbbc0c5b Standardize on '%long --pointer'.
Update it to match the latest source. Fixes many winapi_check
warnings.
2004-10-21 22:28:28 +00:00
Francois Gouget 85ae255f96 Fix some issues reported by winapi_check:
Add mscat.h and wintrust.h; update wincrypt.h.
Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes
so they use the proper types.
Update the wintrust section of win32.api.
2004-10-21 21:00:29 +00:00
Francois Gouget 9c3246803b Fix the declaration of SymEnumSymbols() in dbghelp.spec.
Use PVOID instead of void* for consistency.
Update the dbghelp section in win32.api.
2004-10-21 19:57:56 +00:00
Steven Edwards c7545d2b1c Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all
cases.
2004-10-11 19:51:43 +00:00
Vincent Béron c165496f01 Update types checked by winapi_check. 2004-10-08 21:02:09 +00:00
Francois Gouget 370f220744 Don't import parse_comma_list() unless necessary.
winapi_check_options.pm: Fix typo in the parse_comma_list()
reference.
2004-10-07 04:20:41 +00:00
Martin Fuchs c35c48b983 Fix generation of config.h. 2004-10-06 18:52:15 +00:00
Martin Fuchs c7e467486f Fix msvcmaker imports. 2004-10-06 00:04:54 +00:00
Francois Gouget d8c96b08f3 Identify comm.drv as a 16bit dll. 2004-10-05 18:14:02 +00:00
Francois Gouget bac042c256 Limit the length of progress messages to less than $COLUMNS || 80
characters so they don't wrap (which would cause them to be badly
erased).
Make good use of the 'x', the perl string multiplication operator.
Add function prototypes.
2004-10-05 18:08:57 +00:00
Francois Gouget c2f2b990e0 Add function prototypes. 2004-10-05 18:08:40 +00:00
Francois Gouget d0882ef46d Handle the static libraries linked to using EXTRALIBS. 2004-10-04 19:14:49 +00:00
Steven Edwards d2acb8cf8b Define _WIN32_WINNT and _WIN32_IE versions for MS_VC Build. 2004-09-23 04:26:54 +00:00
Francois Gouget 02236f06a8 Fix and unify parsing of calling conventions.
Hack handling of 'struct { } *NDR_SCONTEXT;' so we don't cause a parse
error as this is a valid C construct.
Generate type tests for rpcrt4.
Remove PRPC_BINDING_VECTOR and PUUID_VECTOR, they don't exist on
Windows.
Fix the MIDL_STUB_MESSAGE, MIDL_SERVER_INFO and
MIDL_STUBLESS_PROXY_INFO structs.
Add NDR_ALLOC_ALL_NODES_CONTEXT, NDR_POINTER_QUEUE_STATE and
CS_STUB_INFO.
2004-09-08 01:27:24 +00:00
Francois Gouget c13638ee85 Fix c_parser.pm so it handles 'const' preceeding a '*'.
Add missing #pragma pack directives for the new shlobj.h types.
Fix some field names in CSFV and QCMINFO.
Update the generated tests to also check shtypes.h and test some more
types.
2004-09-07 22:46:26 +00:00
Francois Gouget 5d54c7ba7c Test some more gdi types. 2004-09-07 20:27:34 +00:00
Francois Gouget 7e848dc47e Test some more urlmon types. 2004-09-07 19:33:36 +00:00
Francois Gouget ab1866be52 Test some more ntdll types.
tests.dat: Remove types that don't exist, whether in the Windows or
Wine headers.
2004-09-06 21:26:57 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Francois Gouget 7421a7b560 Don't output the DECLSPEC_ALIGN() directives in the TYPE_FIELD tests. 2004-09-01 04:53:22 +00:00
Alexandre Julliard 2ceb42dd43 Moved all files from the controls/ directory to dlls/user. 2004-08-31 01:10:08 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget 2e360b3ee4 Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Francois Gouget 6b1e83281b Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
platform SDK. This helps compile the ntdll tests on Windows.
2004-08-22 22:28:53 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Francois Gouget 07ba7f33e1 DECLARE_OLD_HANDLE is not used anymore. 2004-08-22 02:02:00 +00:00
Francois Gouget 09747e50e7 Fix packing bug in shlobj.h.
Fix the declaration of bitfields so their layout matches what MSVC
generates.
Modify winapi_test to compute the bitfields size/alignment like MSVC
does.
Update the impacted generated.c files.
2004-08-20 19:33:17 +00:00
Francois Gouget 68232c6c2f Remove types that don't exist from tests.dat.
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Francois Gouget e69f38551e Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros.
Add a couple base types that winapi_test does not know how to parse.
Fix a bug so that 'signed' and 'unsigned' are recognised as valid
types.
2004-08-16 19:46:09 +00:00
Francois Gouget a625761eb9 Avoid annoying 'macro redefinition' warnings by defining
WIN32_NO_STATUS at the right time.
Define _WIN32_WINNT otherwise we are missing some symbols with the
Windows headers.
2004-08-14 00:42:12 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Francois Gouget 6f902f16fb The Windows headers don't define PEXCEPTION_REGISTRATION_RECORD.
Remove it.
2004-08-13 23:22:30 +00:00
Francois Gouget 0cc262c5bf Fix compilation of the wininet generated tests with the Windows
headers.
2004-08-13 23:19:37 +00:00
Francois Gouget 522217c0e2 Remove LPFILESYSTEMBINDDATA as it's not defined in the standard
Windows headers.
2004-08-11 20:52:37 +00:00
Francois Gouget 48ea250887 Don't define __WINE_USE_MSVCRT in the Visual C++ project. It is not
needed as it is defined by the Wine headers.
Use __WINE_USE_MSVCRT to detect whether we are being compiled with the
Wine MSVCRT headers or the Windows ones. In the latter case:
 - don't try to include the Wine-specific msvcrt headers
 - skip all the headers.c tests since there's no MSVCRT_* symbols to
   check
2004-08-11 19:36:17 +00:00
Francois Gouget ad7a4fb9ee Fix msvcmaker so the generated testlist.c files include stdarg.h.
Add comments pointing out the relation between msvcmaker and
make_ctests.
2004-07-16 19:14:43 +00:00
Patrik Stridvall ae9cf771de - API files update.
- Minor bug fixes.
2004-05-17 20:50:24 +00:00
Hans Leidekker e2bf33437d - Assume 8 byte maximum alignment.
- Sync type testing data with the headers.
2004-05-04 00:38:27 +00:00
Steven Edwards 0ea344e53a Remove reference to old graphics directory 2004-03-22 21:29:53 +00:00
Patrik Stridvall 446d6c0ea1 API files update. 2004-02-27 21:28:45 +00:00
Patrik Stridvall 9c39156efd - API files update.
- Minor bug fixes.
2004-02-20 19:57:42 +00:00
Hans Leidekker c9b4f601cb Fixed misuse of scalar reference variable. 2004-01-20 23:37:35 +00:00
Francois Gouget b358b7ad4f Generate ok("...\n") calls. 2004-01-20 21:50:01 +00:00
Martin Fuchs f74e715bab Fixed options for winebuild. 2003-12-15 19:50:42 +00:00
Alexandre Julliard 97657b1dcf Get rid of the msdos/ directory. 2003-11-14 21:12:03 +00:00
Alexandre Julliard 7999469e7d Moved memory/environ.c, memory/virtual.c and misc/cpu.c to
dlls/kernel.
Get rid of the memory/ directory.
2003-11-13 20:58:55 +00:00
Alexandre Julliard 357c7401b9 Re-use the loader directory for the main wine loader, and get rid of
the miscemu directory.
2003-11-06 01:17:56 +00:00
Francois Gouget f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Alexandre Julliard 2f31228dfe Specify include quotes in the tests.dat file. 2003-10-24 04:43:16 +00:00
Francois Gouget 56b63e85c3 Update tests.dat to include the various #include fixes.
gcc says that sizeof(long double)==12.
Fix the detection of pragma packs to detect #include <...>.
Generate ok("...\n") calls.
2003-10-21 23:48:13 +00:00
Daniel Marmier a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Francois Gouget 7aa0f3c41d Update winapi and c2man so they know about -ret16. Remove support for
the obsolete pascal16 and -noimport.
Update modules.dat so winapi knows about the new dlls.
2003-09-29 20:15:24 +00:00
Jon Griffiths 33c069ae30 Added some needed config.h entries. 2003-09-23 22:51:11 +00:00
Alexandre Julliard ccc7570b84 Get rid of relay32 directory. 2003-09-19 04:36:54 +00:00
Alexandre Julliard 4e874ee0d7 The if1632 directory no longer exists. 2003-08-26 02:31:43 +00:00
Jon Griffiths 40085f8a8c ole/ directory doesn't exist anymore. 2003-08-18 19:48:14 +00:00
Patrik Stridvall c5f834ce6a - API files update.
- Minor bug fixes.
2003-08-08 21:04:17 +00:00
Jon Griffiths 0e8c8cb246 Handle long file names in pre-build step (quote them).
dlls/gdi/win16drv doesn't exist any more.
2003-07-18 22:53:33 +00:00
Francois Gouget 617cf92602 library/Makefile.in and unicode/Makefile.in don't exist anymore. 2003-05-13 00:29:09 +00:00
Hans Leidekker 0c3e654b1c Make winapi_check handle spec files where no handler is specified. 2003-04-07 23:19:43 +00:00
Jon Griffiths 272d240402 Output a dummy function for linking.
Define __WINE_USE_NATIVE_HEADERS for tests that need to care.
Change the debug information format to prevent winedbg from crashing.
2003-03-15 19:36:16 +00:00
Alexandre Julliard f8bac62769 Do not define __WINESRC__ when building tools and miscemu. 2003-01-09 01:57:15 +00:00
Francois Gouget dcfc25e982 Add support for .drv extension (for winspool.drv tests for instance). 2003-01-07 19:40:00 +00:00
Dimitrie O. Paun 8b36681bad Rename __WINE__ to __WINESRC__. 2003-01-04 00:52:18 +00:00
Patrik Stridvall b6077c6632 Added --include-quotes option that fixes #include to use the correct
of <> and "".
2003-01-03 03:05:41 +00:00
Patrik Stridvall 4715b802a7 - API files update.
- Minor improvement and bug fixes.
2003-01-02 19:26:11 +00:00
Francois Gouget 95217843d5 The link command specifies which version of the C library to link with
(see /M[TD]d? option). So we must not explicitly link with
'msvcrt.lib'. Fixes the msvcrt test crashes.
2002-12-18 02:22:12 +00:00
Patrik Stridvall fc46e46240 - Fixed bug caused by changes to Wine.
- Added support for running all the tests in batch.
2002-11-30 19:03:51 +00:00
Patrik Stridvall f2c2eafafb - API files update.
- Minor improvement and bug fixes.
2002-11-27 20:11:10 +00:00
Vincent Béron 1eb106b92f Removed some unused types. 2002-11-18 23:12:44 +00:00
Patrik Stridvall b3da4abc57 Added tests for a few new DLLs. 2002-11-12 01:05:17 +00:00
Patrik Stridvall 14fa65948b - API files update.
- Fixed options --cross-call-{unicode-ascii,win32-win16}.
- Minor reorganization of the global checks.
2002-11-11 19:55:11 +00:00
Patrik Stridvall aac9ff400c - Added code for detection of missing types.
- Added missing types.
- Added a function for each type test to improve compiling with -O2.
2002-11-06 21:58:50 +00:00
Patrik Stridvall eb4db9471f API files update. 2002-11-06 19:58:02 +00:00
Patrik Stridvall 93cf466cba - Updated it to support changes in Wine.
- Added support for C++ compilation (off by default).
2002-11-04 22:41:00 +00:00
Patrik Stridvall 5554838292 Added tests for normal types (not just structures). 2002-11-04 22:40:13 +00:00
Patrik Stridvall ec50ab2a33 API file update. 2002-10-29 21:30:32 +00:00
Patrik Stridvall 011fc645a3 Add new options --wine and --winetest so workspace and project files
for Wine and Winetest might be generated independently.
2002-10-29 21:25:09 +00:00
Patrik Stridvall 1a6898b8ef Added support for excluding optional fields. 2002-10-29 21:23:44 +00:00
Patrik Stridvall ccfd32fbf6 - Added proper parsing of the Makefile.in's to find the tests.
- Added support for optionally using the Microsoft headers instead of
  the Wine headers.
2002-10-23 20:16:12 +00:00
Patrik Stridvall 3007bd437e Minor modifications and improvements. 2002-10-23 18:44:46 +00:00
Patrik Stridvall 724c1a60ff - Better .dsp file generation for .exe outputs
- Added generation of winetest.dsw for building wine tests under
  Windows (currently very kludgy, but it works to some extent).
2002-10-18 00:20:58 +00:00
Patrik Stridvall cff905837f - Fixed broken winapi_extract options --{pseudo-,}stub-statistics.
- Added new winapi_extract options --{pseudo-,}implemented.
2002-10-15 02:15:35 +00:00
Patrik Stridvall 90fb04604d Don't use a special header file for macros used in generated tests.
Have a copy in each generated file instead.
2002-10-15 01:24:03 +00:00
Patrik Stridvall 65442cd763 - Improved alignment and offset calculations.
- Reorganized and improved enum/union/struct parsing.
2002-10-11 17:53:13 +00:00
Patrik Stridvall 91a3686853 Reorganized the code for better support of data structures parsing. 2002-10-09 18:12:02 +00:00
Patrik Stridvall df6d37e0f2 - Minor improvements.
- Added tests for GDI and USER.
2002-10-02 19:54:14 +00:00
Patrik Stridvall bd68e06896 - API file update.
- Minor bug fixes.
2002-10-02 01:23:55 +00:00
Patrik Stridvall a40a4f719e - Added a new tool winapi_test for generating tests.
- Added a data structure packing test to winapi_test.
- Reorganized and optimized a few things.
2002-10-01 18:10:54 +00:00
Patrik Stridvall de306f2e67 - Don't add standard headers for the dll separation hacks.
- API files update.
2002-09-24 18:27:47 +00:00
Patrik Stridvall d56fd1a72f - Added support for %struct16 (used by CLSID).
- API files update.
2002-09-24 03:07:38 +00:00
Patrik Stridvall 11f0359977 - Made the new C parser handle the current Wine source.
- Added a compabillity layer between the old and the new C parser.
- Added parsing of data structures.
2002-09-23 20:38:30 +00:00
Patrik Stridvall c6629293a8 Minor bug fixes and improvements. 2002-09-12 22:25:35 +00:00
Patrik Stridvall e298097640 - Made remove trailing whitespace a default off option.
- Add support for C++ to C comment conversion.
2002-09-12 20:42:44 +00:00
Patrik Stridvall 15e6c40a2f API files update. 2002-09-09 19:18:16 +00:00
Patrik Stridvall 175234c893 - Proper handling of GDI32 and USER32.
- Added PACKAGE_* for the config.h generation.
- Proper include path for the resource compiler.
- Minor bug fixes and improvements.
2002-08-30 00:01:55 +00:00